[Puppet Users] Puppetd hangs with 100% CPU usage

2009-09-25 Thread Bostjan Skufca
Hi again, puppetd started to hang with 100% CPU usage all of the sudden. Strace just keeps repeating these 2 lines: --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- sigreturn() = ? (mask now []) In logs it hangs with this message: debug: Calling fileserver.describe

[Puppet Users] Re: Format s not supported for Puppet ???

2009-09-25 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allan Marcus wrote: > debug: Format s not supported for Puppet:; has not implemented > method 'from_s' > debug: Puppet::Network::Format[json]: false value when expecting true > > > I still see these error messages with 0.25.1. Should I worry a

[Puppet Users] Re: copying file from multiple sources

2009-09-25 Thread Luke Schierer
On Fri, Sep 25, 2009 at 1:23 PM, Luke Schierer wrote: > On Thu, Sep 24, 2009 at 11:43 AM, Luke Schierer > wrote: > >> I have the following snippet I am using to test with the puppet command >> >> node host1 { >> >> file { "/var/www/target": >> path => "/var/www/target", >> mode => 570, >

[Puppet Users] Re: failing to run a script within puppet

2009-09-25 Thread Asif Iqbal
On Fri, Sep 25, 2009 at 2:42 AM, David Schmitt wrote: > > Asif Iqbal wrote: > > > > > > On Wed, Sep 23, 2009 at 1:50 PM, Joe McDonagh > > mailto:joseph.e.mcdon...@gmail.com>> > wrote: > > > > > > Asif Iqbal wrote: > > > I have a perl script that runs fine manually, but fails to run by >

[Puppet Users] Re: Format s not supported for Puppet ???

2009-09-25 Thread Brice Figureau
On 25/09/09 1:23, Allan Marcus wrote: > debug: Format s not supported for Puppet:; has not implemented > method 'from_s' > debug: Puppet::Network::Format[json]: false value when expecting true > > > I still see these error messages with 0.25.1. Should I worry about > these, enter bugs, o

[Puppet Users] Re: copying file from multiple sources

2009-09-25 Thread Luke Schierer
On Thu, Sep 24, 2009 at 11:43 AM, Luke Schierer wrote: > I have the following snippet I am using to test with the puppet command > > node host1 { > > file { "/var/www/target": > path => "/var/www/target", > mode => 570, > owner => apache, > group => wheel, > ensure => directory, >

[Puppet Users] Re: authentication issue with passenger

2009-09-25 Thread Allan Marcus
it just gets worse. When using a 0.24.8 client against a 0.25.1 server, where the server is running Passenger, nothing I do in the auth.conf will allow the client to work. here's my auth.conf: path / auth any allow * I've also tried: path / auth no allow * and here are the errors I get.

[Puppet Users] Re: authentication issue with passenger

2009-09-25 Thread Allan Marcus
In both cases puppetmasterd is run as the puppet user, at least according to ps. --- Thanks, Allan Marcus 505-667-5666 On Sep 25, 2009, at 4:38 AM, Silviu Paragina wrote: > > Allan Marcus wrote: >> Ug. >> >> does anyone have any idea why my clients can connect just fine when >> using webri

[Puppet Users] Re: Puppet client running into an error but not reporting it.

2009-09-25 Thread Ohad Levy
I didnt find docs either, but hopefully this simple example which I use in Foreman can give you all the info you need :) http://theforeman.org/repositories/entry/foreman/extras/puppet/reports/foreman.rb Ohad On Fri, Sep 25, 2009 at 5:54 PM, Tim Uckun wrote: > > > you can also parse the client

[Puppet Users] Re: Puppetrun does not work with certificate error.

2009-09-25 Thread Calimero
On 24 sep, 11:19, Nobuchika Tanaka wrote: > [What I did & problem detail] > 1.Install Redhat4.5 EL AS to puppetd host. > > 2.Install puppetd package to puppetd host and start puppetd. > > 3.Confirm that puppetd connects with puppetmasterd. > puppetmasterd[1984]: Allowing unauthenticated client h

[Puppet Users] Re: Format s not supported for Puppet ???

2009-09-25 Thread Peter Meier
> debug: Format s not supported for Puppet:; has not implemented > method 'from_s' > debug: Puppet::Network::Format[json]: false value when expecting true > > > I still see these error messages with 0.25.1. Should I worry about > these, enter bugs, or just ignore them? did you file a b

[Puppet Users] Re: Monitoring whether puppetd should be run

2009-09-25 Thread Calimero
On 23 sep, 14:45, Ohad Levy wrote: > > why not ? :) > Let's say that we're doing everything from scratch: new distro, new apps, new deployment system and at last: puppet+svn. My colleague and I we've spent almost a year migrating configs to puppet, creating RPM packages, etc ... so we're pret

[Puppet Users] syntaxt to cat files together

2009-09-25 Thread Dick Davies
Is there a way to concat multiple files together to generate the content of a File resource? I know this can be done with templates, but wondered if there was a way to do it with straight files (without the overhead of running through ERB). [ I'm trying to do this to create an authorised_keys fi

[Puppet Users] Re: authentication issue with passenger

2009-09-25 Thread Silviu Paragina
Allan Marcus wrote: > Ug. > > does anyone have any idea why my clients can connect just fine when > using webrick but cannot when using passenger? this only happens with > puppetmasterd 0.25.x. When the client tries to connect I see: > > puppetmasterd[3485] : Starting Puppet server version 0.2

[Puppet Users] Re: Puppetrun does not work with certificate error.

2009-09-25 Thread Silviu Paragina
Nobuchika Tanaka wrote: > Hi. > I have a trouble that puppetrun does not work, because of sslv3 > certificate error. > So could you tell me what I should do to make puppet work well. > > [Environment] > Puppetmasterd > -version:0.23.2 > -OS:Redhat3 EL AS > > Puppetd > -version:0.23.2 > -OS:Red

[Puppet Users] Re: Puppet client running into an error but not reporting it.

2009-09-25 Thread Tim Uckun
> you can also parse the client log files, but I usually get a notification > (or see it in Foreman) when a client did not send a report in the last XX > minutes, than I can look into the client and see whats wrong. I was thinking I would might like to write my own report "engine" but I can't se

[Puppet Users] Re: foreman under passenger

2009-09-25 Thread Matt
I'll give that a bash and see if it stops the kickstart clients getting a 500. Thanks, Matt 2009/9/25 Ohad Levy : > Hi Matt, > > Sicne foreman is a rails app, you dont need the config.ru (its only rack > applications which require it). > > if you have passenger enabled somehwere in you apache c

[Puppet Users] Re: Ruby on HP-UX B.11.11 (11iv1)

2009-09-25 Thread miguel81
I recommend a good read... http://www.amazon.co.uk/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780/ref=sr_1_1?ie=UTF8&s=books&qid=1253860933&sr=1-1 what i like about amazon as well once you are finished with it you can sell it back through the marketplace... look they going for a £