summaryrefslogtreecommitdiff
path: root/manifests/pip.pp
diff options
context:
space:
mode:
authorJarl Stefansson <jarl@sdelements.com>2013-11-07 16:36:28 -0500
committerJarl Stefansson <jarl@sdelements.com>2013-11-07 16:36:28 -0500
commitbe335fa2048a60921b0896c770d87a60b53c4aea (patch)
treef023d2351aa1cdb0c944e409d4de7eca807e29c8 /manifests/pip.pp
parent56df14fb57b8583146b72560afa0a83e0ca63ef0 (diff)
Add path to pip when executed out of virtualenv
Diffstat (limited to 'manifests/pip.pp')
-rw-r--r--manifests/pip.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/pip.pp b/manifests/pip.pp
index ddbcd6f..a6faea8 100644
--- a/manifests/pip.pp
+++ b/manifests/pip.pp
@@ -84,6 +84,7 @@ define python::pip (
unless => "$pip_env freeze | grep -i -e ${grep_regex}",
user => $owner,
environment => $environment,
+ path => [ '/usr/bin', '/usr/local/bin/' ],
}
}