Re: [Puppet Users] Puppet 3.1.1 and file… -> Error: Failed to apply catalog: Attribute 'user' or 'target' is mandatory

2013-03-20 Thread Xavier Beaudouin
Okay after fighting, seem that my class user that use ssh_authorized_key ressource is giving me this headache. So... I tried some stuff on this : http://pastealacon.com/32000 but I have no clues :( So bad the error is so "simple" that we can wastes hours just about a wrong class... Xavier -

Re: [Puppet Users] Puppet 3.1.1 and file… -> Error: Failed to apply catalog: Attribute 'user' or 'target' is mandatory

2013-03-20 Thread Xavier Beaudouin
Hi, Le 20 mars 2013 à 15:18, Felix Frank a écrit : > On 03/20/2013 03:11 PM, Xavier Beaudouin wrote: >> Hi, >> >> My node is declaring (for now) only this classe >> >> node mail01 { >> include resolvconf >> } >> >> It was "w

Re: [Puppet Users] Puppet 3.1.1 and file… -> Error: Failed to apply catalog: Attribute 'user' or 'target' is mandatory

2013-03-20 Thread Xavier Beaudouin
also declare a cron or > ssh_authorized_key resource? Because that would make a lot more sense. > > Cheers, > Felix > > On 03/20/2013 12:40 PM, Xavier Beaudouin wrote: >> Hello, >> >> Seems that file ressource gets a new idea of what to be given. &g

[Puppet Users] Puppet 3.1.1 and file… -> Error: Failed to apply catalog: Attribute 'user' or 'target' is mandatory

2013-03-20 Thread Xavier Beaudouin
Hello, Seems that file ressource gets a new idea of what to be given. I have the following recipe : class resolvconf { file { "/etc/resolv.conf": owner => root, group => wheel, mode => 644,

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
Hi Brice, 2009/10/19 Brice Figureau > > On Mon, 2009-10-19 at 12:01 +0200, Xavier Beaudouin wrote: > > Hum... People there think it is use to mutch... more than 20% during a > > run... > > Remember something: you paid for that CPU, that means you want to use it > a

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
e > schedule metadata. > How can I do that.. ? /Xavier -- Xavier Beaudouin - http://kazar.net/ http://magicduck.labrute.fr/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
; > cheers, > Ohad > > > On Mon, Oct 19, 2009 at 5:42 PM, Xavier Beaudouin wrote: > >> Hello there, >> >> I am some complains from people there at my work that puppetd "takes too >> mutch CPU"... >> >> Is there some metho

[Puppet Users] CPU on client ?

2009-10-19 Thread Xavier Beaudouin
Hello there, I am some complains from people there at my work that puppetd "takes too mutch CPU"... Is there some method to downcase the CPU usage when it is waked-up ? (this people make me crazy... ) -- Xavier Beaudouin - http://kazar.net/ http://magicduck.

[Puppet Users] Re: Local disks and puppet ?

2009-10-19 Thread Xavier Beaudouin
Hello Neil, This rocks :p Thanks :) /Xavier 2009/10/16 Neil Prockter > > Hello > > If you really want all disks 2000 then net-snmp's "includeAllDisks 2000" > might do for you. > > Neil > Xavier Beaudouin wrote: > > Hello there, > > > >

[Puppet Users] Local disks and puppet ?

2009-10-16 Thread Xavier Beaudouin
des partition disk / 2000 disk /opt 2000 --//-- I'd like to add disk 2000 on every local disks. Before I doing anything about that, I wanted to know if someone has already done that before ? /Xavier -- Xavier Beaudouin - http://kazar.n

[Puppet Users] string downcase or how to use downcase an hostname in puppet?

2009-08-28 Thread Xavier Beaudouin
that function downcase doesn't seems to implemented into my puppet server : FreeBSD 7.2-p2 on i386 platform puppet-0.24.8 A configuration management framework written in Ruby ruby-1.8.7.160_4,1 An object-oriented interpreted scripting language facter-1.5.6 A cross-platform Ruby li

[Puppet Users] Re: puppet 0.20.1 (debian etch) and recipe LDAPClientNSSwitch

2009-02-02 Thread Xavier Beaudouin
Hi Mike, 2009/2/2 Mike Renfro > > I don't know if it's the root cause of your problem, but responsefile > only made it into Puppet at 0.22. You may want to get the 0.24.5 version > from testing or unstable. > > http://packages.debian.org/lenny/puppet > > Ok I see. So I will update to lenny's ve

[Puppet Users] Re: Question about Recipe LDAPClientNSSwitch ?

2009-02-02 Thread Xavier Beaudouin
Sorry about the noise I found how to get such files... debconf-get-selections | grep libnss-ldap > libnss-ldap.preseed /Xavier PS: maybe this can be updated on the wiki ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[Puppet Users] puppet 0.20.1 (debian etch) and recipe LDAPClientNSSwitch

2009-02-02 Thread Xavier Beaudouin
Hello, Still trying to make auto configuration of my debian with nssldap and puppet. I have the following manifest : ---//--- # Puppet / Debian LDAP NSS Classe # # http://reductivelabs.com/trac/puppet/wiki/Recipes/LDAPClientNSSwitch # # Inspired of :p class ldap-client { package { ldap-utils:

[Puppet Users] Question about Recipe LDAPClientNSSwitch ?

2009-02-02 Thread Xavier Beaudouin
Hello, I am trying to use the recipe http://reductivelabs.com/trac/puppet/wiki/Recipes/LDAPClientNSSwitch, but I am bloqued about special debian thing. The extract is : file { libnss-ldap-preseed: path => "/var/cache/debconf/libnss-ldap.preseed", owner => root, group => root, mode => 4

[Puppet Users] Recipes for RHEL / Interfaces

2008-12-04 Thread Xavier Beaudouin
Hello, since I am a bit new to puppet I'd like to create a recipe to autoconfigure eth0, eth1, eth2 and eth3. Assuming I have eth0 given by a dhcp I'd like to setup it to static ip... and eth1 eth2 eth3 to another IP as well. For example facter gave me ipaddress => 172.16.20.11 so eth0 will h

[Puppet Users] Re: System configuration and /etc/init.d/* deamons

2008-11-17 Thread Xavier Beaudouin
Hi, On Nov 17, 11:19 am, Peter Meier <[EMAIL PROTECTED]> wrote: > Hi > > > One thing I miss is how to do /etc/init.d/ntp restart when the file is > > modified, but *only* if the file is modified (not every time the check > > has been done) ? > > you have then to manage the ntp-service and use

[Puppet Users] System configuration and /etc/init.d/* deamons

2008-11-17 Thread Xavier Beaudouin
Hi, I wish to update some files, like for example /etc/ntp.conf (or others like this)... and restart daemons if the file has being updated. I'am able to send the file with the following class : # NTP class ntpconf { case $operatingsystem { "RedHat": { file