RE: [Puppet Users] Re: Inheritance and parameterized classes

2011-11-07 Thread Johan Sunnerstig
You are about to blow your foot off, or at least your little toe. You cannot include a parameterized class twice, not even with the same parameters, and certainly not with different parameters. That will scuttle catalog compilation for node nfsserver. If you abandon class

[Puppet Users] Re: Custom providers - instalation and usage of an executable

2011-11-07 Thread David Campos
I tested the optional_command solution with success. The virtual machine could be provisioned but the first time, any reference to the asadmin provider failed even though the binary was present. I presume that once the prefetch of providers has been done and failed, then that type and provider

[Puppet Users] Re: Unable to define order of modules

2011-11-07 Thread jcbollinger
On Nov 4, 7:20 am, Baptiste Grenier baptiste.gren...@gmail.com wrote: Hello, Le 03/11/11 15:45, jcbollinger t l scripta : [...] There are several ugly ways you could do this.  The clean way would be to pull the $aptdater::client::sudo_allow_aptdater_user variable out to a separate class

Re: [Puppet Users] Default sysctl.conf with augeas.

2011-11-07 Thread Rob McBroom
On Nov 4, 2011, at 3:21 PM, Douglas Garstang wrote: I have a tricky problem. I'm going to use Augeas, like here http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas#/etc/sysctl.conf to maintain sysctl.conf. That doesn’t look like a very good example in my opinion. For one thing, the

[Puppet Users] Puppet ruby error

2011-11-07 Thread Peter Horvath
Hi, I've got a new install of Ubuntu lucid lynx with backport puppet 2.6.1, but when i try to run my templates i get this error. /usr/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from

Re: [Puppet Users] Re: Custom providers - instalation and usage of an executable

2011-11-07 Thread Stefan Schulte
On Mon, Nov 07, 2011 at 03:25:33AM -0800, David Campos wrote: I tested the optional_command solution with success. The virtual machine could be provisioned but the first time, any reference to the asadmin provider failed even though the binary was present. I presume that once the prefetch of

[Puppet Users] Puppet Dashboard 1.2.2; node report; change sort in log tab

2011-11-07 Thread Stefan Heijmans
The sorting in the log tab on a node report seems to be on the level column, which is hard to read when multiple changes take place, as notice and info of the actions are on the top and bottom of the log. Can this be adjusted so its displayed as 'puppet agent --test' does (sort on time and line

[Puppet Users] Hiera - How to set a parameter to the value false

2011-11-07 Thread Bruno Léon
Hello, I've been using hiera for a few weeks now, but I'm stuck now trying to set a value to false Basically, I have a class that read its parameter in hiera, and in a yaml file I have the following code: --- use_ecrypt_fs: true server_region: fr puppet_enable: false This ultimately

Re: [Puppet Users] Re: Unable to define order of modules

2011-11-07 Thread Baptiste Grenier
Hello, Le 07/11/11 à 15:30, jcbollinger téléscripta : For the record, that is not an implementation of my recommendation. It is not safe for class sudo::apdater to include that new class, except in the most technical of senses. Indeed. The point is to have a source of truth separate from

[Puppet Users] why puppet template erb convert On to true, Off to false?

2011-11-07 Thread midair77
Dear all, I have a parameterized class and I have my ECN in perl as followed: classes{'myclass'} = { abc = On,}; and in my template erb: SecRuleEngine %= abc % When I applied this to my puppet agent, I would then get: SecRuleEngine true. How is that On becomes true and Off becomes

Re: [Puppet Users] why puppet template erb convert On to true, Off to false?

2011-11-07 Thread Nigel Kersten
On Mon, Nov 7, 2011 at 1:45 PM, midair77 midai...@gmail.com wrote: Dear all, I have a parameterized class and I have my ECN in perl as followed: classes{'myclass'} = { abc = On,}; and in my template erb: SecRuleEngine %= abc % When I applied this to my puppet agent, I would then

[Puppet Users] Status of 2.7.7rc

2011-11-07 Thread Michael Stahnke
We have found 3 bugs we want tracked down before cutting the next Puppet RC. (2.7.7rc2) File serving performance issue with large numbers of files: https://projects.puppetlabs.com/issues/9671 Agent may crash when attempting to manage permissions on non-NTFS filesystems (on Windows)

[Puppet Users] Re: why puppet template erb convert On to true, Off to false?

2011-11-07 Thread midair77
I actually put On in double quote in my ECN and I did not get the desired output. This is quite weird as why On/Off has been converted to true/false in erb template. Thank you, Nigel. On Nov 7, 2:39 pm, Nigel Kersten ni...@puppetlabs.com wrote: On Mon, Nov 7, 2011 at 1:45 PM, midair77

[Puppet Users] nss_ldap breaks puppet

2011-11-07 Thread Raymond
I have installed and configured the puppet client nodes to use LDAP to authenicate users. LDAP connection is OK and user can be authenicated via LDAP. I use nscd and with my ldap config setting specify on /etc/ldap.conf However, puppet is not happy; and in the /var/log/messages it gives tons of

[Puppet Users] puppet facter timeout

2011-11-07 Thread raffis
I have a problem with a new Ubuntu server (2.6.32-33-server) and facter. Facter Version 1.5.6 root@web002:~# facter /usr/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect' from

Re: [Puppet Users] can we alter the 30-min run time?

2011-11-07 Thread Piavlo
Hi , How about an option for throttling number of max puppet clients being active - then puppet client time to run has come it registers at the puppetmaster - and once there is below max allowed active puppet clients running - puppetmaster initiates the client run (puppet client needs to

Re: [Puppet Users] puppet facter timeout

2011-11-07 Thread Jacob Helwig
On 2011-11-07 05:50 , raffis wrote: I have a problem with a new Ubuntu server (2.6.32-33-server) and facter. Facter Version 1.5.6 root@web002:~# facter /usr/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'

Re: [Puppet Users] Re: why puppet template erb convert On to true, Off to false?

2011-11-07 Thread Nigel Kersten
On Mon, Nov 7, 2011 at 3:38 PM, midair77 midai...@gmail.com wrote: I actually put On in double quote in my ECN and I did not get the desired output. This is quite weird as why On/Off has been converted to true/false in erb template. Ah, I missed that you've got a Perl ENC. Can you run

[Puppet Users] Re: puppet facter timeout

2011-11-07 Thread raffis
Yep thanks, the ubuntu package 1.5.6-2ubuntu2.2 was the problem. Roll- back to 1.5.6-2ubuntu2 solved the facter bug. On Nov 8, 2:21 am, Jacob Helwig ja...@puppetlabs.com wrote: On 2011-11-07 05:50 , raffis wrote: I have a problem with a new Ubuntu server (2.6.32-33-server) and

[Puppet Users] Re: What's the canonical way to enforce permissions/ownership on a directory subtree?

2011-11-07 Thread Robert Atkins
On Nov 4, 9:42 pm, Christopher Wood christopher_w...@pobox.com wrote: I think you still want chown -R here: command = /bin/chown -R jetty:users ${jetty_install_dir}, Of course I do, I fat-fingered it. That's why it wasn't working. Thanks for that (also, thanks to Stefan for the advice about