[chef] setting the chef_environment


Chronological Thread 
  • From: " " < >
  • To:
  • Subject: [chef] setting the chef_environment
  • Date: Sun, 15 Apr 2012 11:37:05 -0700

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




Archive powered by MHonArc 2.6.16.

§