In the last article, we discussed about Install Knife-azure Plugin
In this article we will create a template that will be used by a cookbook.
As we mentioned previously, we need to generate a template file which will be used as default.html page.
First of all we will execute the following command to generate the template:
chef generate template webserver Default.htm
Default.htm.erb and modify it.
Upload the cookbook to Chef server by using knife cookbook upload webserver
Now we are ready to use the template in the recipe of cookbook.
In the Next article we will discuss about Creating Cookbook
Labels: Automation, Chef, Cloud Computing, Devops, Microsoft Azure