Copy cookbook folder from startup kit to /root/
Open a terminal in CentOS workstation and go to cookbooks directory. Execute chef generate cookbook webserver in terminal. It will create webserver folder in the cookbooks folder.
Open the webserver cookbook folder and verify different directory automatically created by the chef generate command.
Edit default.rb file available in the recipe directory.
We will write a recipe that will install IIS Server and create a Web page:
In the Next article we will discuss about Execute knife-azure to create Virtual Machine on Microsoft Azure