- From: "Julian C. Dunn" <
>
- To: "
" <
>
- Subject: [chef] Re: Workflow of Making, Testing and Using a Cookbook?
- Date: Mon, 19 May 2014 10:49:24 -0400
On Sun, May 18, 2014 at 11:08 AM, Kevin Meredith
<
>
wrote:
>
I'm writing a cookbook that deploys a web app. The cookbook, "my_cookbook,"
>
does the following:
>
>
(1) install Java and Tomcat
>
(2) copies a remote WAR into Tomcat's webapps directory.
>
>
I'm using test-kitchen to test out this cookbook.
>
>
Once this cookbook is properly tested, here's my understanding as to how to
>
deploy it using chef-client & chef-server:
>
>
(1) set up Chef Server to host "my_cookbook"
>
--> involves forking opscode/chef-repo
Actually it doesn't involve that at all, though it's a good idea to
store your cookbook in source control (in its OWN repository, not as a
subdirectory of a 'chef-repo' repository or using git submodules or
any of that funny business). However, 'knife' doesn't care about that;
you merely need to upload your cookbook to the server.
>
(2) install and set up chef-client on my "node", i.e. machine to be
>
provisioned from Chef-Server
Right.
- Julian
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.