[chef] RE: Ohai Chefs! - Template writing issue.


Chronological Thread 
  • From: Phillip Roberts < >
  • To: " " < >
  • Subject: [chef] RE: Ohai Chefs! - Template writing issue.
  • Date: Wed, 23 Jul 2014 17:09:14 +0000
  • Accept-language: en-US

I apologize ahead of time for the subject line. I hit send before I should have :P

 

Thanks,

 

Phillip Roberts | Sr. Linux Systems Administrator

MyBuys - Know Every Consumer

O 734.922.7014| M 614.423.9871 | ">

@MyBuys | LinkedIn | Facebook

 

 

From: Phillip Roberts [mailto:
Sent: Wednesday, July 23, 2014 1:08 PM
To:
Subject: [chef] Ohai Chefs!

 

Is there a way to make a recipe only write a template file if the file doesn’t exist or if the template has changed?

 

For instance, I have a recipe that generates zone files for bind based off of a list of domains in a data bag. However, on every chef-client run, it is regenerating the file, which is also regenerating the serial number.

 

Any assistance would be appreciated.

 

Thanks,

 

Phillip Roberts | Sr. Linux Systems Administrator

MyBuys - Know Every Consumer

O 734.922.7014| M 614.423.9871 | ">

@MyBuys | LinkedIn | Facebook

 

 




Archive powered by MHonArc 2.6.16.

§