Preconfigured Node Groups
A newer version is available; see the version menu above for details.
During installation, Puppet Enterprise (PE) automatically creates a number of preconfigured node groups. Some of these node groups come with required classification (classes and parameters) already added and some of them come with rules or pinned nodes. This page provides details of how each of these preconfigured node groups look when you do a new install of PE.
Note: If you’re upgrading, only the PE MCollective node group will come with classes, so you will need to add the classes and parameters shown on this page, in the order in which they appear. Make sure that you add all of these classes and parameters and commit them by clicking the commit button before you do a Puppet run. Failure to classify all of the node groups before running Puppet on the master will cause problems.
For important information regarding the data types and syntax that can be used when specifying parameter values, see the note in Setting Class Parameters. Check the default parameter values in your preconfigured node groups and make sure they comply with the permitted data types and syntax.
For more information on preconfigured node groups when upgrading from an earlier version of Puppet Enterprise (PE), see the upgrading documentation.
Note: The PE infrastructure groups are used to configure PE. In general, you should not make any changes to these node groups. If you want to add custom classifications to your PE infrastructure nodes, we recommend that you create new child groups and apply your classification there.
The All Nodes Node Group
This node group is at the top of the hierarchy tree. All other node groups stem from this node group.
Classes
No default classes. You should generally avoid adding classes to this node group.
Matching nodes
All nodes.
Notes
- You cannot modify the preconfigured rule that matches all nodes.
PE Infrastructure-Related Node Groups
These are the groups that PE uses to manage its own configuration. They should remain in these default states, unless you are adjusting parameters as directed by documentation or Support, or pinning new nodes for documented functions like creating compile masters. Use of these node groups is optional but highly recommended.
The PE Infrastructure Node Group
This node group is the parent to all of the infrastructure-related node groups listed in this section. It holds shared data that nodes matching this group’s child node groups need to know. This includes the hostnames and ports of various services (such as master and PuppetDB) and database info (except for passwords).
WARNING: NEVER REMOVE THE PE INFRASTRUCTURE GROUP.
Removal of the PE Infrastructure node group will disrupt communication between all of your PE Infrastructure nodes (Master, PuppetDB, and Console).
It is very important to correctly configure the
puppet_enterprise
class in this node group. The parameters set in this class affect the behavior of all other preconfigured node groups on this page that use classes starting withpuppet_enterprise::profile
. Incorrect configuration of this class could potentially cause a PE service outage.If you need to set up these preconfigured node groups for any reason, you must configure the PE Infrastructure node group first before any other of the preconfigured node groups (except for the PE MCollective node groups). Failure to do so will disconnect the Masters, Database, and Console services, and manual intervention will be required to restore PE Infrastructure functionality.
Classes
puppet_enterprise
(sets the default parameters for child node groups)
Parameters:
mcollective_middleware_hosts = ["<YOUR HOST>"]
(This value must be an array, even if there is only one value, e.g.mcollective_middleware_hosts = ["master.testing.net"]
)database_host = "<YOUR HOST>"
puppetdb_host = "<YOUR HOST>"
database_port = "<YOUR PORT NUMBER>"
(Only required if you have changed the port number from the default. The default port number is 5432.)database_ssl = true
(Set totrue
if you’re using the PE-installed postgres, andfalse
if you’re using your own postgres.)puppet_master_host = "<YOUR HOST>"
certificate_authority_host = "<YOUR HOST>"
console_port = "<YOUR PORT NUMBER>"
(Only required if you have changed the port number from the default. The default port number is 443.)puppetdb_database_name = "pe-puppetdb"
puppetdb_database_user = "pe-puppetdb"
puppetdb_port = "<YOUR PORT NUMBER>"
(Only required if you have changed the port number from the default. The default port number is 8081.)console_host = "<YOUR HOST>"
Note: In a monolithic install,
<YOUR HOST>
is your Puppet master’s certname. You can find the certname with thepuppet config print certname
command. In a split install,<YOUR HOST>
is the certname of the server on which you installed the component.
Matching Nodes
Nodes are not pinned to this node group. The PE Infrastructure node group is the parent to other infrastructure node groups, such as PE Master, and is only used to set classification that all child node groups need to inherit. You should never pin nodes directly to this node group.
The PE Certificate Authority Node Group
This node group is used to manage the certificate authority.
Classes
puppet_enterprise::profile::certificate_authority
(manages the certificate authority on the first master node)
Matching Nodes
On a new install, the Master node is pinned to this node group. If you are upgrading, you will need to pin the Master node yourself.
Notes
You should not add additional nodes to this node group.
The PE MCollective Node Group
This node group is used to enable PE’s orchestration engine on all matching nodes.
Classes
puppet_enterprise::profile::mcollective::agent
(manages the MCollective server)
Matching Nodes
All nodes.
Notes
- You may have some nodes, such as non-root nodes or network devices, that should not have orchestration enabled. You can create a rule in this node group to exclude these nodes from orchestration.
The PE Master Node Group
This node group is used to manage Puppet masters and add additional compile masters.
Classes
puppet_enterprise::profile::master
(manages the master service)puppet_enterprise::profile::mcollective::peadmin
(manages the peadmin MCollective client)puppet_enterprise::profile::master::mcollective
(manages keys used by MCollective)
Matching Nodes
On a new install, the Master node is pinned to this node group. If you are upgrading, you will need to pin the Master node yourself.
The PE PuppetDB Node Group
This node group is used to manage the database service.
Classes
puppet_enterprise::profile::puppetdb
(manages the PuppetDB service)
Matching Nodes
On a new install, the PuppetDB server node is pinned to this node group. If you are upgrading, you will need to pin the PuppetDB server node yourself.
Notes
- You should not add additional nodes to this node group.
The PE Console Node Group
This node group is used to manage the console.
Classes
puppet_enterprise::profile::console
(manages the console, node classifier and RBAC)puppet_enterprise::profile::mcollective::console
(manages the Puppet dashboard MCollective client)pe_console_prune
(manages a cron job to periodically prune the console reports database)puppet_enterprise::license
(manages the PE license file for the status indicator)
Matching Nodes
On a new install, the Console server node is pinned to this node group. If you are upgrading, you will need to pin the Console server node yourself.
Notes
- You should not add additional nodes to this node group.
The PE ActiveMQ Broker Node Group
This node group is used to manage the ActiveMQ broker and add additional ActiveMQ brokers.
Classes
puppet_enterprise::profile::amq::broker
(manages the ActiveMQ MCollective broker)
Matching Nodes
On a new install, the Master server node is pinned to this node group. If you are upgrading, you will need to pin the Master server node yourself.
The PE Agent Node Group
This node group is used by PE to manage the configuration of Puppet agents. Currently the only thing being managed is symlinks.
Classes
puppet_enterprise::profile::agent
(manages your PE agent configuration)
Matching Nodes
All nodes being managed by PE are pinned to this node group by default.
Environment Node Groups
There are two preconfigured environment node groups:
- Production Environment
- Agent-Specified Environment
The two environment node groups are only used to set environments. They should not contain any classification. See the Environments Workflow page for more information about working with environments.
These node groups have the This is an environment group option selected, which forces all matching nodes into the group’s environment, even if those nodes match another node group that specifies a different environment. We strongly encourage this workflow because it avoids the environment conflicts that can happen when you unintentionally have nodes that match multiple node groups with conflicting environments.
Always make sure that the This is an environment group checkbox remains selected in both of these environment node groups.
The Agent-Specified Environment Node Group
Normally, an environment specified by the node classifier overrides any environment set in a node’s own puppet.conf file (the agent-specified environment). However, sometimes you might want to let an agent specify its own environment (in testing, for example).
The Agent-Specified Environment node group forces the environment specified in a node’s puppet.conf file, ignoring any environments that have been set by the node classifier. If you want to use the agent-specified environment for a node, you should pin the node to this node group, or create a rule in the node group that matches the node.
Classes
You should never add any classes to this group. This group should only be used to set the agent-specified environment for matching nodes.
Matching Nodes
Create rules to match nodes that should be assigned the agent-specified environment. Alternatively, you can manually pin the nodes to the group.
By default, this group matches no nodes.
Notes
The This is an environment group option should be selected in the node group metadata section.
The Production Environment Node Group
Nodes in this group will be assigned to the production environment.
Classes
You should never add any classes to this group. This group should only be used to set the production environment for matching nodes.
Matching Nodes
This group comes with a rule that matches all nodes.
Notes
The This is an environment group option should be selected in the node group metadata section.