- From: Arnold Krille <
>
- To:
- Subject: [chef] Re: Multiple chef-repo with Berkshelf
- Date: Wed, 8 Jan 2014 22:47:28 +0100
On Wed, 8 Jan 2014 09:08:05 -0600 "Mark H. Nichols"
<
>
wrote:
>
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?
I 'solved' this by having a 'berks' skript in one of my repos that
calls 'bundle exec berks --config=<path> $*'. Now I only need to
remember to use "./berks" in that repo...
Have fun,
Arnold
Attachment:
signature.asc
Description: PGP signature
Archive powered by MHonArc 2.6.16.