Closed sebfek closed 8 years ago
Same story here (CentOS 7):
Error: Could not set 'present' on ensure: Could not locate the pip command. at 9:/etc/puppet/modules/supervisord/manifests/install.pp
Error: Could not set 'present' on ensure: Could not locate the pip command. at 9:/etc/puppet/modules/supervisord/manifests/install.pp
Wrapped exception:
Could not locate the pip command.
Error: /Stage[main]/Supervisord::Install/Package[supervisor]/ensure: change from absent to present failed: Could not set 'present' on ensure: Could not locate the pip command. at 9:/etc/puppet/modules/supervisord/manifests/install.pp
Notice: /Stage[main]/Supervisord::Config/File[/var/log/supervisor]: Dependency Package[supervisor] has failures: true
Warning: /Stage[main]/Supervisord::Config/File[/var/log/supervisor]: Skipping because of failed dependencies
Notice: /Stage[main]/Supervisord::Config/File[/etc/init.d/supervisord]: Dependency Package[supervisor] has failures: true
...
But I have pip installed:
# which pip
/bin/pip
How to define path correctly (path => ["/bin"]
is not working)?
Anyway, quick workaround:
file { '/usr/bin/pip-python':
ensure => link,
target => '/usr/bin/pip',
}
Is this a RHEL7/CentOS 7 thing to install pip
to /bin/pip
?
There was a work around for RedHat based OS's see https://github.com/ajcrowe/puppet-supervisord/blob/master/manifests/pip.pp#L25
Maybe this isn't working?
I will add centos 7 to the beaker nodes and give it a test when I can
Can you check this is still a problem @sebfek @mrh666 I didn't see a problem with my acceptance tests
Closing as fixed
I set install_pip to true but the pip command is missing.
Using a clean debian 7.8 image.