Issue #17030 has been updated by Bradley Kreider.

Assignee changed from Bradley Kreider to eric sorenson

Thank you for the reply.  

Are you suggesting that I set $PATH right before the package provider is called 
and then set it back afterwards?  I did try running puppet with a different 
python path, but that broke everything. 

I think the main problem is that people using python for analytical 
computations need to use multiple versions of python and packages such as numpy 
1.6 or numpy 1.7.  On my RHEL based systems, I don't want to mess with the 
system python and mess anything up, so I have python versions installed outside 
of the system python.  It seems difficult to use puppet+pip in a situation like 
this.  

Unfortunately, I can't create a patch at the moment.  I had to resort to 
Fabric+puppet for our deploys, so all of the pip packages are getting installed 
by Fabric.  I would like to keep as much configuration in puppet as possible, 
but it will have to wait until I can refactor our deploy process.

----------------------------------------
Bug #17030: pip provider should handle multiple pips/pythons
https://projects.puppetlabs.com/issues/17030#change-77747

Author: Bradley Kreider
Status: Needs More Information
Priority: Normal
Assignee: eric sorenson
Category: provider
Target version: 
Affected Puppet version: 2.6.17
Keywords: 
Branch: 


The Pip provider should provide a way to specify the path to pip.  This would 
allow people to manage multiple python installs, by point to the one they want 
to install into.  

In RHEL, this makes it easy to have a non-system python installed somewhere 
(ie: 2.7 or 3.x) and let puppet manage the python packages.

This is related to bug #15980.  (related in the way that if you could provide 
the path to the pip binary, 15980 would have a workaround).


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to