We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f508b71 commit 12d5427Copy full SHA for 12d5427
1 file changed
manifests/virtualenv.pp
@@ -99,7 +99,7 @@
99
}
100
101
exec { "python_virtualenv_${venv_dir}":
102
- 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}",
+ 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}",
103
user => $owner,
104
creates => "${venv_dir}/bin/activate",
105
path => [ '/bin', '/usr/bin', '/usr/sbin' ],
0 commit comments