[chef] RE: Execute only if file updated?


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Execute only if file updated?
  • Date: Thu, 4 Dec 2014 19:41:17 +0000
  • Accept-language: en-US

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:
Sent: Thursday, December 04, 2014 12:18 PM
To:
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.

§