So far I managed python with the puppet's package manager until I have come across this module. It seems to do exactly what I need but I have failed to implement it correctly.
I keep on getting this error:
Error: Failed to apply catalog: Cannot alias Package[pip] to ["python-pip"] at /etc/puppet/modules/python/manifests/install.pp:61; resource ["Package", "python-pip"] already declared
I have gone through all my profiles and have initiated python and pip as per below.
ensure_resource('class', 'python', {
version => 'system',
pip => 'present',
})
ensure_resource('python::pip', 'blah', {
pkgname => 'blah'
ensure => installed,
require => Class['python']
})
But yet I still get the duplicate resource error.
I want to confirm if anyone else has had this issue before I start chasing windmills in my puppet code 😏
Your advise will be appreciated.
So far I managed python with the puppet's package manager until I have come across this module. It seems to do exactly what I need but I have failed to implement it correctly.
I keep on getting this error:
I have gone through all my profiles and have initiated python and pip as per below.
But yet I still get the duplicate resource error.
I want to confirm if anyone else has had this issue before I start chasing windmills in my puppet code 😏
Your advise will be appreciated.