Re: [Puppet Users] python on puppet

2016-04-22 Thread Andrew Grimberg
Bapi, I would go with Rob's suggestion here as well. I can definitely attest to stankevich/python being a good module as I use it extensively. Here's a code snippet that would do what you want using that module: --[cut]-- class { 'python': version => 'system', pip => 'present', dev

Re: [Puppet Users] python on puppet

2016-04-22 Thread bapi . loya
r => pip; > > Asya > > - Original Message - > From: "bapi loya" > > To: "Puppet Users" > > Sent: Friday, April 22, 2016 2:04:29 PM > Subject: [Puppet Users] python on puppet > > Hi all, > > I am trying to manage python

Re: [Puppet Users] python on puppet

2016-04-22 Thread Gary Greene
ject Lead for AltimatOS http://www.kde.org/ http://www.altimatos.com/ == > - Original Message - > From: "bapi loya" > To: "Puppet Users" > Sent: Friday, April 22, 2016

Re: [Puppet Users] python on puppet

2016-04-22 Thread Asya Dvorkin
"Puppet Users" 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 pi

Re: [Puppet Users] python on puppet

2016-04-22 Thread Gary Greene
> On Apr 22, 2016, at 12:03 PM, Bapi raj Loya wrote: > > Hi Gary > > can i set environment in package for /usr/bin ?? You can set it to whatever you want it to be, as appropriate to your environment. All I was doing was giving an example, modify as desired. -- Gary L. Greene, Jr.

Re: [Puppet Users] python on puppet

2016-04-22 Thread Ramin K
On 4/22/16 11:04 AM, bapi.l...@cloudwick.com wrote: 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.* If the pip

Re: [Puppet Users] python on puppet

2016-04-22 Thread Bapi raj Loya
Hi Gary can i set environment in package for /usr/bin ?? On Fri, Apr 22, 2016 at 11:59 AM, Gary Greene wrote: > > > On Apr 22, 2016, at 11:04 AM, bapi.l...@cloudwick.com wrote: > > Hi all, > > I am trying to manage python packages from puppet.I wanted to run the > following commands *without us

Re: [Puppet Users] python on puppet

2016-04-22 Thread Gary Greene
> On Apr 22, 2016, at 11:04 AM, bapi.l...@cloudwick.com wrote: > > 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

Re: [Puppet Users] python on puppet

2016-04-22 Thread Rob Nelson
Bapi, Searching the forge (https://forge.puppet.com) is my first stop. A search on python or pip turn up a number of hits. There's an approved puppet module that looks like it might be helpful: https://forge.puppet.com/stankevich/python. Approved modules must meet some standards so are generally m

[Puppet Users] python on puppet

2016-04-22 Thread bapi . loya
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*