Problem:
class parameter “$myclass” is not recognized by foreman import
function.
cat .manifests/myclass.pp
class mymodule::myclass ( Ssh::YesNo $myvar = 'yes', ) { //blah }
cat ./types/yesno.pp
type Ssh::YesNo = Enum[ 'yes', 'no' # lint:ignore:trailing_comma ]
I’m not even sure what that parameter type (Ssh::YesNo) is referred to, but is there a way to get Foreman to recognize it?
Expected outcome:
be able to import in Foreman, and see this class parameter $myvar in the Foreman “Smart Class Parameter” tab of the class edit page.
Foreman and Proxy versions:
1.16.1
Foreman and Proxy plugin versions:
n/a
Thanks,
Kallon