[chef] RE: using berkself and solo, does file layout this look correct?


Chronological Thread 
  • From: S Ahmed < >
  • To:
  • Subject: [chef] RE: using berkself and solo, does file layout this look correct?
  • Date: Fri, 20 Jun 2014 17:09:59 -0400

Hello,

After breaking the cookbook using:

>berks cookbook testcookbook

I then created the following:

/roles/web.rb       # front-end web servers
/roles/db.rb          # db server
/roles/search.rb    # search servers

I then created a seperate json file for each chef-solo role:

/solo/web.json
/solo/db.json
/solo/search.json

I will then use berkself vendor to save to /cookbooks

I then run chef solo on each server role using the appriopriate .json file.

Is this reasonable?

thanks!


  • [chef] RE: using berkself and solo, does file layout this look correct?, S Ahmed, 06/20/2014

Archive powered by MHonArc 2.6.16.

§