13.2. Parameters
- Global Parameters
- The default parameter that applies to every host in Satellite. Configured in → .
- Domain Parameters
- Parameters that affect all hosts in a given domain. Domain parameters override Global parameters. Configured in → .
- Host Group Parameters
- Parameters that affect all hosts in the Host Group. Host Group parameters override both Global and Domain parameters. Configured in → .
- Host Parameters
- Parameters that affect a specific host. All previous inherited parameters are visible on the Parameters subtab and can be overridden. Configured in → → → or → → → .
- Simple Parameters
- A basic parameter that defines a relationship between a key and value pair.
- Smart Parameters
- A complex parameter that defines a value for a key but allows conditional arguments, validation, and overrides for specific object types.
- Parameterized Classes
- Parameters for classes imported from a Puppet Master.
Important
Parametrized_Classes_in_ENC is set to True.
13.2.1. Creating a Global Simple Parameter
Procedure 13.2. To Create a Global Simple Parameter:
- Click → .
- Click .
- Type a Name for the parameter's key.
- Type a Value for the parameter.
- Select if the value is hidden.
- Click Submit.
13.2.2. Configuring Smart Parameters
Procedure 13.3. To configure smart parameters:
- Click → .
- Select a class from the list.
- Click the Smart Variables tab. This displays a new screen. The left section contains a list of possible parameters the class supports. The right section contains the configuration options for the parameter selected. Click the to add a new parameter. Otherwise, select a parameter from the left-hand list.
- Type a name for the Parameter field.
- Edit the Description text box to add any plain text notes.
- Select the Parameter type of data to pass. This is most commonly a string, but other data types are supported.
- Type a Default Value for the parameter.
- Use the Optional Input Validator section to restrict the allowed values for the parameter. Choose a Validator type (either a list of comma separated values or a regular expression, regexp) and input the allows values or regular expression code in the Validator rule field.
- The Override Value For Specific Hosts section at the bottom of the page provides options for overriding values based upon conditional arguments known as Matchers. Define the Order that the host values resolve, then click Add Matcher-Value to add your conditional argument.For example, if desired value of the parameter is
testfor any host with a fully qualified domain name ofwww.example.com, then specify the Match asfqdn=www.example.comand the Value astest. - Click to save your changes.
13.2.3. Importing Parameterized Classes from a Puppet Master
Note
Procedure 13.4. To Import Parameterized Classes:
- Click → .
- Click Import from Host Name to import parameterized classes from your Puppet Master.
- The Puppet Classes page displays with the new classes listed.
13.2.4. Configuring Parameterized Classes
Procedure 13.5. To Configure Parameterized Classes:
- Click → .
- Select a class from the list.
- Click the Smart Class Parameter tab. This displays a new screen. The left section contains a list of possible parameters the class supports. The right section contains the configuration options for the parameter selected.
- Select a parameter from the left-hand list.
- Edit the Description text box to add any plain text notes.
- Select Override to allow Satellite control over this variable. If the check box is not selected, Satellite does not pass this variable to Puppet.
- Select the Parameter type of data to pass. This is most commonly a string, but other data types are supported.
- Type a Default Value for the parameter.
- The Override Value For Specific Hosts section at the bottom of the page provides options for overriding values based upon conditional arguments known as Matchers. Define the Order that the host values resolve, then click to add your conditional argument.For example, if desired value of the parameter is
testfor any host with a fully qualified domain name ofwww.example.com, then specify the Match asfqdn=www.example.comand the Value astest. - Click to save your changes.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.