From 5d3b340ac6ebbee8cca959c2653f141e3030f646 Mon Sep 17 00:00:00 2001 From: schacki Date: Mon, 20 May 2013 14:23:14 +0200 Subject: Removed multiline backslashes from the execution statement, since this can cause issues with vagrant, linux guest, windows host and shared folders --- manifests/virtualenv.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'manifests') 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' ], -- cgit v1.2.3