Override Undef and hash smart class parameter type


how does one deal with Puppet modules which support multiple parameter types for single class parameter. E.g. a parameter that can be either Undef or Hash?

I’d like to configure override for such class parameter in Foreman in a way that some hosts get Undef and some of them hash value.

I was secretly hoping that I could set Hash parameter type and enter undef as value, but that backfired quickly :slightly_smiling_face:

Anyone have any suggestions?!