- From: Joshua Timberman <
>
- To:
- Subject: [chef] Re: Re: How to cope with reboot?
- Date: Thu, 19 Jan 2012 14:11:16 -0700
We do it with a report handler in our `windows` cookbook for handling
reboots.
https://github.com/opscode/cookbooks/blob/master/windows/files/default/handlers/windows_reboot_handler.rb
On Thursday, January 19, 2012 at 11:24 AM, Ranjib Dey wrote:
>
yes.. you can, using the execute resource. but that will abruptly terminate
>
the chef run, you can also achieve this using report handler to ensure that
>
the chef run is completed and then only reboot happens, also, you can use
>
chef to set a reboot after finishing the chef run using standard `at`
>
daemon.
>
>
>
On Thu, Jan 19, 2012 at 10:39 PM, Geoff Meakin
>
<
>
>
(mailto:
)>
>
wrote:
>
> Hi,
>
>
>
> I need to configure something on my system that requires a reboot to take
>
> effect… can I do that with Chef? Yes, it is Linux ;-)
>
>
>
> Thanks in advance,
>
>
>
> Geoff
--
Opscode, Inc.
Joshua Timberman, Technical Program Manager
IRC, Skype, Twitter, Github: jtimberman
Archive powered by MHonArc 2.6.16.