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 Yarnell <derektyarn...@gmail.com>wrote: > 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 are > you providing a newer version? Funny thing is that everything works just > fine other than this with the built in ruby, I just wanted to make sure that > in the %post install of the kickstart that puppet actually ran (if you > background it the %post install will just finish and reboot before puppet > has a chance to run). Anyone else been trying to do this? > > Thanks, > derek > > On Thu, Jul 23, 2009 at 6:49 PM, Trevor Vaughan <peiriann...@gmail.com>wrote: > >> >> 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<derektyarn...@gmail.com> >> wrote: >> > On Tue, Jul 21, 2009 at 8:13 PM, Luke Kanies <l...@madstop.com> 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/1 S+ 17:41 0:00 grep >> puppet >> > # /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug >> > debug: Creating default schedules >> > debug: Failed to load library 'shadow' for feature 'libshadow' >> > debug: Failed to load library 'ldap' for feature 'ldap' >> > ... >> > debug: Finishing transaction -606656664 with 0 changes >> > # ps axuww | grep puppet >> > root 2518 88.0 6.0 19080 15412 ? Rs 17:41 0:00 >> /usr/bin/ruby >> > /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug >> > root 2541 0.0 0.2 4888 648 pts/1 S+ 17:41 0:00 grep >> puppet >> > It is doing --onetime correctly but still regardless of putting >> > --no-daemonize or not it still forks into the background. >> > -- >> > --- >> > Derek T. Yarnell >> > >> > > >> > >> >> >> >> > > > -- > --- > Derek T. Yarnell > -- --- Derek T. Yarnell --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---