[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: Thu, 10 Jul 2014 11:41:47 -0400

any comments about if I am doing it correctly?


On Fri, Jun 20, 2014 at 5:09 PM, S Ahmed < " target="_blank"> > wrote:
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!




Archive powered by MHonArc 2.6.16.

§