Configure your desired state
Tell PE how your infrastructure should be configured by grouping and classifying nodes based on their function. Before you begin, think of which of your inventory nodes you want to configure with Apacheservices.
Create your classification group
Create a classification node group. This is a parent group to other node groups you create that contain classification data. You only need to set this up one time.
Create your apache
node group
After you create your parent classification group, make the apache
node group a child of it.
apache
node group.Add nodes to the apache
node group
Once you determine which nodes from your inventory should be in your
apache
node group, pin the nodes to the group. Pinning allows you to
add nodes to a group one at a time. You can also dynamically add nodes to a node group based
on rules you set in the console, which is helpful for large inventories.
apache
node group, read about Best practices for classifying node groups.-
In the console, click Classification and select the
apache
node group you just created. -
On the Rules tab, under Certname,
enter the certname of a node you want to add to the
apache
node group. - Click Pin node.
-
Repeat for additional nodes you want to add to the
apache
group. - When you are done pinning nodes, commit changes.
apache
nodes into a node group. For more
information on adding and classifying nodes, read about Making changes to node groups and Grouping and classifying nodes.Run Puppet on your Apache nodes
Run Puppet in the console to enforce your desired
state on the apache
node group you created.
apache
node group. In the future, the apache nodes will check in
with PE every 30 minutes to confirm that their apache
configuration matches what you've specified, and PE will
correct it if it doesn't.Next, learn how to use roles and profiles to efficiently manage system configurations.