[chef] window_reboot attribute issue


Chronological Thread 
  • From: "Gontrand, Premkumar" < >
  • To: " " < >
  • Cc: C2C CHEF < >
  • Subject: [chef] window_reboot attribute issue
  • Date: Mon, 12 May 2014 19:56:25 +0530
  • Accept-language: en-US
  • Acceptlanguage: en-US

I want to install and upgrade HPsitescope package for that reboot need after installing the package.

 

I tried to use window_reboot attribute but rebooting of the windows box is not happening. Whether I missed something on the code ?

 

 

cat default.rb

 

windows_reboot 0 do

action:request

timeout 0

end

 

 

PS C:\Users\a427665\chef\cookbooks\HPSiteScope> chef-solo -c solo.rb -j solo.json -l debug -L log.txt

c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/api.rb:4: Use RbConfig instead of obsole

te and deprecated Config.

Starting Chef Client, version 11.6.2←[0m

Compiling Cookbooks...←[0m

Recipe: windows::default←[0m

  * chef_gem[win32-api] action install←[0m (up to date)←[0m

  * chef_gem[win32-service] action install←[0m (up to date)←[0m

  * chef_gem[windows-api] action install←[0m (up to date)←[0m

  * chef_gem[windows-pr] action install←[0m (up to date)←[0m

  * chef_gem[win32-dir] action install←[0m (up to date)←[0m

  * chef_gem[win32-event] action install←[0m (up to date)←[0m

  * chef_gem[win32-mutex] action install←[0m (up to date)←[0m

Converging 8 resources←[0m

  * chef_gem[win32-api] action install←[0m (up to date)←[0m

  * chef_gem[win32-service] action install←[0m (up to date)←[0m

  * chef_gem[windows-api] action install←[0m (up to date)←[0m

  * chef_gem[windows-pr] action install←[0m (up to date)←[0m

  * chef_gem[win32-dir] action install←[0m (up to date)←[0m

  * chef_gem[win32-event] action install←[0m (up to date)←[0m

  * chef_gem[win32-mutex] action install←[0m (up to date)←[0m

Recipe: HPSiteScope::default←[0m

  * windows_reboot[0] action request←[0m (up to date)←[0m

Chef Client finished, 0 resources updated←[0m

PS C:\Users\a427665\chef\cookbooks\HPSiteScope>

 

 

Any cookbooks are available for HPsitescope package installation on window ?

 

 

Thanks & Regards,

Premkumar

UTS

 




Archive powered by MHonArc 2.6.16.

§