[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: notifies on resource not notifying


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: notifies on resource not notifying
  • Date: Wed, 2 Jan 2013 11:33:40 -0800


On Wednesday, January 2, 2013 at 10:02 AM, Seif Attar wrote:

On 2 January 2013 16:43, Daniel DeLeo < " target="_blank"> > wrote:
For sanity's sake can you copy the debug code you have in the ruby block to outside of the ruby block (so it runs during compile time)?

So you don't think it has anything to do with https://github.com/opscode/chef/blob/master/lib/chef/provider/file.rb#L148-L153 as the comment says that reporting won't work.
That's correct, the reporting stuff has to do with explicitly recording before and after state for resources for the purpose of storing that information elsewhere.

I'll need to look at it more in-depth, but at the moment I'm seeing something odd with the names of the resources and the path separators:

localhost [2013-01-02T17:48:42+00:00] INFO: Processing template[C:\Temp\bt97\1.8.9-alpha-01133\Deployment\Settings\CHEF.js] action nothing (Wiggle_Billing::default line /chef/cache/cookbooks/Wiggle_Billing/recipes/default.rb)
localhost [2013-01-02T17:49:36+00:00] INFO: windows_zipfile[unzip_artefacts] sending create action to template[C:/Temp/bt97/1.8.9-alpha-01133/Deployment/Settings/CHEF.js] (immediate)
localhost [2013-01-02T17:49:36+00:00] INFO: Processing template[C:/Temp/bt97/1.8.9-alpha-01133/Deployment/Settings/CHEF.js] action create (Wiggle_Billing::default line /chef/cache/cookbooks/Wiggle_Billing/recipes/default.rb)
localhost [2013-01-02T17:49:37+00:00] INFO: template[C:/Temp/bt97/1.8.9-alpha-01133/Deployment/Settings/CHEF.js] backed up to c:/chef/backup/Temp/bt97/1.8.9-alpha-01133/Deployment/Settings/CHEF.js.chef-20130102174937
localhost [2013-01-02T17:49:37+00:00] INFO: template[C:/Temp/bt97/1.8.9-alpha-01133/Deployment/Settings/CHEF.js] updated content

Note the forward slash vs. backward slash. It may be a red herring, I'll have to do more investigation.

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§