- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: RE: Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?
- Date: Fri, 22 May 2015 08:44:03 -0700
On Thursday, May 21, 2015 at 11:59 PM, Torben Knerr wrote:
>
>
@Daniel thanks for the policyfile blog post teaser, have been waiting for a
>
good
>
tutorial style summary already :-)
>
>
Wondering:
>
does it work
>
with plain chef solo / zero too (e.g.
>
`chef-client -z --policyfile ...`),
>
or is it tighly coupled with chef provisioning for now?
I glossed over it in the blog post, but there is a `chef export` command that
puts your policy lock and cookbooks into a directory structure that is
understood by local mode. This is how the test kitchen driver works. Note
that Chef Zero doesn’t have the “native” policyfile APIs yet, so this works
in compatibility mode. It also requires you to set the `versioned_cookbooks`
setting in your client.rb. If you find it helpful, the code for the TK
provisioner is here:
https://github.com/chef/chef-dk/blob/master/lib/kitchen/provisioner/policyfile_zero.rb
>
>
>
Cheers, Torben
>
--
Daniel DeLeo
- [chef] RE: Re: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, (continued)
- [chef] RE: Re: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Fouts, Chris, 05/20/2015
- [chef] Re: RE: Re: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Yoshi Spendiff, 05/20/2015
- [chef] Re: Re: RE: Re: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Azul, 05/21/2015
- [chef] Re: Re: Re: RE: Re: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Daniel DeLeo, 05/21/2015
[chef] RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Nico Kadel-Garcia, 05/21/2015
- [chef] Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Torben Knerr, 05/21/2015
- [chef] Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Ranjib Dey, 05/21/2015
- [chef] RE: Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Fouts, Chris, 05/21/2015
- [chef] Re: RE: Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Daniel DeLeo, 05/21/2015
- [chef] Re: Re: RE: Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Torben Knerr, 05/22/2015
- [chef] Re: Re: Re: RE: Re: Re: RE: RE: Re: RE: Re: Proper Berksfile, Berksfile.lock usage?, Daniel DeLeo, 05/22/2015
Archive powered by MHonArc 2.6.16.