puppet-python icon indicating copy to clipboard operation
puppet-python copied to clipboard

Pip ensure absent command ! not found

Open negast opened this issue 5 years ago • 0 comments
trafficstars

Hello

When setting a pip absent I get following:

Could not evaluate: Could not find command '!'

This prob happens because bash is not used as a shell. I resolved this by changing the unless command to.

https://github.com/voxpupuli/puppet-python/blob/master/manifests/pip.pp line 223 $unless_command = "echo '! ${pip_env} list | grep -i -e \'${grep_regex}\'' | bash"

negast avatar Nov 29 '19 09:11 negast