[chef] Re: How to parse out ShellOut


Chronological Thread 
  • From: Bryan McLellan < >
  • To: " " < >
  • Cc: sachin kumar < >
  • Subject: [chef] Re: How to parse out ShellOut
  • Date: Tue, 17 Feb 2015 11:08:37 -0500

Did you try using the reboot_pending? dsl method? I'd be curious to know that if it detects this situation.

execute "install more software" do
  command "powershell some things"
  not_if { reboot_pending? }
end




Archive powered by MHonArc 2.6.16.

§