Trying to downgrade a python module fails- it still installs whatever is in the /tmp/pip-build-root/${name}
[root@example ~]# pip list | grep bottle
bottle (0.12.7)
python::pip {'bottle':
pkgname => 'bottle',
ensure => '0.11.3',
}
/tmp/pip.log (snippet)
Downloading/unpacking bottle==0.11.3
...
Requested bottle==0.11.3, but installing version 0.12.7
...
[root@example ~]# pip list | grep bottle
bottle (0.12.7)
Edited modules/python/manifests/pip.ini file
Prepend
command => "/bin/rm -rf /tmp/pip-build-root/${name} || ....
Re-ran puppet
[root@example ~]# pip list | grep bottle
bottle (0.11.3)
Not sure if this is the best way to solve the problem, but it works.
Trying to downgrade a python module fails- it still installs whatever is in the /tmp/pip-build-root/${name}
[root@example ~]# pip list | grep bottle
bottle (0.12.7)
python::pip {'bottle':
pkgname => 'bottle',
ensure => '0.11.3',
}
/tmp/pip.log (snippet)
Downloading/unpacking bottle==0.11.3
...
Requested bottle==0.11.3, but installing version 0.12.7
...
[root@example ~]# pip list | grep bottle
bottle (0.12.7)
Edited modules/python/manifests/pip.ini file
Prepend
command => "/bin/rm -rf /tmp/pip-build-root/${name} || ....
Re-ran puppet
[root@example ~]# pip list | grep bottle
bottle (0.11.3)
Not sure if this is the best way to solve the problem, but it works.