Puppet class parameters not populated when creating Host Group

Hey folks,

I'm new to foreman and am in the process of learning my way around the
system.

I'm trying to add a parameter to the puppet class and have it show up in
the GUI. I've gotten to the point where if I go to Puppet
classes->class->Smart Class Parameter, I can see the new parameter there,
but when I create a new Host Group, I click on the Puppet Classes tab,
select the puppet class, then click on the Parameters tab, and no
parameters are shown. Shouldn't this show me all of the parameters from
the selected puppet class, including the parameter that I added? If not,
what are the steps that I need to do to make the puppet class parameters
show up in the new Host Group?

Also, the new parameter that I added does not show up in a preexisting Host
Group where the puppet class parameters are visible. Any idea why?

I've been searching around, but haven't been able to find any answers to
these questions, so hoping someone can shed a little light here.

Thanks!

Chris

You might need to tick the "Override" box in the Smart class parameters
tab when editing the Puppet class. This makes Foreman manage the value
of the parameter (so you can set a default value and matchers if you
wish), then it'll be visible to override from a host group or individual
host.

··· On 07/04/14 21:41, Chris Dearborn wrote: > Hey folks, > > I'm new to foreman and am in the process of learning my way around the > system. > > I'm trying to add a parameter to the puppet class and have it show up in > the GUI. I've gotten to the point where if I go to Puppet > classes->class->Smart Class Parameter, I can see the new parameter > there, but when I create a new Host Group, I click on the Puppet Classes > tab, select the puppet class, then click on the Parameters tab, and no > parameters are shown. Shouldn't this show me all of the parameters from > the selected puppet class, including the parameter that I added? If > not, what are the steps that I need to do to make the puppet class > parameters show up in the new Host Group? > > Also, the new parameter that I added does not show up in a preexisting > Host Group where the puppet class parameters are visible. Any idea why? > > I've been searching around, but haven't been able to find any answers to > these questions, so hoping someone can shed a little light here.


Dominic Cleal
Red Hat Engineering