Hi Asya: Im gettting an error when i tried to include that:
Error: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install python-pip' returned 1: Error: Nothing to do Error: /Stage[main]/Ingest/Package[python-pip]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install python-pip' returned 1: Error: Nothing to do Notice: /Stage[main]/Ingest/Package[pika]: Dependency Package[python-pip] has failures: true Warning: /Stage[main]/Ingest/Package[pika]: Skipping because of failed dependencies Thank You Bapi On Friday, April 22, 2016 at 12:13:49 PM UTC-7, Asya wrote: > > 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" <bapi...@cloudwick.com <javascript:>> > To: "Puppet Users" <puppet...@googlegroups.com <javascript:>> > 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 puppet-users...@googlegroups.com <javascript:>. > 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/25a91f68-4eda-4cb2-8957-1d74b81bb3b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.