diff --git a/modules/pip/manifests/init.pp b/modules/pip/manifests/init.pp index 45a2170548..7e66cda94f 100644 --- a/modules/pip/manifests/init.pp +++ b/modules/pip/manifests/init.pp @@ -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': diff --git a/modules/pip/manifests/python3.pp b/modules/pip/manifests/python3.pp index 38a24122b7..5ab9b9e6d0 100644 --- a/modules/pip/manifests/python3.pp +++ b/modules/pip/manifests/python3.pp @@ -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], + } + }