Hey Mark,
If I understand your question correctly, you have the option to pass a config file to the berks command. e.g.
berks upload —config==/home/blah/.berkshelf/config_A.json
berks upload —config==/home/blah/.berkshelf/config_B.json
Thanks,
Brian
From: "Mark H. Nichols" <
">
>
Reply-To: < "> > Date: Wednesday 8 January 2014 15:08 To: < "> > Subject: [chef] Multiple chef-repo with Berkshelf
All -
Currently I have three Chef instances, meaning three chef-repos, call them A, B, and C. (We are hoping to merge into one repo soon.) I want to use Berkshelf. However, Berkshelf creates its config.json file at $HOME/.berkshelf/config.json which means that
the “chef”: portion is shared for all three instance.
Can I split this file into two, putting the “chef”: portion specific to my chef-repo at the chef-repo level while leaving the rest of the config.json at $HOME?
If I can’t split the file, can I just create the .berkshelf directory at the chef-repo level and have three, one for each chef-repo?
Thanks,
|
Archive powered by MHonArc 2.6.16.