Hello, Bapi.

Why not install python-pip package and use pip as a provider?

        "pika":
            require => Package["python-pip"],
            ensure => present,
            provider => pip;

Asya

----- 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.

Reply via email to