File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 159159 $pip_cmd = " ${python::exec_prefix}${venv_dir} /bin/pip"
160160
161161 exec { "python_virtualenv_${venv_dir}" :
162- command => " true ${proxy_command} && ${virtualenv_cmd} ${system_pkgs_flag} -p ${python} ${venv_dir} && ${pip_cmd} wheel --help > /dev/null 2>&1 && { ${pip_cmd} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel '; } ; { ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} \$ wheel_support_flag --upgrade pip ${distribute_pkg} || ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} --upgrade pip ${distribute_pkg} ;}" ,
162+ command => " true ${proxy_command} && ${virtualenv_cmd} ${system_pkgs_flag} -p ${python} ${venv_dir} && ${pip_cmd} wheel --help > /dev/null 2>&1 && { ${pip_cmd} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-binary :all: '; } ; { ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} \$ wheel_support_flag --upgrade pip ${distribute_pkg} || ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} --upgrade pip ${distribute_pkg} ;}" ,
163163 user => $owner ,
164164 creates => " ${venv_dir} /bin/activate" ,
165165 path => $path ,
171171
172172 if $requirements {
173173 exec { "python_requirements_initial_install_${requirements}_${venv_dir}" :
174- command => " ${pip_cmd} wheel --help > /dev/null 2>&1 && { ${pip_cmd} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel '; } ; ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} \$ wheel_support_flag -r ${requirements} ${extra_pip_args} " ,
174+ command => " ${pip_cmd} wheel --help > /dev/null 2>&1 && { ${pip_cmd} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-binary :all: '; } ; ${pip_cmd} --log ${venv_dir} /pip.log install ${pypi_index} ${proxy_flag} \$ wheel_support_flag -r ${requirements} ${extra_pip_args} " ,
175175 refreshonly => true ,
176176 timeout => $timeout ,
177177 user => $owner ,
You can’t perform that action at this time.
0 commit comments