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

pip package provider is broken on EL (where osfamily is RedHat)

    Details

    • Template:
    • Story Points:
      3
    • Sprint:
      RE 2015-01-21, RE 2015-01-28, RE 2015-02-11, RE 2015-02-25

      Description

      https://groups.google.com/forum/#!topic/puppet-users/2wOLKZ2SokQ

      To duplicate, on an EL system (I used EL7) install `python-pip` then run `puppet apply -d pip.pp` with the code below in pip.pp

      package { 's3cmd':
        ensure   => present,
        provider => pip,
      

      Error

      Error: Could not set 'present' on ensure: Could not locate the pip command.
      

      Fix:
      The code is looking for `python-pip` as the binary when osfamily is 'RedHat' which is incorrect. Confirmed by symlinking /usr/bin/python-pip -> /usr/bin/pip and then it worked.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  ghoneycutt garrett honeycutt
                  QA Contact:
                  Eric Thompson
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  21 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: