Git Product home page Git Product logo

Comments (6)

mrh666 avatar mrh666 commented on September 18, 2024

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.

mrh666 avatar mrh666 commented on September 18, 2024

Anyway, quick workaround:

file { '/usr/bin/pip-python':
    ensure  => link,
    target  => '/usr/bin/pip',
  }

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on September 18, 2024

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.

ajcrowe avatar ajcrowe commented on September 18, 2024

I will add centos 7 to the beaker nodes and give it a test when I can

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on September 18, 2024

Can you check this is still a problem @sebfek @mrh666 I didn't see a problem with my acceptance tests

from puppet-supervisord.

ajcrowe avatar ajcrowe commented on September 18, 2024

Closing as fixed

from puppet-supervisord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.