diff --git a/manifests/pip.pp b/manifests/pip.pp index 6dd01017..1ea2a76a 100644 --- a/manifests/pip.pp +++ b/manifests/pip.pp @@ -260,7 +260,7 @@ default: { # Anti-action, uninstall. exec { "pip_uninstall_${name}": - command => "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag}", + command => "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag} ${name}", onlyif => "${pip_env} freeze | grep -i -e ${grep_regex}", user => $owner, group => $group,