Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Done
-
None
-
None
-
3
-
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.