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

yum check-update does not support --config (install_options)

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: PUP 4.10.10
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Team:
      Platform OS
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 4.10.10
      Puppet Server Version: 1.8.0
      OS Name/Version: Redhat 7

      install_options is ignored by yum check-update, when a custom yum.conf file is defined. This means "ensure latest" fails, because puppet does not see the latest packages from a custom repository.

      Reproduced with the following package definition.

       install_options => ['--config=/etc/custom/yum.conf'],

       

      Desired Behavior:

      Desired behavior should be:

      Debug: Executing: '/bin/yum --config=/etc/custom/yum.conf check-update' 

      Actual Behavior:

      Install option is ignored, thus puppet fails to "see" newer packages that are defined with the custom --config file.

      Debug: Executing: '/bin/yum check-update'  

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                raypet Raymond Pettersen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: