On Thursday, July 10, 2014 at 8:41 AM, S Ahmed wrote:
> any comments about if I am doing it correctly?
>
>
> On Fri, Jun 20, 2014 at 5:09 PM, S Ahmed < "> (mailto: "> )> wrote:> > /roles/web.rb (http://web.rb) # front-end web servers
> > Hello,
> >
> > After breaking the cookbook using:
> >
> > > berks cookbook testcookbook
> >
> > I then created the following:
> >
> > /roles/db.rb # db server> > /solo/web.json (http://web.json)
> > /roles/search.rb # search servers
> >
> > I then created a seperate json file for each chef-solo role:
> >
> > /solo/db.jsonchef-solo is capable of using ruby formatted roles directly, so you can just package those up and ship them to your nodes without converting to 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!
Also, berkshelf can package your cookbooks for chef-solo using the `berks package` command, see the "PACKAGING COOKBOOKS” section of http://berkshelf.com
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.