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

Selmodule thinks foo exists if myfoo is loaded

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 4.10.0, PUP 5.5.2
    • PUP 5.5.3, PUP 6.0.0
    • Types and Providers
    • None
    • EL7, EL6

    • 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.
    • Coremunity
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • 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.
    • 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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support