My environment: Ubuntu LTS 12.04, carbon (
https://github.com/graphite-project/carbon) 0.9.9 installed using "pip".
I just learned why when I run "pip freeze" on a system I don't see the "carbon" package even when it installed successfully - I should run it with "PYTHONPATH=/opt/graphite/lib/ pip freeze".
This causes Puppet to re-install the package on every run (and reload dependant servers), even though it's already installed and there is nothing that really needs to be done.
I guess this is the package's fault, but it made me hit once more a limitation in Puppet i.e. that I don't have a way to pass options or environment variables to "pip".
Alternatively - can anyone point me to how they solved the carbon package (or a similar) issue? i.e. that it doesn't get re-installed on every Puppet run?
Thanks,
--Amos