I'm trying to test this module in Vagrant with CentOS6.5 provided by this box. It seems I'm unable to install pip via this module as it requires sudo.
err: /Stage[main]/Python::Install/Package[python-pip]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install python-pip' returned 1: Error: Nothing to do
Here is the entry in my node's definition.
class { 'python':
version => 'system',
pip => true,
dev => false,
virtualenv => false,
gunicorn => false,
}
It seems like the installation command just requires sudo prepended and could possibly be a configuration parameter? If I'm missing something obvious please let me know.
EDIT: I'm running puppet agent manually as the vagrant user.
I'm trying to test this module in Vagrant with CentOS6.5 provided by this box. It seems I'm unable to install pip via this module as it requires sudo.
Here is the entry in my node's definition.
It seems like the installation command just requires
sudoprepended and could possibly be a configuration parameter? If I'm missing something obvious please let me know.EDIT: I'm running puppet agent manually as the vagrant user.