Ensure latest setuptools after installing pip.
New versions of setuptools and old versions explode when mixed together in dangerous ratios. Ensure the ratio is just right in the pip module so that it ends up everywhere that needs it. Change-Id: I22fe26c6cb40ee24ca242226e5b52dc127b4c564
This commit is contained in:
parent
47eeb86fef
commit
d1b79539c4
@ -12,6 +12,12 @@ class pip {
|
||||
require => Package[$::pip::params::python_devel_package]
|
||||
}
|
||||
|
||||
package { 'setuptools':
|
||||
ensure => latest,
|
||||
provider => pip,
|
||||
require => Package[$::pip::params::python_pip_package],
|
||||
}
|
||||
|
||||
if ($::operatingsystem in ['CentOS', 'RedHat']) {
|
||||
|
||||
file { '/usr/bin/pip':
|
||||
|
@ -12,4 +12,10 @@ class pip::python3 {
|
||||
require => Package[$::pip::params::python3_devel_package]
|
||||
}
|
||||
|
||||
package { 'setuptools':
|
||||
ensure => latest,
|
||||
provider => pip3,
|
||||
require => Package[$::pip::params::python3_pip_package],
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user