Setting the chef_environment


#1

Hey guys I am trying to move to chef 10 finally but one thing I am stuck on is the env setting. Any help appreciate any help you can provide. I know late to the party but could not find any info this one.

Joshua

setting the env with a json file, chef-client -j client.json

{
“chef_environment”: “dev”
}

showing the node, what is the “normal” section?

{
“normal”: {
“chef_environment”: “dev”,
“tags”: [

]

},
“name”: “server001.local.domain”,
“chef_environment”: “prod”,
“run_list”: [

]
}


Joshua Miller


#2

On Sun, Apr 15, 2012 at 2:37 PM, jassinpain@gmail.com
jassinpain@gmail.com wrote:

showing the node, what is the “normal” section?

Node attributes are normal attributes:

http://wiki.opscode.com/display/chef/Attributes#Attributes-NodeAttributes

Bryan