[Puppet Users] Re: puppetd no-daemonize

2009-07-24 Thread Derek Yarnell
--test does do the right thing and doesn't fork a copy into the background and does what I need it to do running the built in version of ruby (1.8.1) or running the new ruby (1.8.7). Anyway thanks again, derek On Fri, Jul 24, 2009 at 1:05 PM, Trevor Hemsley wrote: > > I no longer have a RHEL4 s

[Puppet Users] Re: puppetd no-daemonize

2009-07-24 Thread Trevor Hemsley
I no longer have a RHEL4 system to try it on but our standard until a few months ago was RHEL4 and puppetd --test certainly used to work (--test includes --no-daemonize) I seem to remember that we had other problems with Ruby as supplied by Centos4 so we installed these: ruby-1.8.5-5.el4.centos.

[Puppet Users] Re: puppetd no-daemonize

2009-07-24 Thread Derek Yarnell
I spoke too soon, I recompiled with ruby 1.8.7, added rubygems and installed puppet and got the same behavior on RHEL4. Can anyone confirm that --no-daemonize works for them on RHEL4? puppetd --onetime --no-daemonize --verbose --debug Thanks, derek On Thu, Jul 23, 2009 at 7:40 PM, Derek Yarn

[Puppet Users] Re: puppetd no-daemonize

2009-07-23 Thread Derek Yarnell
Ok, this would seem to be a problem on RHEL4 w/ the built in ruby as my RHEL5 w/ the built in ruby works as I would expect running the same command. RHEL4 ships with, # ruby --version ruby 1.8.1 (2003-12-25) [i386-linux-gnu] What are other people doing on RHEL4 are you using the built in ruby or

[Puppet Users] Re: puppetd no-daemonize

2009-07-23 Thread Trevor Vaughan
Just for input, I haven't been seeing this behavior with 0.24.8 (or any previous release) on Fedora. Trevor On Thu, Jul 23, 2009 at 17:43, Derek Yarnell wrote: > On Tue, Jul 21, 2009 at 8:13 PM, Luke Kanies wrote: >> >> It's not daemonizing there, it's exiting -- if you use --onetime, it >> exi

[Puppet Users] Re: puppetd no-daemonize

2009-07-23 Thread Derek Yarnell
On Tue, Jul 21, 2009 at 8:13 PM, Luke Kanies wrote: > > It's not daemonizing there, it's exiting -- if you use --onetime, it > exits after the run. > It really does daemonize there, # ps axuww | grep puppet root 2476 0.0 0.2 4036 644 pts/1S+ 17:41 0:00 grep puppet # /usr/sbin/p

[Puppet Users] Re: puppetd no-daemonize

2009-07-21 Thread Luke Kanies
On Jul 13, 2009, at 2:13 PM, Derek Yarnell wrote: > So I have been trying to run puppet once in my kickstart %post > scripts but every time it detaches and daemonizes even though I have > explicitly stated otherwise. Am I missing something? > > # rpm -q puppet > puppet-0.24.8-1 > > # /usr/s