- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Chef-Solo to Chef-Zero
- Date: Tue, 2 Sep 2014 14:12:16 -0700
On Tuesday, September 2, 2014 at 2:07 PM, Durfee, Bernie (GE Global Research)
wrote:
>
A common workflow I use is…
>
>
1. Change my cookbook
>
2. Run ‘berks package’ to build a complete tarball of my cookbook with all
>
dependencies
>
3. SCP to a server
>
4. Run ‘sudo chef-solo -o “recipe[my-fancy-cookbook::default]" -r
>
cookbooks-1409688848.tar.gz’ to test the cookbook
>
5. Repeat
>
>
Is this workflow possible with chef-client in local mode? Can I pass
>
chef-client a tarball that was created by the ‘berks package’ command?
>
>
Thanks!
You’d probably use `berks vendor` to get your cookbook set into a directory
and rsync that over instead of shipping a tar archive. You’d have the same
basic flow, slightly different commands.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.