[chef] Re: Execute only if file updated?


Chronological Thread 
  • From: spiffytech < >
  • To:
  • Subject: [chef] Re: Execute only if file updated?
  • Date: Thu, 4 Dec 2014 12:19:13 -0500

You can give it `action :nothing`, then make it `subscribe :run` to the file block, or have the file block `notify :run` the `execute` block.

On Thu, Dec 4, 2014 at 12:17 PM, Douglas Garstang < " target="_blank"> > wrote:
All,

Is there a way to make chef run an execute ONLY IF a file is updated? Otherwise, _never_?

Doug






Archive powered by MHonArc 2.6.16.

§