Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8943

Selmodule thinks foo exists if myfoo is loaded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.10.0, PUP 5.5.2
    • Fix Version/s: PUP 5.5.3, PUP 6.0.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      EL7, EL6

    • Template:
    • Acceptance Criteria:
      Hide

      The selmodule type loads the foo module when the myfoo module is already loaded.

      Show
      The selmodule type loads the foo module when the myfoo module is already loaded.
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The selmodule type is now more strict about checking if a module has already been loaded, and should no longer consider modules such as "bar" and "foobar" to be the same module.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The selmodule provider runs selmodule --list to check if a module is already loaded in theĀ  exists? method.

      The regex only checks modulename\b and does not anchor to the beginning of line.

      If I want to manage foo and a module myfoo isl aready loaded the provider thinks {{foo} is loaded and whereas it actually isn't.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                Raffaello Thomas Mueller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: