diff options
author | Sergey Stankevich <stankevich@users.noreply.github.com> | 2013-11-18 00:31:13 -0800 |
---|---|---|
committer | Sergey Stankevich <stankevich@users.noreply.github.com> | 2013-11-18 00:31:13 -0800 |
commit | 3cee11ffbf880f367b41796fbf6c530105519a99 (patch) | |
tree | 6bfcfa45f0add29b3a00f081b043debf2a5d8617 /manifests | |
parent | 7db751bc9525d82771abdaff17866e1e4ba83014 (diff) | |
parent | 8bf9aac814812d0235ee5aa08e097d6dd03c188d (diff) |
Merge pull request #38 from allegro/master
Add to python::pip ensure => latest
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/pip.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/pip.pp b/manifests/pip.pp index 3ca33a8..7b51439 100644 --- a/manifests/pip.pp +++ b/manifests/pip.pp @@ -95,6 +95,14 @@ define python::pip ( } } + latest: { + exec { "pip_install_${name}": + command => "$pip_env --log ${cwd}/pip.log install -U $install_args ${proxy_flag} ${source}", + user => $owner, + environment => $environment, + } + } + default: { exec { "pip_uninstall_${name}": command => "echo y | $pip_env uninstall $uninstall_args ${proxy_flag} ${name}", |