Jira (PUP-1071) Install Options for PIP package provider (incl. patch)

2015-07-16 Thread Liam Monahan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Liam Monahan updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-1071 
 
 
 
  Install Options for PIP package provider (incl. patch)  
 
 
 
 
 
 
 
 
 

Change By:
 
 Liam Monahan 
 
 
 
 
 
 
 
 
 
 Hey,DuetosomespecialrequirementsinmyenvironmentineedsupportforcustominstalloptionsinPIP(andthePIPprovider).Iwroteasmallpatchtothepippackageprovidertosupportthefeatureineeded(custominstalloptionssenttopip).HereisanexampleofwhatIneeded: pre {code} package{'carbon':ensure=installed,provider='pip',require=Package['python-twisted'],install_options=['--prefix=/home/user/graphite','--install-lib=/home/user/graphite/libs'],} /pre {code} SoIextendedthepackageproviderlocallytosupportsuchsyntax.AndI'dliketogetitintegratedupstream.I'vetestedanditworkswellformehere,usingdebian6.Hereisthepatch:(samepatchinunifiedformatisincludedasanattachedfile) pre {code} 12c12has_feature:installable,:uninstallable,:upgradeable,:versionable---has_feature:installable,:uninstallable,:upgradeable,:versionable,:install_options81a82,86endendif@resource[:install_options]@resource[:install_options].eachdo|install_option|args--install-option=+install_option /pre {code} Ifthisdoesntfollowpuppet'sstyleorguidelines,feelfreetopointmetothem.:)-Renato 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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 

Jira (PUP-1082) pip provider should handle multiple pips/pythons

2015-07-16 Thread Liam Monahan (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Liam Monahan updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Puppet /  PUP-1082 
 
 
 
  pip provider should handle multiple pips/pythons  
 
 
 
 
 
 
 
 
 

Change By:
 
 Liam Monahan 
 
 
 
 
 
 
 
 
 
 ThePipprovidershouldprovideawaytospecifythepathtopip.Thiswouldallowpeopletomanagemultiplepythoninstalls,by point pointing totheonetheywanttoinstallinto.InRHEL,thismakesiteasytohaveanon-systempythoninstalledsomewhere(ie:2.7or3.x)andletpuppetmanagethepythonpackages.Thisisrelatedtobug#15980.(relatedinthewaythatifyoucouldprovidethepathtothepipbinary,15980wouldhaveaworkaround). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.