[Puppet Users] Installing puppet agent using curl from puppetmaster onto Solaris 10 i386

2016-04-22 Thread warron.french
I know that I can install the puppet agent PE-2015.2 onto a Solaris 10 machine. I also know that it is supposedly possible to do it using the *curl* command like I do for EL6 machines. However, when I run the command: *curl -k https://puppetmaster.home:8140/packages/current/install.bash

[Puppet Users] puppet service_example on windows

2016-04-22 Thread grant little
Trying to get an example to run from the registry windows package https://github.com/puppetlabs/puppetlabs-windows for some reason it is balking on the example code like so: Running Puppet agent on demand ... Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retr

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] pdxcat-nrpe, hiera data in command

2016-04-22 Thread Ugo Bellavance
> > Hi Ugo, > > You don't have to to modify pdxcat/nrpe to get that to work. Wherever > you are calling this from, you need to set the value of $ntpserver. That > can happen as a parameter to the class which would automatically look it > up or with the hiera() function. > > I also have an nrp

Re: [Puppet Users] python on puppet

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

Re: [Puppet Users] python on puppet

2016-04-22 Thread Gary Greene
> On Apr 22, 2016, at 12:10 PM, Asya Dvorkin 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 ab

Re: [Puppet Users] python on puppet

2016-04-22 Thread Asya Dvorkin
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" To: "Puppet Users" Sent: Friday, April 22, 2

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] Re: using multiple EXECs

2016-04-22 Thread bapi . loya
thanks for the help guys!!! On Thursday, April 21, 2016 at 10:24:51 PM UTC-7, bapi...@cloudwick.com wrote: > > Hi all, > > I am building this module which has rpm packages in it and execs commands. > What is the best way to build this module.. does writing numerous execs is > a good way to sta

[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*

[Puppet Users] Re: Getting augeas type to working on OS X

2016-04-22 Thread David Lutterkort
Hi Amos, ruby-augeas is certainly not abandoned, though there has been little activity on it. I am not sure what the clone at https://github.com/uib/ruby-augeas - this is the first time I've seen it. The official upstream of ruby-augeas is https://github.com/hercules-team/ruby-augeas; that's n

Re: [Puppet Users] using multiple EXECs

2016-04-22 Thread jcbollinger
On Friday, April 22, 2016 at 7:15:52 AM UTC-5, Rob Nelson wrote: > > Puppet does not know what happens in an Exec resource, so it has one foot > in and one foot outside of the graph and impairs puppet's ability to define > state consistently and enforce idempotency. Because of these, Execs are

[Puppet Users] Re: how do I override this File resource

2016-04-22 Thread jcbollinger
On Thursday, April 21, 2016 at 8:12:21 PM UTC-5, kdo wrote: > > Hi all, > > i am trying to build a module to install Oracle server on Linux that > utilises defined types in the module oradb::installdb.pp > > one of the checks in the oradb::installdb is this > > if ! defined(File["${download_dir

Re: [Puppet Users] using multiple EXECs

2016-04-22 Thread Rob Nelson
Puppet does not know what happens in an Exec resource, so it has one foot in and one foot outside of the graph and impairs puppet's ability to define state consistently and enforce idempotency. Because of these, Execs are the least desirable resource type. Think of them as a "break in case of emerg