[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? - # p

[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@g

[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@goo

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

2009-10-19 Thread Martin Englund
Hi! On Oct 19, 11:33 pm, windowsrefund 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 > notice: //Node[la

[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 wrote: > On Mon, Oct 19, 2009 at 2:11 PM, Clint Savage 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 combi

[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 [rpool/ex

[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 Sat

[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 w

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

2009-10-19 Thread william Famy
2009/10/13 Teyo Tyree > > Hey William, > > Welcome to Puppet. > _ [wf:] thanks > > On Mon, Oct 12, 2009 at 2:01 AM, william Famy > wrote: > > Hi. > > > > II am trying puppet after cfengine and I am looking for a method to use a > > class if a file exist. > > One

[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 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 extensive conversat

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

2009-10-19 Thread R.I.Pienaar
hello, - "James Turnbull" 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 best pract

[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 wrote: > > Hello, > > I really didn't expect this to be difficult, but I've been struggling > with this all day :( >

[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 J

[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 a

[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 wrote: > The custom type's Ruby code should be in / > /plugins/puppet/types/.rb.  Its provider(s), if > any, should be in //plugins/puppet/provider/ > /.rb. Indeed, I got the path wrong. Thanks for the clarification. And just for the record (and other re

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

2009-10-19 Thread jcbollinger
On Oct 16, 5:07 am, Bernhard Bock 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 " > > I'm experiencing the same problem with a custom type in 0.24.8. > > 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: <% myty

[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 >>

[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: ANNOUNCE: Puppet 0.25.1rc2 available

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

[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: 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 > as much as you can otherwise you

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

2009-10-19 Thread R.I.Pienaar
'lo, - "Julian Simpson" 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 help to keep it in m

[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 min

[Puppet Users] Re: CPU on client ?

2009-10-19 Thread Xavier Beaudouin
Hum... People there think it is use to mutch... more than 20% during a run... 2009/10/19 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 me

[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 wrote: > CPU usage, memory is not (yet) a pro

[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 > 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 > >

[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 wrote: > Hello there, > > I am some complains from people there at my work that puppetd "ta

[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: 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] 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, > > > > I would like to automatize my snmpd.conf with all local di