Jira (PUP-3829) pip package provider is broken on EL (where osfamily is RedHat)

2015-07-23 Thread Stuart James (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stuart James commented on  PUP-3829 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: pip package provider is broken on EL (where osfamily is RedHat)  
 
 
 
 
 
 
 
 
 
 
ran an strace on it 
 
 
 
 
 
 
stat(/usr/local/sbin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/usr/local/bin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/sbin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/bin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/usr/sbin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/usr/bin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/root/bin/pip-python, 0x7ffdfe128af0) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/usr/local/sbin/pip-python, 0x7ffdfe113e80) = -1 ENOENT (No such file or directory) 
 
 
 
 
stat(/usr/local/bin/pip-python, 0x7ffdfe113e80) = -1 ENOENT (No such file or directory) 
 
 

Jira (PUP-3829) pip package provider is broken on EL (where osfamily is RedHat)

2015-07-23 Thread Stuart James (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stuart James commented on  PUP-3829 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: pip package provider is broken on EL (where osfamily is RedHat)  
 
 
 
 
 
 
 
 
 
 
maybe this relates to 

PUP-4604
. As of the most recent update to either python-pip or puppet caused this issue for me. 
I created a symlink but i still receive the Could not locate the pip command  
ls -l /usr/bin/python-pip 
 
 
 
 
 
 
  
 
 
 
 
lrwxrwxrwx. 1 root root 12 Jul 23 06:27 /usr/bin/python-pip - /usr/bin/pip
 
 
 
 
 
 
 
rpm -qf /usr/bin/pip 
 
 
 
 
 
 
python-pip-7.1.0-1.el6.noarch
 
 
 
 
 
 
 
Looking at my yum.log i think the issue exists with the python-pip rpm from EPEL as it worked when i initially built the server on the 9th (with puppet-3.8.1-1.el6.noarch ) 
 
 
 
 
 
 
Jul 09 12:27:14 Installed: python-pip-1.3.1-4.el6.noarch 
 
 
 
 
Jul 22 06:19:03 Updated: python-pip-7.1.0-1.el6.noarch
 
 
 
 
 
 
 
 
 
  

Jira (PUP-4604) Port fix for pip provider on more recent RedHat operating systems.

2015-07-23 Thread Stuart James (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stuart James commented on  PUP-4604 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Port fix for pip provider on more recent RedHat operating systems.  
 
 
 
 
 
 
 
 
 
 
please see https://tickets.puppetlabs.com/browse/PUP-3829?focusedCommentId=198351page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-198351 
The update to python-pip has caused the issue where by on Centos 6 (assuming RHEL6) it is looking for pip-python binary. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3829) pip package provider is broken on EL (where osfamily is RedHat)

2015-07-23 Thread Stuart James (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stuart James commented on  PUP-3829 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: pip package provider is broken on EL (where osfamily is RedHat)  
 
 
 
 
 
 
 
 
 
 
So when OSFamily is detected as Redhat on Centos6/RHEL6 we need puppet to now look at probably the standard location of /usr/bin/pip (as it appears as though python-pip EPEL has removed the symlink it use to provide) or also include this location as one of its search options. 
As a temporary workaround i added this to the manifest  
 
 
 
 
 
 
  file { '/usr/bin/pip-python': 
 
 
 
 
   ensure = 'link', 
 
 
 
 
   target = '/usr/bin/pip', 
 
 
 
 
   require = Package[python-pip] 
 
 
 
 
  }
 
 
 
 
 
 
 
and ensure that its a requirement prior to using pip as a provider in package installation 
 
 
 
 
 
 
  package {supervisor: 
 
 
 
 
   ensure = installed, 
 
 
 
 
   provider = pip, 
 
 
   

Jira (PUP-4604) Port fix for pip provider on more recent RedHat operating systems.

2015-07-22 Thread Stuart James (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Stuart James commented on  PUP-4604 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Port fix for pip provider on more recent RedHat operating systems.  
 
 
 
 
 
 
 
 
 
 
This update in puppet 3.8.1 has broken Centos 6 python-pip epel support 
 
 
 
 
 
 
Error: Could not set 'present' on ensure: Could not locate the pip command. 
 
 
 
 
 
 
 
python-pip-7.1.0-1.el6.src.rpm 
it would be nice to have support for PUP-1082 so that we can define an executable location. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.