[Puppet Users] Re: force a reboot

2009-04-15 Thread Mike Renfro
On 4/14/2009 10:23 PM, James Richardson wrote: > Alternatively, what is the best practice for managing kernels on a > debian system. I won't call it a best practice, but I put all my kernels on hold and upgrade them manually when needed. exec { "hold-kernels": command => "for n

[Puppet Users] Re: force a reboot

2009-04-15 Thread Evan Hisey
On Wed, Apr 15, 2009 at 8:29 AM, Joe McDonagh wrote: > > James Richardson 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 managin

[Puppet Users] Re: force a reboot

2009-04-15 Thread Joe McDonagh
James Richardson 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 > I manage upgrad

[Puppet Users] Re: force a reboot

2009-04-14 Thread Tim Harper
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 wrote: > Hi, > > I am just starting to try