Hey there, I think you would just run "/sbin/reboot" exec { "reboot machine after kernel upgrade": command => "/sbin/reboot", subscribe => Exec["upgrade kernel"], refreshonly => true }
Tim On Tue, Apr 14, 2009 at 9:23 PM, James Richardson <ja...@jamesr.biz> wrote: > Hi, > > I am just starting to try to learn/use puppet. The problem I am trying > to overcome now it how to make a client reboot after a kernel upgrade. > > Alternatively, what is the best practice for managing kernels on a > debian system. > > Thanks > -- > James Richardson > Debian GNU/Linux Consultant > http://www.linkedin.com/in/jamesrichardsonconsulting > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAknlUzEACgkQklHVouX74MUBhwCdGjC95MG9iKK6yyBwE5vZMJaq > kmQAnRZkHf6OLxKyZZFLtGRzTMUmzThc > =STVe > -----END PGP SIGNATURE----- > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---