Re: [Puppet Users] Dynamic / nested / setting a varible with / from a variable in puppet.

2015-01-22 Thread Hristo Mohamed
$var="blabla $var1" is the way so assign it. But in puppet, you cant reassign variables values in the same scope , so once you do: $envir = "${which_envir}", You cant upcase in the same variable name $envir = upcase($envir). Try $envir_upcase = upcase($evir) On Wed, Jan 21, 2015 at 11:24 PM, o

[Puppet Users] puppet cloud provisioner - without enterprise -Error: Unknown Puppet subcommand 'node_aws'

2015-01-22 Thread Helen Paterson
Hi, Has anyone had any luck getting the puppet cloud provisioner without the Puppet enterprise ( open source) ? 1. installed puppet module install puppetlabs-cloud_provisioner (from the forge) 2. sudo apt-get install ruby1.9.3 rubygems1.9.1 sudo ln -sf /usr/bin/ruby1.9.3 /

[Puppet Users] Re: Dynamic / nested / setting a varible with / from a variable in puppet.

2015-01-22 Thread jcbollinger
On Wednesday, January 21, 2015 at 4:24:19 PM UTC-6, omfg9899 wrote: > > Hello all and thanx in advance to anyone that replies to my endless > headache here. > > I am trying to do a couple of things, and failing miserably. I will > touch on the most important one for the moment. > > I am tr

Re: [Puppet Users] inherits deprecated in puppet 4.x

2015-01-22 Thread jcbollinger
On Wednesday, January 21, 2015 at 11:36:25 AM UTC-6, Alessandro Franceschi wrote: > > Given that: > - I've used nodes inheritance with profit for years, in the past > - Now I mostly prefer a nodeless setup (with or without ENC) > let me spam the list with a fragment of my book Extending Puppet o

Re: [Puppet Users] inherits deprecated in puppet 4.x

2015-01-22 Thread jcbollinger
On Thursday, January 22, 2015 at 9:09:37 AM UTC-6, jcbollinger wrote: > [...] With that approach you can create an insanely complex, multi-level > node inheritance tree [...]. > Clarification: though you safely *can* do that, you shouldn't. John > -- You received this message because

[Puppet Users] Re: Monitoring apache::vhost

2015-01-22 Thread jcbollinger
On Wednesday, January 21, 2015 at 5:43:05 AM UTC-6, Jonathan Gazeley wrote: > > Hi folks, > > My legacy puppet code includes a manifest called httpd::vhost which > installs an Apache vhost and does some extra things, like add Nagios > checks. > > I'm now removing my old httpd::vhost module an

Re: [Puppet Users] exec resource long runtime

2015-01-22 Thread Trevor Vaughan
Hi Royee, Try adding --evaltrace to your puppet run to see how long each resource is taking to apply. Thanks, Trevor On Sun, Jan 18, 2015 at 9:54 AM, Royee Tager wrote: > Hi Martin, > > Attached is the output of the commands: > > [root@labit-lg02 ~]# time /usr/sbin/spacewalk-channel -l > Unab

[Puppet Users] Puppet Dashboard/console

2015-01-22 Thread sanjay kumar chahar
Hi I am very new to puppet and I have installed puppet master server and configure 2 node ( agent ) and its working. I want to know how can I manage puppet, Is there any management console/ Puppet dashboard ? If yes answer of above question Can I installed it on separate VM/server Pleas

[Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-22 Thread Jim Ficarra
I'm as newbie as they come to both Ruby and custom provider development, so apologies if I'm missing the obvious up front. :) I want to write a custom type/provider to manage IIS Settings. I realize that there are at least 3 IIS modules in the forge already (and we are using one of them) but I

Re: [Puppet Users] inherits deprecated in puppet 4.x

2015-01-22 Thread Alessandro Franceschi
On Thursday, January 22, 2015 at 4:09:37 PM UTC+1, jcbollinger wrote: > > > > On Wednesday, January 21, 2015 at 11:36:25 AM UTC-6, Alessandro Franceschi > wrote: >> >> Given that: >> - I've used nodes inheritance with profit for years, in the past >> - Now I mostly prefer a nodeless setup (with

Re: [Puppet Users] puppet cloud provisioner - without enterprise -Error: Unknown Puppet subcommand 'node_aws'

2015-01-22 Thread Matthaus Owens
Helen, What does `head -n1 /usr/bin/gem` show? Gem may be running /usr/bin/ruby1.8 under the hood, which would explain the ruby version error you're seeing. On Thu, Jan 22, 2015 at 5:20 AM, Helen Paterson wrote: > Hi, > > > > > > Has anyone had any luck getting the puppet cloud provisioner witho

Re: [Puppet Users] Help with provider inheritance of Josh Cooper's Exec PowerShell Provider

2015-01-22 Thread Jim Ficarra
Ok – so it seems the the underlying base classes of my provider are expecting the parameters and their validations from the exec type instead of my new type – makes sense. I was able to test that theory out by adding the parameters (and in many cases copying the parameters from the exec type) b

[Puppet Users] Announce: Facter 2.4.0 is available!

2015-01-22 Thread Will Hopper
Facter 2.4.0 is a backward-compatible features-and-fixes release in the Facter 2 series. Included in this release are several backend improvements to prepare for Puppet 4.0. No new facts are added, but we've included various improvements for OS support and a few updates to existing facts.

Re: [Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-22 Thread Oliver Schad
On Wed, 21 Jan 2015 05:40:27 -0800 (PST) Mike Hendon wrote: > Triggering a refresh when you've changed manifests is also a pain. Is a refresh on every change needed? Best Regards Oli -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubsc