Skip to content

Exec[bootstrap pip] Executes Every Puppet Run #306

@johnzimm

Description

@johnzimm

I have the following code snippet..

  class { 'python':
    version    => 'system',
    pip        => 'latest',
    provider   => 'pip',
    dev        => 'present',
    virtualenv => 'present',
    gunicorn   => 'absent',
  }

And I get the following on every puppet run...

Notice: /Stage[main]/Python::Install/Exec[bootstrap pip]/returns: executed successfully
Notice: /Stage[main]/Python::Install/Package[pip]/ensure: created

Because the get-pip.py script puts the executable for pip in /bin/pip rather than /usr/local/bin/pip as specified in the install.pp manifest...

https://github.com/stankevich/puppet-python/blob/master/manifests/install.pp#L74

Applying to CentOS 7. Not sure if this is the same for other distros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions