[chef] Question about chef environments and attributes


Chronological Thread 
  • From: Jenn Fountain < >
  • To: " " < >
  • Subject: [chef] Question about chef environments and attributes
  • Date: Thu, 10 Oct 2013 20:45:35 -0400

We have Production, Test and Development environments setup on our Chef 
Servers.  I would like to set attributes for each environment in attributes 
files like this:

default.rb contains   default[:redis][:server]='redis1'
Production.rb contains   default[:redis][:server]='redis1.prod'
Development contains   default[:redis][:server]='redis1.dev'
Test contains   default[:redis][:server]='redis1.test'

Am I understanding attributes correctly and this will work?

Thanks for any info!
Jenn




Archive powered by MHonArc 2.6.16.

§