To follow up on this idea I personally use the attribute approach, common attributes in attributes/default.rb and environments specific attributes in an attribute file per environment starting with a return in top of file to avoid reading the attributes in other environments. QA.rb: return unless node.chef_environment == 'QA' # rest of attributes specific to QA environment
Le 2015-09-24 16:25, Fabien Delpierre a écrit :
|
Archive powered by MHonArc 2.6.16.