P.S : Iam a beginner
Problem : Write a recipe that will install apachee2 server in the Node host01 and add a home page. The home page index.html should be placed within the files directory in cookbook.
this are the steps done by me
- generate cookbook apache2
2.Edit the default file with contents.
package " apache2" do
service "apache2" do
action [:enable , :start]
cookbook_file "/var/www/html/index.html" do
however executing this , it is getting executed succesfully but the that tutorial is not going to next page.Please let me know if any other steps to be done as per the problem statement