[chef] chef-solo and different server configs


Chronological Thread 
  • From: S Ahmed < >
  • To:
  • Subject: [chef] chef-solo and different server configs
  • Date: Fri, 18 Nov 2011 16:14:47 -0500

I'm planning on setting things up with the below setup.  This is for a 2-4 server setup, looking for guidance/best practises for a chef-solo repo.

When using chef-solo with a setup like:

/var/chef-solo/
/var/chef-solo/cookbooks

If I have web servers, a db server, etc. to configure, I guess it is just a matter of having the necessary recipies in the cookbook and then creating a seperate .json file like web1.json and db1.json correct?

I'll save this in a git repo, so that if I need to update anything I can then run a command than will update the repo's of all my servers, and then run the chef-solo command.

Running chef with:

chef-solo -c ~/solo.rb -j ~/web1.json






Archive powered by MHonArc 2.6.16.

§