[chef] Chef handler to reboot windows machine


Chronological Thread 
  • From: Sachin Gupta < >
  • To:
  • Cc: sachin kumar < >
  • Subject: [chef] Chef handler to reboot windows machine
  • Date: Mon, 17 Nov 2014 19:00:19 +0530

Hi All,

I have a use case where I need to reboot windows machine after some package installation.

would like to know the possible best practice to implement this use case;

a)  Make a single recipe that will do the package installation and product installation and then at last      call chef handler to reboot the machine

a)   make two different chef recipe, the first recipe will install packages and then reboot the machine,
       the second recipe will do the remaining stuff. I don't know this will work or not.    
       Is there a way, we can return the chef client to run the same cookbook after reboot??
    

I also gone through some documentation but nothing is useful.

Any help would the useful .


Thanks & Regards,
Sachin Kumar



Archive powered by MHonArc 2.6.16.

§