5

How To Tell Puppet To Only Install Using Pip If A File Doesn't Exist

view full story
linux-howto

http://serverfault.com – I am using Puppet to install some Python packages using pip. I'm using Puppet 2.7, so my package declarations look something like this: package { "carbon": require => Class["graphite::prereqs::install"], ensure => latest, provider => pip, } The problem is that this package and the graphite-web package both seem to have a bug that makes it possible to install the same version multiple times using pip. So if I type in sudo pip install carbon multiple times, pip will install it every time. I believ this is a bug with the packages. This bug seems to confuse Puppet too, b (HowTos)