Modules, Roles, Profiles, Hiera, and Classification

We deploy the real environment, you take the scenario-based labs on us. Hands-on, from anywhere, at any time.

Time required: 2 Hours

Suggested Pre Requisites

You need to have completed the following Hands-On Labs:

  • Building Your first Puppet Module
  • Create a Role and Profile for NTP
  • Configure Hiera and Create a Hierarchy
  • Configure Code Manager


In this lab, we create an nginx module, role, and profile. We also configure hiera and create hiera data for your module.


1. Edit /etc/hosts
2. Set SELinux to permissive.
3. Install the Puppet master.
4. Configure your agent node.
5. Configure code manager.
6. Create a Puppetfile.
7. Clone your profiles module.
8. Clone your role module.
9. Configure hiera.
10. Generate your nginx module.
11. Create your core classes.
12. Create a defined type to manage vhost.
13. Add directory management.
14. Create templates.
15. Add your hiera data to the control repository.
16. Test and debug your module by executing a Puppet run against your agent node.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.