Foreman - Puppet integration Clarification

All;

I am just beginning to set up Red Hat Satellite and looking into setting
parameter defaults for modules/classes that I import. Confusingly, there is
an item called 'Global Parameters' under the 'Configure' menu. After
looking at this item I think, in Puppet terminology, it is actual 'Global
VARIABLES'. Can anyone confirm this?

Secondly, I believe, that configuring 'Global' (class-level) PARAMETER
overrides needs to happen within the Smart Parameter tab of the class
configuration itself. Agreed?

Finally, if I set a number of parameter overrides on a particular class
does anyone know what happens when I update this module/class later on and
it either has new parameters or removed old parameters which I may have
previously set overrides for? I'm planning to use some modules with a large
number of parameters and will override many of them. I don't want to have
to redo this configuration every time I update a module.

Please advise, and thanks!

Hi Lesley,

Global Parameters are not used just for puppet so the terminology shouldn't
be changed to avoid confusion.
They can be used to set global variables but you can also use Smart
Variables from the puppet class itself.
In the output sent to puppet global parameters and smart variables are
indistinguishable but when setting them in Satellite you'll see global
parameters are connected to all host while smart variables are connected
only to hosts that you connect to the puppet class where you created them.

Smart Variables overrides are set from the puppet class itself but can also
be overridden from a host or hostgroup (those will also appear in the
puppet class).
Regarding reimporting a class, if you add new parameters they will be added
but if you removed parameters from the puppet class and imported it again
in the same environment they will be removed.
If the parameter still exists your overrides will not be deleted when you
import again so you won't have to redo it.

Ori

··· On Mon, Dec 5, 2016 at 4:04 PM, Lesley Kimmel wrote:

All;

I am just beginning to set up Red Hat Satellite and looking into setting
parameter defaults for modules/classes that I import. Confusingly, there is
an item called ‘Global Parameters’ under the ‘Configure’ menu. After
looking at this item I think, in Puppet terminology, it is actual ‘Global
VARIABLES’. Can anyone confirm this?

Secondly, I believe, that configuring ‘Global’ (class-level) PARAMETER
overrides needs to happen within the Smart Parameter tab of the class
configuration itself. Agreed?

Finally, if I set a number of parameter overrides on a particular class
does anyone know what happens when I update this module/class later on and
it either has new parameters or removed old parameters which I may have
previously set overrides for? I’m planning to use some modules with a large
number of parameters and will override many of them. I don’t want to have
to redo this configuration every time I update a module.

Please advise, and thanks!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.