[chef] Template notifications on Windows not working on 11.4.4 or 11.4.0


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Template notifications on Windows not working on 11.4.4 or 11.4.0
  • Date: Thu, 2 May 2013 09:49:14 -0700 (PDT)

The sample code below will never execute the "something" windows_batch command
however many times I update the template.

After a search on the web I found that someone had a similar issue since v10.
Is it possible that this issue still exists? Thanks

windows_batch "something" do
 code <<-EOH
 echo "this will not execute, but it should" > c:\\testoutput.txt 2>&1
 EOH
  action :nothing
end

template "c:\\test.config" do
  source 'test.config.erb'
  notifies :run, resources(:windows_batch => "something"), :immediately
end



Archive powered by MHonArc 2.6.16.

§