diff options
author | Jarl Stefansson <jarl.stefansson@gmail.com> | 2014-01-01 12:44:24 -0500 |
---|---|---|
committer | Jarl Stefansson <jarl.stefansson@gmail.com> | 2014-01-01 12:44:24 -0500 |
commit | 0b4438b64eb2f24f9aff75116cbefb3fc85b5241 (patch) | |
tree | bc1180bc9caf8a96861ac6480687df63a28b8541 | |
parent | 607b527a11657ddd24545ebc33f0c0984d4c0093 (diff) |
Fix path for unless statement.
https://github.com/stankevich/puppet-python/issues/46
-rw-r--r-- | manifests/virtualenv.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp index bc7141c..f74cc4f 100644 --- a/manifests/virtualenv.pp +++ b/manifests/virtualenv.pp @@ -125,7 +125,7 @@ define python::virtualenv ( path => $path, cwd => "/tmp", environment => $environment, - unless => "grep '^[ \t]*VIRTUAL_ENV=[\'\"]*/tmp[\"\']*[ \t]*$' /tmp/bin/activate", #Unless activate exists and VIRTUAL_ENV is correct we re-create the virtualenv + unless => "grep '^[ \t]*VIRTUAL_ENV=[\'\"]*/tmp[\"\']*[ \t]*$' ${venv_dir}/bin/activate", #Unless activate exists and VIRTUAL_ENV is correct we re-create the virtualenv } if $requirements { |