[chef] Explicit "default" or "common" environment?


Chronological Thread 
  • From: Torben Knerr < >
  • To: " " < >
  • Subject: [chef] Explicit "default" or "common" environment?
  • Date: Wed, 19 Dec 2012 09:28:26 +0100

Hi Chefs,

I'm in the situation where my environment .rb files get larger, but 80% of the attributes are the same across all files.

This is quite a bit of code duplication, so I was wondering wheter there is something like an explicit "environments/_default.rb" whose run_list and attributes would get automatically merged with all other environments?

Is this a bad idea?

Cheers,
Torben




Archive powered by MHonArc 2.6.16.

§