[chef] Re: RE: Execute only if file updated?


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Re: RE: Execute only if file updated?
  • Date: Fri, 5 Dec 2014 09:49:34 -0800

Thanks folks.

On Thu, Dec 4, 2014 at 11:41 AM, Fouts, Chris < " target="_blank"> > wrote:

You can extrapolate the idea in the accepted answer here

http://stackoverflow.com/questions/6974057/what-is-the-best-way-in-ruby-to-check-if-a-file-was-actually-modified

 

Chris

 

From: Douglas Garstang [mailto: " target="_blank"> ]
Sent: Thursday, December 04, 2014 12:18 PM
To: " target="_blank">
Subject: [chef] Execute only if file updated?

 

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.

§