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/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: /Settings[/etc/puppet/puppetd.conf]/Settings[puppetd]/File[/ > var/puppet/state/state.yaml]: Autorequiring File[/var/puppet/state] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[puppetd]/File[/ > var/puppet/state/classes.txt]: Autorequiring File[/var/puppet/state] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/certs/#####################.pem]: Autorequiring File[/etc/ > puppet/ssl/certs] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[main]/File[/etc/ > puppet/ssl]: Autorequiring File[/etc/puppet] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[main]/File[/var/ > puppet/run]: Autorequiring File[/var/puppet] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/csr_#####################.pem]: Autorequiring File[/etc/ > puppet/ssl] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[main]/File[/var/ > puppet/state]: Autorequiring File[/var/puppet] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[main]/File[/var/ > puppet/log]: Autorequiring File[/var/puppet] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[main]/File[/var/ > puppet/lib]: Autorequiring File[/var/puppet] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/private_keys/###################.pem]: Autorequiring > File[/etc/puppet/ssl/private_keys] > debug: /Settings[/etc/puppet/puppetd.conf]/Settings[ssl]/File[/etc/ > puppet/ssl/public_keys/###################.pem]: Autorequiring File[/ > etc/puppet/ssl/public_keys] > debug: Finishing transaction -606390474 with 0 changes It's not daemonizing there, it's exiting -- if you use --onetime, it exits after the run. -- The Number 1 Sign You Have Nothing to Do at Work... The 4th Division of Paperclips has overrun the Pushpin Infantry and General White-Out has called for a new skirmish. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---