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

Installing/upgrading multiple architectures of a package.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Night's Watch
    • Sprint:
      ready for triage
    • Zendesk Ticket IDs:
      38615
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      Ran into an issue with a node that has multiple architectures of a package installed (libcurl.i686 and libcurl.x86_64.)

      When trying to use puppet to handle the upgrade of the package, it failed because the package resource handled the updates one at a time. This appears to be a limitation of yum as the packages must be the exact same revision.

      This can be circumvented by having both package names in the same yum command:

      yum install libcurl.x86_64 libcurl.i686
      

      I was able to circumvent this with the following class definition:

      class update_libcurl {
          exec { 'yum_update_libcurl':
            command   => 'yum install libcurl.x86_64 libcurl.i686 -y',
            path  => '/usr/bin/',
          }
      }
      

      * Please see Zendesk Support tab for further comments and attachments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              corey.benefrayim Corey Benefrayim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support