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


Chronological Thread 
  • From: Adam Edwards < >
  • To: " " < >
  • Subject: [chef] Re: Template notifications on Windows not working on 11.4.4 or 11.4.0
  • Date: Thu, 2 May 2013 16:51:52 +0000
  • Accept-language: en-US

Try specifying the template with forward slash -- it is possible you are
hitting the issue below:
http://tickets.opscode.com/browse/CHEF-4082


Thanks.

-Adam

On 5/2/13 9:49 AM, 
" "
 
< >
 wrote:

>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.

§