Hi Josh, As you may recall, I'm the odd kid on the block using Puppet to manage many many embedded Windows 7 and XP devices, so my needs are probably not very representative of the Puppet community. I have no need for a reboot message/code. Most our devices already have a nightly scheduled reboot. I use run stages and a delayed shutdown to, for all practical purposes, ensure a resource that requires a reboot runs last and give the agent enough time to cleanly finish the run and send reports back. I also use a schedule resource to control when devices are allowed to apply a resource that requires a reboot.
I'll check out your reboot provider, thanks. I just use an exec currently. Regards, Adam On Tuesday, March 19, 2013 11:42:19 PM UTC-5, Josh Cooper wrote: > > > > On Monday, March 11, 2013, ad wrote: > >> James, >> >> Not yet, see http://projects.puppetlabs.com/issues/19162. >> >> My (ugly) approach for this now is a refreshonly exec with a delayed >> shutdown. I'd like to see a reboot => true or such for all resources that >> tell the agent to reboot after a run is complete when that resource is >> applied. >> > > I did something similar, reboot resource type that is only triggered via > notify/subscribe relationship from another resource. See > https://github.com/joshcooper/puppetlabs-reboot > > Adam, I'm curious about the approach you're talking about also. If reboot > was a metaparameter, I don't think it would be possible to specify > the reboot message or reason code (for different resources) But perhaps > that's not really important? > > >> Adam >> >> On Monday, March 11, 2013 6:55:46 AM UTC-5, jim wrote: >>> >>> Hi Guys >>> >>> I'm using puppet for my windows configuration, and was wondering when >>> installing / configuration something windowys, it requires a reboot, how >>> does this effect the "puppet run" >>> >>> e.g. join to domain ? >>> e.g. removing old version of software >>> e.g. host re-name >>> >>> Is there options you can tell puppet its going to reboot and to finish >>> that "puppet run" upon restart ???? >>> >>> >>> Regards >>> >>> James >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to puppet-users+unsubscr...@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > -- > Josh Cooper > Developer, Puppet Labs > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.