Berks Vendor?

What is ‘berks vendor’ used for? What are some examples of workflows using ‘berks vendor’?

it allows you to assemble all the cookbook (your own and community)
specified in Berksfile in a single folder., you can run knife cookbook
upload -o vendor_dir -a to upload them all in one shot. Also the same can
be packaged in a tarball (berks does this) and ship it to a remote node to
be consumed by chef-solo

chef-runner uses this to provide to quick feedback cycle during cookbook
development/testing. I use a knife sync plugin which internally uses berks
vendor to sync cookbook in chef server and local repo.

Vendoring is common practice in artifact management, ruby gems/bundler,
mvn/artifactory etc does similar thing in their own domain, you can take a
look at those as well to understand how downstream tools consume those
vendorized artifacts,

cheers
ranjib

On Wed, Sep 10, 2014 at 4:33 PM, Durfee, Bernie (GE Global Research) <
bernie.durfee@ge.com> wrote:

What is ‘berks vendor’ used for? What are some examples of workflows using
‘berks vendor’?

I've used berks vendor to generate tarballs with all the cookbooks
needed to install a previous employer's products. The cookbooks were
provided to customers alongside other artifacts, and the documented
installation procedures invoked chef-solo.

On Wed, Sep 10, 2014 at 6:45 PM, Ranjib Dey dey.ranjib@gmail.com wrote:

it allows you to assemble all the cookbook (your own and community)
specified in Berksfile in a single folder., you can run knife cookbook
upload -o vendor_dir -a to upload them all in one shot. Also the same can be
packaged in a tarball (berks does this) and ship it to a remote node to be
consumed by chef-solo

chef-runner uses this to provide to quick feedback cycle during cookbook
development/testing. I use a knife sync plugin which internally uses berks
vendor to sync cookbook in chef server and local repo.

Vendoring is common practice in artifact management, ruby gems/bundler,
mvn/artifactory etc does similar thing in their own domain, you can take a
look at those as well to understand how downstream tools consume those
vendorized artifacts,

cheers
ranjib

On Wed, Sep 10, 2014 at 4:33 PM, Durfee, Bernie (GE Global Research)
bernie.durfee@ge.com wrote:

What is ‘berks vendor’ used for? What are some examples of workflows using
‘berks vendor’?

--
Brian Pitts
Web Operations Engineer