summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorJarl Stefansson <jarl@sdelements.com>2014-01-03 10:53:24 -0500
committerJarl Stefansson <jarl@sdelements.com>2014-01-03 10:53:24 -0500
commit895eebf2a03a29959d0c4dbd613cfa345ac22b55 (patch)
treea6a431e322bb08f32b112b3529c0ebd35631f975 /manifests
parent7ae9495652889b69543c57869d181e4b479070b4 (diff)
Cleanup for merge request
Diffstat (limited to 'manifests')
-rw-r--r--manifests/pip.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/pip.pp b/manifests/pip.pp
index e9ab7cd..f71cdcd 100644
--- a/manifests/pip.pp
+++ b/manifests/pip.pp
@@ -70,7 +70,6 @@ define python::pip (
default => "--proxy=${proxy}",
}
-
$grep_regex = $name ? {
/==/ => "^${name}\$",
default => "^${name}==",
@@ -123,7 +122,7 @@ define python::pip (
default: {
exec { "pip_uninstall_${name}":
- command => "echo y | $pip_env uninstall $uninstall_args ${wheel_support_flag} ${proxy_flag} ${name}",
+ command => "echo y | $pip_env uninstall $uninstall_args ${proxy_flag} ${name}",
onlyif => "$pip_env freeze | grep -i -e ${grep_regex}",
user => $owner,
environment => $environment,