[Puppet Users] Re: Hiera autolookup for defined types

2012-11-07 Thread Bruno Leon
Thanks John for your very interesting reply. On Tuesday, November 6, 2012 4:13:03 PM UTC-5, jcbollinger wrote: > > > > On Tuesday, November 6, 2012 11:04:46 AM UTC-6, Bruno Leon wrote: >> >> Hello, >> >> since Puppet 3 hiera is doing auto variable lookup f

Re: [Puppet Users] Nagios purge deleted items and notify nagios service problem

2012-09-10 Thread Bruno Leon
resources { "nagios_service": #notify => Service["nagios3"] purge => true, } resources { "nagios_host": #notify => Service["nagios3"] purge => true, } And make Nagios service subrscribe to the file /etc/nagios (cheksum => mtime) -- Bruno On September 10, 2012 01:17

Re: [Puppet Users] Define -> Class dependencies not respected

2012-06-21 Thread Bruno Leon
> > This is a class containment problem, and the reason why anchor > resource type exists in puppetlabs-stdlib. Here's the ticket: > http://projects.puppetlabs.com/issues/8040 > > Thanks, > > Nan > Thanks for the replies, I forgot I was already tracking this issue actually. Let's hope the "

Re: [Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread Bruno Leon
~/.my.cnf ? On 11-10-11 10:18 AM, adam wrote: Stupid question here: how does this line of code get the mysql root password?: https://github.com/puppetlabs/puppetlabs-mysql/blob/master/lib/puppet/provider/database/mysql.rb#L12 I am asking because when I run the set of commands to make a mysql s

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-07 Thread Bruno Leon
Hello, sorry for the delay, I did a few tests and found out that the puppet master does not even go as far a querying the database. Starting from a clean query log (mysql), there is no sign of Concat::Fragment (tried small case as well). I guess this info also applies to the post "Problems wi

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
I'm using MySQL not PostgreSQL. I'll have a look at the queries tomorrow though and post results here. Bruno On 11-10-04 10:41 PM, Daniel Pittman wrote: On Tue, Oct 4, 2011 at 16:55, Bruno Leon wrote: This is not a custom type, but a define. I guess you know it already but it is

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
ffect of the PostgreSQL bug should only have been to miss resources when collecting, not to generate a catalog that didn't do the right thing. Daniel On Tue, Oct 4, 2011 at 15:32, Nigel Kersten wrote: Are you exporting resources with a postgresql backend Bruno? On Tue, Oct 4, 2011 at 2:36

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
I was on 2.7.3 previously. thanks -- Bruno On 11-10-04 05:46 PM, Dan Bode wrote: what version did you upgrade from? could you also recreate with --trace. thanks, Dan On Tue, Oct 4, 2011 at 2:36 PM, Bruno Leon <mailto:nonolem...@gmail.com>> wrote: I don't if anybody is us

[Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Bruno Leon
I don't if anybody is using the concat modules from ripienaar, but since an upgrade to 2.7.5 I keep getting an error on fragment collection. The code is like below: @@concat::fragment{ "${name}" : target => "/etc/bind/named.conf.keys", content => template("dns/named.conf.keys.erb"), ord

Re: [Puppet Users] Get the value of a parameter passed to a parameterized class

2011-10-04 Thread Bruno Leon
/CERTNAME.yaml On Mon, Oct 3, 2011 at 3:44 PM, Bruno Leon <mailto:nonolem...@gmail.com>> wrote: Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not came out with a solution. Thanks

Re: [Puppet Users] Re: Get the value of a parameter passed to a parameterized class

2011-10-04 Thread Bruno Leon
On 11-10-04 09:11 AM, jcbollinger wrote: On Oct 3, 5:44 pm, Bruno Leon wrote: Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not came out with a solution. Did you mean within your manifests? You can do it easi

[Puppet Users] Get the value of a parameter passed to a parameterized class

2011-10-03 Thread Bruno Leon
Hi, is there a way to get the value of a parameter passed to a parameterized class ? I've searched quite a lot and did not came out with a solution. Thanks -- Bruno -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

Re: [Puppet Users] Dealing with sensitive data

2011-10-03 Thread Bruno Leon
Have a look at hiera. -- Bruno On 11-10-03 06:02 PM, Alan Evans wrote: Puppet Uesrs, How do you deal with sensitive data in your puppet config that does not belong in revision control? Think about things like SSL keys or passwords. i.e. /etc/ldap.conf ... binddn cn=foo,dc=example,dc=com bin

Re: [Puppet Users] Problems installing Puppet Dashoboard

2011-09-13 Thread Bruno Leon
Did you yuse rubygems-1.3.7 as documented in the install procedure ? I did try with rubygems-1.8.10 (the latest one) and got failures as well, like yours. -- Bruno On 11-09-13 02:55 PM, Russell Van Tassell wrote: Just a stab in the dark, here... but looks like you might need an older version

[Puppet Users] Re: Dashboard Delayed Workers Error: Mysql::Error: MySQL server has gone away

2011-08-05 Thread Bruno Leon
I can confirm the exact same issue. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For

[Puppet Users] Re: Help setting up Ubuntu preseed for Puppet Clients

2011-08-02 Thread Bruno Leon
1 - # Individual additional packages to install d-i pkgsel/include string puppet 2 - Set up DNS so that client can resolve puppet to the puppetmaster 3 - Why do that ? Just sign the request when it comes 4- Have Puppet start automatically d-i preseed/late_command string sed 's/no/yes/' /targe