summaryrefslogtreecommitdiff
path: root/manifests/pip.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/pip.pp')
-rw-r--r--manifests/pip.pp8
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}",