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