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

Puppet incorrectly checks for CentOS yum groups

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • PUP 3.7.1
    • None
    • None
    • CentOS 7

    Description

      The Puppet agent doesn't correctly determine when a yum group has been installed because the grep is case sensitive:

      Debug: Exec[Group Install Development Tools](provider=posix): Executing check 'yum grouplist 'Development Tools' | grep '^Installed Groups''
      Debug: Executing 'yum grouplist 'Development Tools' | grep '^Installed Groups''
      Notice: /Stage[main]/Development::Install/Yum::Groupinstall[Development Tools]/Exec[Group Install Development Tools]/returns: current_value notrun, should be 0 (noop)

      1. yum grouplist 'Development Tools'
        Loaded plugins: fastestmirror, priorities
        Loading mirror speeds from cached hostfile
        49 packages excluded due to repository priority protections
        Installed groups:
        Development Tools
        Done

      Notice that the agent is grepping on '^Installed Groups' but the output uses a lower case 'g' for groups.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              leggett Ti Leggett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support