Uninstalled package determined by $pkgname within given $virtualenv
Output log
Relevant part of the output
Python::Pip[/opt/virtualenv/oco3/wheel]/Exec[pip_uninstall_/opt/virtualenv/oco3/wheel]/returns: ERROR: Invalid requirement: '/opt/virtualenv/oco3/wheel'
Python::Pip[/opt/virtualenv/oco3/wheel]/Exec[pip_uninstall_/opt/virtualenv/oco3/wheel]/returns: Hint: It looks like a path. File '/opt/virtualenv/oco3/wheel' does not exist.
Error: 'echo y | /opt/virtualenv/oco3/bin/pip uninstall /opt/virtualenv/oco3/wheel' returned 1 instead of one of [0]
Error: Python::Pip[/opt/virtualenv/oco3/wheel]/Exec[pip_uninstall_/opt/virtualenv/oco3/wheel]/returns: change from 'notrun' to ['0'] failed: 'echo y | /opt/virtualenv/oco3/bin/pip uninstall /opt/virtualenv/oco3/wheel' returned 1 instead of one of [0]
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Puppet error on executing pip uninstall
What behaviour did you expect instead
Uninstalled package determined by
$pkgname
within given$virtualenv
Output log
Relevant part of the output
Any additional information you'd like to impart
BUG location https://github.com/voxpupuli/puppet-python/blob/master/manifests/pip.pp#L223
As you can see this piece of code doesn't respect
$pkgname
from define params. Instead it uses$name
to build the command