[chef] How to notify resources when config file changed?


Chronological Thread 
  • From: Jeppe Nejsum Madsen < >
  • To: " " < >
  • Subject: [chef] How to notify resources when config file changed?
  • Date: Fri, 21 Jun 2013 14:02:59 +0200

Ohai!

We're modifying a configuration file based on chef attributes (it's not a template and cannot be made into one atm) and would like to notify other resources if the content has changed (ie. restart services)

Has someone already written stuff for this (that works on Windows :-)??

I guess one method would be to create a temp file and compare with the existing and only move temp file into place if they differ....

/Jeppe





Archive powered by MHonArc 2.6.16.

§