> On Apr 22, 2016, at 12:10 PM, Asya Dvorkin <[email protected]> wrote:
> 
> Hello, Bapi.
> 
> Why not install python-pip package and use pip as a provider?
> 
>        "pika":
>            require => Package["python-pip"],
>            ensure => present,
>            provider => pip;
> 
> Asia
> 

I’d forgotten about that! Good point. That lowers the use of Execs right there.

--
Gary L. Greene, Jr.
==============================================================================
Volunteer developer of the KDE F/OSS project and Project Lead for AltimatOS
    http://www.kde.org/                 http://www.altimatos.com/
==============================================================================


> ----- Original Message -----
> From: "bapi loya" <[email protected]>
> To: "Puppet Users" <[email protected]>
> Sent: Friday, April 22, 2016 2:04:29 PM
> Subject: [Puppet Users] python on puppet
> 
> Hi all,
> 
> I am trying to manage python packages from puppet.I wanted to run the 
> following commands *without using EXEC..*
> 
> *After installing python-setuptools i tried to install pika using pip as 
> provider .. but it did not work.*
> 
> *What is the best way to puppetize this??*
> 
> *Thank You*
> *Bapi*
> 
> 
> 
> 
> 
> 
> 
> *sudo yum install python-setuptoolssudo easy-install pipsudo easy-install 
> argparsesudo /usr/bin/pip install pika*
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/ed850c4b-628e-4a66-bd83-bb3dbd93d68c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/2113651282.3707077.1461352259773.JavaMail.zimbra%40cs.princeton.edu.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/81F88D5F-A47B-4776-BD4E-9D1B68500E6E%40tolharadys.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to