summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarl Stefansson <jarl@sdelements.com>2013-12-17 16:05:05 -0500
committerJarl Stefansson <jarl@sdelements.com>2013-12-17 16:05:05 -0500
commit607b527a11657ddd24545ebc33f0c0984d4c0093 (patch)
treea006079539a58c4210be904cf92013e55164fcc8
parent37363c422b7525006abafd824493324868a5cd1a (diff)
Pip needs log argument not log-file.
-rw-r--r--manifests/requirements.pp2
-rw-r--r--manifests/virtualenv.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/requirements.pp b/manifests/requirements.pp
index 60c5b6c..ee44fa4 100644
--- a/manifests/requirements.pp
+++ b/manifests/requirements.pp
@@ -90,7 +90,7 @@ define python::requirements (
exec { "python_requirements${name}":
provider => shell,
- command => "${pip_env} --log-file ${cwd}/pip.log install ${proxy_flag} ${src_flag} -r ${requirements}",
+ command => "${pip_env} --log ${cwd}/pip.log install ${proxy_flag} ${src_flag} -r ${requirements}",
refreshonly => true,
timeout => 1800,
user => $owner,
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp
index d8e3915..bc7141c 100644
--- a/manifests/virtualenv.pp
+++ b/manifests/virtualenv.pp
@@ -120,7 +120,7 @@ define python::virtualenv (
}
exec { "python_virtualenv_${venv_dir}":
- command => "mkdir -p ${venv_dir} ${proxy_command} && virtualenv ${system_pkgs_flag} -p ${python} ${venv_dir} && ${venv_dir}/bin/pip --log-file ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} --upgrade pip ${distribute_pkg}",
+ command => "mkdir -p ${venv_dir} ${proxy_command} && virtualenv ${system_pkgs_flag} -p ${python} ${venv_dir} && ${venv_dir}/bin/pip --log ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} --upgrade pip ${distribute_pkg}",
user => $owner,
path => $path,
cwd => "/tmp",
@@ -130,7 +130,7 @@ define python::virtualenv (
if $requirements {
exec { "python_requirements_initial_install_${requirements}_${venv_dir}":
- command => "${venv_dir}/bin/pip --log-file ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} -r ${requirements}",
+ command => "${venv_dir}/bin/pip --log ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} -r ${requirements}",
refreshonly => true,
timeout => $timeout,
user => $owner,