Reference no: EM132212233
Write a puppet module to accomplish the following: Automatically install and run apache with a default HTML page that gives information about the system.
That information should be: Operating System name, uptime, load averages, and 3 others of your choice from the facter command.
Some Helpful steps:
Shutdown httpd if running.
Test your module to see if nginx is installed successfully.
Ensure that nginx is running as well. ---- systemctl status ...?
Find out where the default index.html page is stored.-------- Somewhere in /var?
Modify your puppet module to use a template for said index.html
Create a template file for index.html to include the information from facter.
DON'T MODIFY THE /VAR ONE, create a template file in your module.
Recall the brief mention of the tag language stuff from the lecture.
Operating System name
Uptime
Load averages
and 3 other facts you find interesting from facter.