[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 n.prock...@lse.ac.uk Hello If you really want all disks 2000 then net-snmp's includeAllDisks 2000 might do for you. Neil Xavier Beaudouin wrote: Hello there, I would like to automatize my snmpd.conf with all

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-19 Thread Julian Simpson
No objections here. I seem to recall that there had a been a discussion at PuppetCamp about perhaps moving to a pattens collection instead of set of best practices - not sure if anyone has bandwidth to to work on this but it might help to keep it in mind. Dan North wrote an article on this.[1]

[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.labrute.fr/

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Ohad Levy
cpu or memory? you can run puppet with nice, but if it will restart services, they will be niced too. if its memory, you can swtich to cron. cheers, Ohad On Mon, Oct 19, 2009 at 5:42 PM, Xavier Beaudouin xbeaudo...@gmail.comwrote: Hello there, I am some complains from people there at my

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
CPU usage, memory is not (yet) a problem... Nice, is an idea, but I think dangerous IMHO... /Xavier 2009/10/19 Ohad Levy ohadl...@gmail.com cpu or memory? you can run puppet with nice, but if it will restart services, they will be niced too. if its memory, you can swtich to cron.

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Ohad Levy
puppet is usually not using too much of cpu.. (unless your users are running on the puppetmaster ;)) maybe you can restrict the amount of things puppet do in each run with the schedule metadata. Ohad On Mon, Oct 19, 2009 at 5:54 PM, Xavier Beaudouin xbeaudo...@gmail.comwrote: CPU usage,

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread 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 as much as you can otherwise you paid for something you don't use. With that in

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-19 Thread R.I.Pienaar
'lo, - Julian Simpson simpsonjul...@gmail.com wrote: No objections here. I seem to recall that there had a been a discussion at PuppetCamp about perhaps moving to a pattens collection instead of set of best practices - not sure if anyone has bandwidth to to work on this but it might

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
Hi Brice, 2009/10/19 Brice Figureau brice-pup...@daysofwonder.com 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 as much as

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-19 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R.I.Pienaar wrote: Pattern collections are much better, I'd rather have articles exploring features that people can learn each feature and then apply to their environment than a best practice since those are almost always full of assumptions

[Puppet Users] Re: ANNOUNCE: Puppet 0.25.1rc2 available

2009-10-19 Thread Martin Englund
On Oct 17, 4:19 am, James Turnbull ja...@lovedthanlost.net wrote: Puppet 0.25.1 Release Candidate 2 is now available for testing. Package for OpenSolaris is available at: http://pkg.codenursery.com/dev/ To install it, run: pkg set-publisher -O http://pkg.codenursery.com/dev pkg-

[Puppet Users] Re: How to determine if there is a room for a copied file in puppet before copying?

2009-10-19 Thread Adam Ryczkowski
Really, though, you probably don't want to use Puppet to copy a 1gb file - it still copies the files into memory. Is this true also for local copies (i.e. copies which doesn't involve file server, and where source and destination are on the same system)?

[Puppet Users] Re: How to handle failures of resources

2009-10-19 Thread Adam Ryczkowski
Welcome all, Resources can depend one from each other, and failure of a required resource prevent the dependants from being run. But how to trap these failures and handle them? Is there any way to e.g. set a variable $error_happened to true if some promise about the

[Puppet Users] access exported resources in template

2009-10-19 Thread Bernhard Bock
Hi, I'm trying to develop a class that autogenerates a config file based on an .erb template. It shall populate the config file with data exported from various hosts. Some pseudocode to clarify my issue: node n1 { @@mytype { name: property = foo } } template.erb: %

[Puppet Users] Re: trouble with custom type on 0.24.8

2009-10-19 Thread jcbollinger
On Oct 16, 5:07 am, Bernhard Bock bernhard.b...@gmail.com wrote: Clients are giving me the following error: Could not retrieve catalog: Could not find resource type zypper_repo at /etc/puppet/manifests/nodes/mgt.pp:33 on node host.fqdn I'm experiencing the same problem with a custom

[Puppet Users] Re: trouble with custom type on 0.24.8

2009-10-19 Thread Bernhard Bock
Hi John, On 19 Okt., 15:37, jcbollinger john.bollin...@stjude.org wrote:  The custom type's Ruby code should be in modules dir/ module name/plugins/puppet/types/type.rb.  Its provider(s), if any, should be in modules dir/module name/plugins/puppet/provider/ type/provider.rb. Indeed, I got

[Puppet Users] Re: How to handle failures of resources

2009-10-19 Thread LdvT
I wouldn't mind having failure detection. Say somehow a bad copy of a .conf file is distributed; and the service fails to start. If that can be detected and used as a condition, puppet could than call up another manifest to drop in a default/backup copy of the .conf file and restart the service

[Puppet Users] Passenger Woes

2009-10-19 Thread Stephen Nelson-Smith
Hello, I really didn't expect this to be difficult, but I've been struggling with this all day :( I'm running CentOS 5.3, with rubygems, rack and fastthread, from EPEL. I'm running puppet-0.25.0-1 built from the spec file in the latest stable tarball. I'm using mod_passenger-2.2.5-2.el5 from

[Puppet Users] Re: Passenger Woes

2009-10-19 Thread Julian Simpson
Is there a file called rewindable_input.rb on the system? Looks like a missing gem or ruby path issue. J. Sent from my iPhone On 19 Oct 2009, at 18:52, Stephen Nelson-Smith sanel...@gmail.com wrote: Hello, I really didn't expect this to be difficult, but I've been struggling with

[Puppet Users] Re: Best Practices Rewrite - First Draft

2009-10-19 Thread R.I.Pienaar
hello, - James Turnbull ja...@lovedthanlost.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R.I.Pienaar wrote: Pattern collections are much better, I'd rather have articles exploring features that people can learn each feature and then apply to their environment than a

[Puppet Users] Re: Parser error which appears to be a bug in puppet

2009-10-19 Thread Clint Savage
On Mon, Oct 19, 2009 at 2:11 PM, Clint Savage her...@gmail.com wrote: Below I have a parser function that I have created which was working, but now is not working.  I have made quite a few changes to this code, but can't seem to find the right combination to make it work again. After

[Puppet Users] Re: new to puppet. how to add condition in a class?

2009-10-19 Thread william Famy
2009/10/13 Teyo Tyree t...@reductivelabs.com Hey William, Welcome to Puppet. _ [wf:] thanks On Mon, Oct 12, 2009 at 2:01 AM, william Famy william.f...@gmail.com wrote: Hi. II am trying puppet after cfengine and I am looking for a method to use a

[Puppet Users] Parser error which appears to be a bug in puppet

2009-10-19 Thread Clint Savage
Below I have a parser function that I have created which was working, but now is not working. I have made quite a few changes to this code, but can't seem to find the right combination to make it work again. After extensive conversations with Volcane, joe-mac and andrewcshafer from #puppet, it

[Puppet Users] Re: Is there a limit to the number of entires you can have for modulepath in puppet.conf?

2009-10-19 Thread Billy Shaw
Ohad Levy wrote: This really doesn't sound like a common design, if you have the need for such a complex setup, I would recommend to create an environment, and link the relevant modules into that env directory. this has been proven to scale up with no issues. my 2 cents, Ohad On

[Puppet Users] sysidcfg file on OpenSolaris 2009.06 client

2009-10-19 Thread windowsrefund
Puppet 0.24.8 on both the client and server. My zone is being created but the sysidcfg file is not being created under etc/ info: Caching catalog at /var//opt/csw/puppet/state/localconfig.yaml notice: Starting catalog run notice: //Node[labrat1]/Zone_instance[labrat1a]/zone_zfs_root/Zfs

[Puppet Users] Re: Parser error which appears to be a bug in puppet

2009-10-19 Thread Clint Savage
On Mon, Oct 19, 2009 at 2:13 PM, Clint Savage her...@gmail.com wrote: On Mon, Oct 19, 2009 at 2:11 PM, Clint Savage her...@gmail.com wrote: Below I have a parser function that I have created which was working, but now is not working.  I have made quite a few changes to this code, but can't

[Puppet Users] Re: sysidcfg file on OpenSolaris 2009.06 client

2009-10-19 Thread Martin Englund
Hi! On Oct 19, 11:33 pm, windowsrefund windowsref...@gmail.com wrote: Puppet 0.24.8 on both the client and server. My zone is being created but the sysidcfg file is not being created under etc/ info: Caching catalog at /var//opt/csw/puppet/state/localconfig.yaml notice: Starting catalog run

[Puppet Users] Re: sysidcfg file on OpenSolaris 2009.06 client

2009-10-19 Thread windowsrefund
Martin, Thank you for the response. Are you aware of any short term work around? Best, Adam --~--~-~--~~~---~--~~ 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] any plans to support pkgutil?

2009-10-19 Thread windowsrefund
Seems that blastwave is all about pkgutil now. Are there any plans to support this? Best, Adam --~--~-~--~~~---~--~~ 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] trouble with puppetrun on 0.24.8

2009-10-19 Thread kyawai
Hello, Puppet 0.24.8 on both the client and server, CentOS5.3. It is applied repeatedly when puppetrun is executed, and a lot of report mails are transmitted. There is host repeatedly applied, and is host applied only once. Every time, it is different. Is the setting somewhere wrong? - #