Red Hat Training

A Red Hat training course is available for Red Hat Satellite

Chapter 7. Using Config Groups to Manage Puppet Classes

Red Hat Satellite includes the concept of Config Groups and Host Groups to enable building and managing groups of systems in a modular way.

Config Groups are a collection of Puppet classes that you create to form building blocks for use in configuring Hosts and Host Groups. Config Groups are analogous to the community Puppet concept of Profiles, a Puppet class that includes a collection of Puppet classes to form a building block. Config Groups can be created and managed in the Satellite web UI.

Host Groups are both a collection of host servers and a container for the definition of a system, with a Content View, an assigned life cycle, and a set of Puppet modules. Host Groups are analogous to the community Puppet concept of Roles, a Puppet class that includes a number of Profiles to build a system with a specific business role. Host Groups can be created and managed in the Satellite web UI, using the Hammer CLI, and by using the API.

Creating a Config Group

From the left-hand side context drop-down menu, select Any Organization and Any Location.

Navigate to Configure > Config groups.

Select New Config Group and enter a name, for example, TestConfGroup.

Select one or more Puppet Classes from the list of available classes.

Select Submit to apply the changes.

Once you have created a Config Group it will be available for selection on the Puppet Classes tab when configuring a Host or Host Group. For more information on creating Host Groups see Creating a Host Group on Satellite Server in the Red Hat Satellite Provisioning Guide.