- From: "Julian C. Dunn" <
>
- To: "
" <
>
- Subject: [chef] Re: window_reboot attribute issue
- Date: Mon, 12 May 2014 09:55:03 -0500
Make sure you actually have the windows::reboot_handler recipe in your
run_list so that it can reboot the system based on the reboot request
state.
- Julian
On Mon, May 12, 2014 at 9:26 AM, Gontrand, Premkumar
<
>
wrote:
>
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
>
>
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.