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 upgrades through scripts, but you can have an exec like this:

exec { "/sbin/reboot":
   refreshonly => "true"
}

Then in your kernel package def set the attribute notify => 
Exec["/sbin/reboot"]. This means when your kernel package gets changed, 
the system reboots. It will be unpredictable however, unless your nodes 
are in LDAP and you can run puppetrun on all of them at once...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to