summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorschacki <j.schackmann@reliatec.de>2013-05-20 14:23:14 +0200
committerschacki <j.schackmann@reliatec.de>2013-05-20 14:23:14 +0200
commit5d3b340ac6ebbee8cca959c2653f141e3030f646 (patch)
tree30357915c7ee6f0df8ba233bd2802b26e8634434 /manifests
parent960acbe73e229076d15ecc8795fce9bd37880c19 (diff)
Removed multiline backslashes from the execution statement, since this can cause issues with vagrant, linux guest, windows host and shared folders
Diffstat (limited to 'manifests')
-rw-r--r--manifests/virtualenv.pp5
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp
index 9f9e96c..fc0f45b 100644
--- a/manifests/virtualenv.pp
+++ b/manifests/virtualenv.pp
@@ -86,10 +86,7 @@ define python::virtualenv (
exec { "python_virtualenv_${venv_dir}":
- command => "mkdir -p ${venv_dir} \
- ${proxy_command} \
- && virtualenv -p `which ${python}` ${system_pkgs_flag} ${venv_dir} \
- && ${venv_dir}/bin/pip install ${pypi_index} ${proxy_flag} --upgrade ${distribute_pkg} pip",
+ command => "mkdir -p ${venv_dir} ${proxy_command} && virtualenv -p `which ${python}` ${system_pkgs_flag} ${venv_dir} && ${venv_dir}/bin/pip install ${pypi_index} ${proxy_flag} --upgrade ${distribute_pkg} pip",
user => $owner,
creates => $venv_dir,
path => [ '/bin', '/usr/bin', '/usr/sbin' ],