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

Puppet incorrectly checks for CentOS yum groups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 3.7.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      CentOS 7

    • Template:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support