Issue #15980 has been updated by Kamil Wilas.

Status changed from Closed to Re-opened

Centos/RHEL/Fedora all use pip-python instead of pip -> It depend how you 
install pip. If you use yum install python-pip and install pip from epel then 
it is true. But if you install pip by easy_install easy_install pip then 
command is pip. Actual pip version from epel is 0.8, but using easy_install you 
are able use pip in version 1.2.1.

Personally I prefer easy_install version. Right now I have to use pip-python on 
RHEL/SL boxes because for RedHat osfamily puppet pip provider require 
pip-python command (I know I can make symlink pip to pip-python but it is dirty 
solution).

Please, could you update  lib/puppet/provider/package/pip.rb - line 112 to: if 
pathname = which('pip') or which('pip-python') then self.class.cmd is not 
needed more and if someone install pip by easy_install on RHEL then that 
solution is promoted.

----------------------------------------
Bug #15980: pip provider nonfunctional on redhat-based systems
https://projects.puppetlabs.com/issues/15980#change-83374

Author: Eric Shamow
Status: Re-opened
Priority: Normal
Assignee: 
Category: provider
Target version: 3.1.0
Affected Puppet version: 2.6.17
Keywords: pip
Branch: https://github.com/puppetlabs/puppet/pull/1348


RHEL installs this binary as pip-python, and the pip provider looks explicitly 
for a 'pip' binary.

Current workaround is a symlink file resource to create the binary, but this 
should work out of the box.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to