We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28b049e + d188e1c commit ff157aaCopy full SHA for ff157aa
1 file changed
manifests/pip.pp
@@ -242,7 +242,7 @@
242
# Latest version.
243
exec { "pip_install_${name}":
244
command => "${pip_env} wheel --help > /dev/null 2>&1 && { ${pip_env} wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { ${pip_env} --log ${log}/pip.log install --upgrade \$wheel_support_flag ${pypi_index} ${proxy_flag} ${install_args} ${install_editable} ${source} || ${pip_env} --log ${log}/pip.log install --upgrade ${pypi_index} ${proxy_flag} ${install_args} ${install_editable} ${source} ;}",
245
- unless => "${pip_env} search ${proxy_flag} ${source} | grep -i INSTALLED | grep -i latest",
+ unless => "${pip_env} search ${proxy_flag} ${source} | grep -i INSTALLED.*latest",
246
user => $owner,
247
group => $group,
248
cwd => $cwd,
0 commit comments