summaryrefslogtreecommitdiff
path: root/manifests/requirements.pp
diff options
context:
space:
mode:
authorNick Groenen <zoni@zoni.nl>2013-04-21 12:08:53 +0200
committerNick Groenen <zoni@zoni.nl>2013-04-21 12:15:52 +0200
commit156499f5938078b5ab3ec2170f00cd2500f64df1 (patch)
tree73a3d132eca50acf5689d22a80e856519e419072 /manifests/requirements.pp
parent2712963d1b42b91030a2ccc81c3dcbc3df92ab82 (diff)
Fix regression with $cwd in python::requirements
Commit 8b22e3ecd90dd3ac741ff107d6f3fc8c511443ba introduces a regression which in some cases specifies the full path to pip as it's current working directory, rather than the actual directory pip is in. Obviously this will fail. This commit fixes this.
Diffstat (limited to 'manifests/requirements.pp')
-rw-r--r--manifests/requirements.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/requirements.pp b/manifests/requirements.pp
index 2fabb96..0559632 100644
--- a/manifests/requirements.pp
+++ b/manifests/requirements.pp
@@ -33,7 +33,7 @@ define python::requirements (
$cwd = $virtualenv ? {
'system' => '/',
- default => "${virtualenv}/bin/pip",
+ default => "${virtualenv}/bin/",
}
$pip_env = $virtualenv ? {