[Puppet Users] custom function, setvar and variable scoping

2012-09-29 Thread Jérôme Loyet
Hello, I'm trying to make a set of functions to simulate an array with which I would be able to append value in the same scope. The first function is called "array_append" which take 2 arguments: the variable name and the value to append. The function then iterates through variables "#{name}_#

[Puppet Users] Re: hash $environment to handle a lot of number of environments

2012-08-05 Thread Jérôme Loyet
I ended up with a pull request for this: https://github.com/puppetlabs/puppet/pull/1005 Le dimanche 5 août 2012 11:42:48 UTC+2, Jérôme Loyet a écrit : > > Hi guys, > > I'm about to set up a puppet instance for handling a large number of > environment. I've set up th

[Puppet Users] hash $environment to handle a lot of number of environments

2012-08-05 Thread Jérôme Loyet
Hi guys, I'm about to set up a puppet instance for handling a large number of environment. I've set up the following puppet master configuration: [master] manifestdir = $confdir/environments/$environment/manifests templatedir = $confdir/environments/$environment/templates modulepath = $confdir/m

Re: [Puppet Users] [centos 6] error downloading facter-1.6.0-2.el6.noarch.rpm from epel

2011-08-17 Thread Jérôme Loyet
why don't you just forget yum and use gem instead ? 2011/8/17 remke : > I'm trying to install puppet-server into my centos6 server... but i cann't > find the dependency facter anywhere on the internet :(( > > Any help/ideas ? > > With kind regards, > ~remke > http://www.craigdunn.org/2010/08/part-

[Puppet Users] Re: Parse Puppet Manifests

2011-08-14 Thread Jérôme Loyet
> > > I am looking for a method to parse the entire set of puppet manifests/ > > > modules.  For example I want to see a list of all packages that I am > > > managing with puppet.  I have seen the compile option, but this only > > > gives me a particular node's point of view.  While I could just sc