Comments (6)
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)?
from puppet-supervisord.
Anyway, quick workaround:
file { '/usr/bin/pip-python':
ensure => link,
target => '/usr/bin/pip',
}
from puppet-supervisord.
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?
from puppet-supervisord.
I will add centos 7 to the beaker nodes and give it a test when I can
from puppet-supervisord.
Can you check this is still a problem @sebfek @mrh666 I didn't see a problem with my acceptance tests
from puppet-supervisord.
Closing as fixed
from puppet-supervisord.
Related Issues (20)
- Puppet 4: Error: Failed to apply catalog: undefined method `[]' for nil:NilClass HOT 6
- Program ignores refreshing HOT 1
- Possible bug with systemctl manifest if program name contains 'RUNNING'
- Puppet always execute start for program with numprocs != 1 HOT 3
- Stopasgroup=true should set killasgroup=true as well
- Define custom path for include files
- Concat fails - Could not retrieve information from environment production source HOT 4
- Could not find init script for 'supervisord'
- How to provide serverurl using supervisord::supervisorctl
- puppetlabs/concat v4.0.1 HOT 2
- Replace validate_* with validate_legacy
- Release
- Use of HTTP without TLS HOT 1
- Module uses deprecated hiera_hash instead of lookup HOT 1
- service_manage = false breaks refresh on config or resource changes
- Supervisord version should be restricted on CentOS 6. HOT 1
- Transfer to VoxPupuli? HOT 12
- AMI2, Wrong execute path HOT 1
- The container Class[Supervisord::Install] will propagate my refresh event
- Puppet 8x compatibility HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-supervisord.