Jira (PUP-3480) Puppet does not have Python 3 package provider (pip3)

2015-02-10 Thread Karmo Rosental (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Karmo Rosental updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3480 
 
 
 
  Puppet does not have Python 3 package provider (pip3)  
 
 
 
 
 
 
 
 
 

Change By:
 
 Karmo Rosental 
 
 
 
 
 
 
 
 
 
 There is no way to install python 3 package in puppet without long exec blocks or some other hacks. Python 2 package provider is present in Puppet and works well.Python 2 package provider in Puppet master: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pip.rbOpenstack-Infra have made Python 3 provider that bases on Python 2 provider: https://github.com/openstack-infra/ config puppet-pip /blob/master/ modules/pip/ lib/puppet/provider/package/pip3.rbI tested Python 3 package provider from openstack-infra with following manifest and it worked:package { ['django==1.7']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],}package { ['uwsgi==2.0']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3480) Puppet does not have Python 3 package provider (pip3)

2014-10-16 Thread Karmo Rosental (JIRA)
Title: Message Title










 

 Karmo Rosental updated an issue











 






 Puppet /  PUP-3480



  Puppet does not have Python 3 package provider (pip3) 










Change By:

 Karmo Rosental









 There is no way to install python 3 package in puppet without long exec blocks or some other hacks. Python 2 package provider is present in Puppet and works well.Python 2 package provider in Puppet master: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pip.rb Somebody Openstack-Infra  have made Python 3 provider that bases on Python 2 provider: https://github.com/openstack-infra/config/blob/master/modules/pip/lib/puppet/provider/package/pip3.rbI tested Python 3 package provider from openstack-infra with following manifest and it worked:package { ['django==1.7']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],}package { ['uwsgi==2.0']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],}












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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-3480) Puppet does not have Python 3 package provider (pip3)

2014-10-16 Thread Karmo Rosental (JIRA)
Title: Message Title










 

 Karmo Rosental updated an issue











 






 Puppet /  PUP-3480



  Puppet does not have Python 3 package provider (pip3) 










Change By:

 Karmo Rosental









 There is no way to install python 3 package in puppet without long exec blocks or some other hacks. Python 2 package provider is present in Puppet and works well. Python 2 package provider in Puppet master: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pip.rbSomebody have made Python 3 provider that bases on Python 2 provider: https://github.com/openstack-infra/config/blob/master/modules/pip/lib/puppet/provider/package/pip3.rbI tested Python 3 package provider from openstack-infra with following manifest and it worked:package { ['django==1.7']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],}package { ['uwsgi==2.0']:  ensure => present,  provider => pip3,  require => Package['python3-pip'],}












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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-3480) Puppet does not have Python 3 package provider (pip3)

2014-10-16 Thread Karmo Rosental (JIRA)
Title: Message Title










 

 Karmo Rosental created an issue











 






 Puppet /  PUP-3480



  Puppet does not have Python 3 package provider (pip3) 










Issue Type:

  Improvement




Affects Versions:


 PUP 3.7.1, PUP 3.7.0, PUP 3.6.2, PUP 3.6.1, PUP 3.6.0, PUP 3.5.1, PUP 3.5.0, PUP 3.4.3, PUP 3.4.2, PUP 3.4.1, PUP 3.4.0




Assignee:

 Andy Parker




Components:


 Modules




Created:


 16/Oct/14 2:41 PM




Environment:


All environments with python 3 installed




Labels:


 python




Priority:

  Normal




Reporter:

 Karmo Rosental










There is no way to install python 3 package in puppet without long exec blocks or some other hacks. Python 2 package provider is present in Puppet and works well.