[chef] Using time stamps in a template?


Chronological Thread 
  • From: Kevin Keane Subscription < >
  • To: chef < >
  • Subject: [chef] Using time stamps in a template?
  • Date: Mon, 25 May 2015 08:26:21 -0700

Title: Using time stamps in a template?

I am looking for a way to put a time stamp into a template, *without* causing the file to be regenerated on each chef run. I want the time stamp to be updated only if something else has changed in the template, as well.

The use case is for generating a DNS zone file and updating the serial number only when there was a change.

Is there a common solution for this problem in Chef?


Kevin Keane

The NetTech

760-721-8339

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html





Archive powered by MHonArc 2.6.16.

§