diff options
author | Fotis Gimian <fgimiansoftware@gmail.com> | 2013-06-03 20:48:10 +1000 |
---|---|---|
committer | Fotis Gimian <fgimiansoftware@gmail.com> | 2013-06-03 20:48:10 +1000 |
commit | f6fd9f46fe9c058d1f0877043d42829efe0c45cb (patch) | |
tree | 2b9b07e9708b2f8e24211bf176c4a50a0b138833 /manifests | |
parent | 5617ad20f4515254d9ac7b9cdef63de59ebece08 (diff) |
Now that all exec statements run under a particular owner, there is no need for the CPU intensive recursive virtualenv permission check
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/virtualenv.pp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp index 9547e27..5946e15 100644 --- a/manifests/virtualenv.pp +++ b/manifests/virtualenv.pp @@ -84,7 +84,6 @@ define python::virtualenv ( default => "-i ${index}", } - 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", user => $owner, @@ -92,14 +91,6 @@ define python::virtualenv ( path => [ '/bin', '/usr/bin', '/usr/sbin' ], } - file{$venv_dir: - ensure => directory, - owner => $owner, - group => $group, - recurse => true, - require => Exec["python_virtualenv_${venv_dir}"], - } - if $requirements { exec { "python_requirements_initial_install_${requirements}_${venv_dir}": command => "${venv_dir}/bin/pip install ${pypi_index} ${proxy_flag} --requirement ${requirements}", |