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.
I have the following code snippet..
And I get the following on every puppet run...
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.