diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/pip.pp | 8 | ||||
-rw-r--r-- | manifests/requirements.pp | 1 | ||||
-rw-r--r-- | manifests/virtualenv.pp | 2 |
3 files changed, 2 insertions, 9 deletions
diff --git a/manifests/pip.pp b/manifests/pip.pp index 367cdb3..4f91e59 100644 --- a/manifests/pip.pp +++ b/manifests/pip.pp @@ -120,14 +120,6 @@ define python::pip ( } } - latest: { - exec { "pip_install_${name}": - command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; ${pip_env} --log ${cwd}/pip.log install -U ${install_args} \$wheel_support_flag ${proxy_flag} ${source}", - user => $owner, - environment => $environment, - } - } - default: { exec { "pip_uninstall_${name}": command => "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag} ${name}", diff --git a/manifests/requirements.pp b/manifests/requirements.pp index 5fa6eb9..11c5f00 100644 --- a/manifests/requirements.pp +++ b/manifests/requirements.pp @@ -102,6 +102,7 @@ define python::requirements ( user => $owner, subscribe => File[$requirements], environment => $environment, + path => ['/usr/local/bin','/usr/bin','/bin', '/usr/sbin'], } } diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp index 8c240ed..b9cd689 100644 --- a/manifests/virtualenv.pp +++ b/manifests/virtualenv.pp @@ -112,7 +112,7 @@ define python::virtualenv ( $distribute_pkg = $distribute ? { true => 'distribute', - default => '', + default => 'setuptools', } $pypi_index = $index ? { false => '', |