Set up Apache node groups
Tell Puppet Enterprise (PE) your desired infrastructure configuration by creating node groups to categorize related nodes based on their function. Before you begin, decide which of your inventory nodes you want to have Apache services.
Create your classification group
A classification node group is a parent group for other node groups that contain classification data. You only need to set up the classification node group once.
Create your apache node group
After creating the parent classification group, make the apache node group as a child of the classification group.
apache node group.Add nodes to the apache node group
Once you determine which nodes from your inventory belong in your apache node group, pin the nodes to the group. Pinning adds nodes to a group one at a time. If you have a lot of nodes, you can create rules in the console to dynamically add nodes to a node group.
apache node group.- In the console, click Node groups and select the
apachenode group. - On the Rules tab, under Certname, enter the certname of a node you want to add to the
apachenode group. - Click Pin node.
- Repeat to add more nodes to the
apachegroup. - When you are done pinning nodes, commit changes.
apache nodes to the apache node group.Run Puppet on your Apache nodes
Run Puppet in the console to enforce your desired state on the apache node group you created.