diff options
author | schacki <j.schackmann@reliatec.de> | 2013-05-20 14:23:14 +0200 |
---|---|---|
committer | schacki <j.schackmann@reliatec.de> | 2013-05-20 14:23:14 +0200 |
commit | 5d3b340ac6ebbee8cca959c2653f141e3030f646 (patch) | |
tree | 30357915c7ee6f0df8ba233bd2802b26e8634434 | |
parent | 960acbe73e229076d15ecc8795fce9bd37880c19 (diff) |
Removed multiline backslashes from the execution statement, since this can cause issues with vagrant, linux guest, windows host and shared folders
-rw-r--r-- | manifests/virtualenv.pp | 5 |
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' ], |