We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f508b71 commit e952095Copy full SHA for e952095
1 file changed
manifests/virtualenv.pp
@@ -62,7 +62,8 @@
62
$owner = 'root',
63
$group = 'root',
64
$proxy = false,
65
- $environment = []
+ $environment = [],
66
+ $path = [ '/bin', '/usr/bin', '/usr/sbin' ]
67
) {
68
69
$venv_dir = $name
@@ -102,7 +103,7 @@
102
103
command => "mkdir -p ${venv_dir} ${proxy_command} && virtualenv ${system_pkgs_flag} ${venv_dir} && ${venv_dir}/bin/pip --log-file ${venv_dir}/pip.log install ${pypi_index} ${proxy_flag} --upgrade pip ${distribute_pkg}",
104
user => $owner,
105
creates => "${venv_dir}/bin/activate",
- path => [ '/bin', '/usr/bin', '/usr/sbin' ],
106
+ path => $path,
107
cwd => "/tmp",
108
environment => $environment,
109
}
0 commit comments