Master and agent are running on Centos v7.0
When the manifest includes the following block, it fails with the error
below:
code block:
package {'s3cmd':
ensure => present,
provider => 'pip',
require => Package['python-pip']
}
(for reference, the python-pip package installs just fine). The error:
$ sudo puppet agent -t
Notice: Ignoring --listen on onetime run
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for toy9x123.analytics-qa.weather.com
Info: Applying configuration version '1420853760'
*Error: Could not set 'present' on ensure: Could not locate the pip
command. at 35:/etc/puppet/modules/etc/manifests/packages.ppError: Could
not set 'present' on ensure: Could not locate the pip command. at
35:/etc/puppet/modules/etc/manifests/packages.pp*
Wrapped exception:
Could not locate the pip command.
Error: /Stage[main]/Etc::Packages/Package[s3cmd]/ensure: change from absent
to present failed: Could not set 'present' on ensure: Could not locate the
pip command. at 35:/etc/puppet/modules/etc/manifests/packages.pp
so, this is odd. I've done some googling that indicates that a $PATH issue
might be in play, but when I do things like 'sudo which pip' I get
'/bin/pip' (centos symlinks /bin to /usr/bin). I've validated that pip can
install s3cmd without issue. The manifest still fails even if s3cmd is
installed, so it's completely a problem with how puppet is trying to call
pip.
Any insights?
Thank you;
Jason
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAChvjRCbwzBxEDu1yQLbYqMn7z1OaZk6D%3DDsVQznpurxUhj%2BFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.