[chef] Help in how to add nodes to different environments


Chronological Thread 
  • From: Venkat Chowdhary < >
  • To: " " < >
  • Subject: [chef] Help in how to add nodes to different environments
  • Date: Mon, 17 Mar 2014 23:13:37 +0800 (SGT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=pyrvJl/0ccAfpATl4F+PHxM8VKSBot9pE2fLAN/pwGwW0Rz5tKZNg+lNOrWthTL9h3YCi2GaoDgHaWoCGbXXxpJ54M3NOx5dv1oEFZ5OHm76QZfdMiWbAPKgiLDg5BtYeJtSoFhle0+4b2ndm/Ed84gBsFHmdt+e6krwwnFYsqE=;

Hi  

   I am using chef-solo. I am creating environments (dev.json) manually like below:

{
  "name": "dev",
  "description": "Development Environment",
  "cookbook_versions": {
  },
  "json_class": "Chef::Environment",
  "chef_type": "environment",
  "default_attributes": {
  },
  "override_attributes": {
  }
}

Could you please help me how to add nodes to different environments like (dev, staging, production etc ...)

Your help is highly appreciable.

Thanks in advance.

Thanks & Regards
Venkat



Archive powered by MHonArc 2.6.16.

§