[Puppet Users] Re: classifier is failing to compile

2009-08-24 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asif Iqbal wrote: > > my yaml format was incorrect. would have been nice if the puppetmaster > debug would disclose that. > If you think this would help please raise a feature request asking for a better error. Thanks James Turnbull - -- Author

[Puppet Users] Re: tidying up

2009-08-24 Thread Ohad Levy
I personally reinstall, I think its the cleanest way to find out the any manifests errors (e.g. dependency etc) if you have an automated build process, than it usually takes less than 10 minutes.. if you don't have an automated build process, you might want to consider using one ;) Ohad On Tue,

[Puppet Users] Re: classifier is failing to compile

2009-08-24 Thread Asif Iqbal
On Sun, Aug 23, 2009 at 11:41 AM, Asif Iqbal wrote: > On Sun, Aug 23, 2009 at 11:11 AM, Asif Iqbal wrote: >> On Sun, Aug 23, 2009 at 4:03 AM, Keith Edmunds wrote: >>> >>> What's the exit status of your script? Try: >>> >>> # /usr/local/bin/external.sh nvcp07.example.net >>> . >>> . >>> . >>> # ech

[Puppet Users] Re: passenger vs mongrel performance

2009-08-24 Thread Larry Ludwig
Hi All, An update on this thread.. Based upon some real world testing, I've updated the Passenger wiki to give some performance and with memory consumption (one of the main reasons for switching to Passenger right?): http://reductivelabs.com/trac/puppet/wiki/UsingPassenger Let me know if yo

[Puppet Users] Re: Dealing with timestamps

2009-08-24 Thread Digant C Kasundra
- "Nigel Kersten" wrote: > On Thu, Aug 20, 2009 at 10:39 AM, Digant C > Kasundra wrote: > > > > Hello everyone, > > > > We're pondering moving to git for our version control system for > Puppet manifests.  However, since we have 4 puppetmasters, we're > wondering how to deal with timestamps

[Puppet Users] tidying up

2009-08-24 Thread Dick Davies
Hi all I've got a nice little VirtualBox test VLAN with a puppetmaster and 3 nodes, and I use it for trying out new classes before they go to the real puppetmaster for testing. After a few months of playing around, my poor little puppets are running all sorts of rubbish; NFS, networked syslog, m

[Puppet Users] Information: Puppet server

2009-08-24 Thread cnjohnson
Later this week, we will be moving our puppet server to an ancient IBM PowerPC 970FX (akin to the Mac G5 server) with 8 cores and 16GB RAM. It will run ubuntu-server, apache+ss, passenger and puppet. However, at the moment our server is an IBM HS20, x86_64, with 4 cores and 1GB of RAM. It is hand

[Puppet Users] Re: facter bug ?

2009-08-24 Thread Paul Nasrat
2009/8/24 Jean Spirat : > > hi, > >  i have an issue with facter, here: > >  > sudo facter -y productname > --- > productname: > >  > sudo facter -y |grep productname > productname: PowerEdge 860 This is a known issue in 1.5.x which we hope to fix for 1.6.0, whilst still making fact resolution fa

[Puppet Users] Re: Running puppet on manifest modificattion

2009-08-24 Thread Michael Gliwinski
On Monday 24 August 2009 11:35:01 sameer wrote: > Hi All, > > I am new to Puppet and recently switched from Cfengine. I used it to > make to propagate a configuration file. The manifest involved wgetting > a file and restarting the concerned daemon. As a result of this within > a couple of hours

[Puppet Users] Re: facter problems on el5 x86_64

2009-08-24 Thread Arnau Bria
On Mon, 24 Aug 2009 09:17:09 -0500 Paul Nasrat wrote: > Odd as 1.5.5 should win in EVR comparison and yum should do the right > thing. > > It may be as the DAG package is arch specific whereas EPEL is noarch > with later versions of RHEL/Centos and fedora where ruby abi is > installed. > > %def

[Puppet Users] facter bug ?

2009-08-24 Thread Jean Spirat
hi, i have an issue with facter, here: > sudo facter -y productname --- productname: > sudo facter -y |grep productname productname: PowerEdge 860 you see ? facter productname do not show any answer but facter alone get it... this is on kernelversion: 2.6.22.14 puppetversion: 0.22.4 rub

[Puppet Users] Re: Running puppet on manifest modificattion

2009-08-24 Thread Silviu Paragina
Is there any reason for specifically using wget and not the file resource. You usually use the service and file resources for what you do... Something like this example here for nginx http://github.com/lak/puppet-nginx/tree/master (look in both init.pp and config.pp). Stripping down should loo

[Puppet Users] Re: facter problems on el5 x86_64

2009-08-24 Thread Paul Nasrat
2009/8/24 Arnau Bria : > On Mon, 24 Aug 2009 09:52:02 -0400 > Larry Ludwig wrote: >> I have not seen that error before and have many EL5 installs. > I found the source of problem. > > I had to exclude facter from dag repo, if not, I have 2 facters > installed, 1.5.5 and 1.3.7... and seems that 1

[Puppet Users] Re: facter problems on el5 x86_64

2009-08-24 Thread Arnau Bria
On Mon, 24 Aug 2009 09:52:02 -0400 Larry Ludwig wrote: > > Hi Arnau, Hi Larry, > I have not seen that error before and have many EL5 installs. I found the source of problem. I had to exclude facter from dag repo, if not, I have 2 facters installed, 1.5.5 and 1.3.7... and seems that 1.3.7 is

[Puppet Users] Re: facter problems on el5 x86_64

2009-08-24 Thread Larry Ludwig
Hi Arnau, I have not seen that error before and have many EL5 installs. -L -- Larry Ludwig Reductive Labs --~--~-~--~~~---~--~~ 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] facter problems on el5 x86_64

2009-08-24 Thread Arnau Bria
Hi all, Fresh install on sl5 (el5) x86_64 and I get this errro when runnning puppet: # puppetd --server=server.domain.com --test Could not load /usr/lib/ruby/site_ruby/1.8/facter/hostname.rb: wrong number of arguments (2 for 1) Could not load /usr/lib/ruby/site_ruby/1.8/facter/network.rb: unin

[Puppet Users] Running puppet on manifest modificattion

2009-08-24 Thread sameer
Hi All, I am new to Puppet and recently switched from Cfengine. I used it to make to propagate a configuration file. The manifest involved wgetting a file and restarting the concerned daemon. As a result of this within a couple of hours I got flooded with alerts because the daemon kept restartin