[chef] Workflow of Making, Testing and Using a Cookbook?


Chronological Thread 
  • From: Kevin Meredith < >
  • To:
  • Subject: [chef] Workflow of Making, Testing and Using a Cookbook?
  • Date: Sun, 18 May 2014 11:08:46 -0400

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
(2) install and set up chef-client on my "node", i.e. machine to be provisioned from Chef-Server

Please let me know if I have the right idea as far as deployment of my_cookbook to the Chef Server & provisioning on the node.

Thanks,
Kevin




Archive powered by MHonArc 2.6.16.

§