From 7182643bfea6dfa379dbd779b95bfad9aac3f783 Mon Sep 17 00:00:00 2001 From: woldan Date: Mon, 15 Apr 2013 23:17:45 +0200 Subject: Added `path` to ensure `mkdir` and `virtualenv` are found. --- manifests/virtualenv.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'manifests') diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp index ace2a00..b9ab88e 100644 --- a/manifests/virtualenv.pp +++ b/manifests/virtualenv.pp @@ -82,6 +82,7 @@ define python::virtualenv ( && virtualenv -p `which ${python}` ${system_pkgs_flag} ${venv_dir} \ && ${venv_dir}/bin/pip install ${proxy_flag} --upgrade ${distribute_pkg} pip", creates => $venv_dir, + path => [ '/bin', '/usr/bin', '/usr/sbin' ], } if $requirements { -- cgit v1.2.3