I'm not clear on what you mean by a "smart" class parameter. Moreover, the example you provide is of a resource declaration, not a class definition. Perhaps, though, you should look into Puppet's provisions for automatic class parameter binding via Hiera. You could create a GUI for your Hiera data, and maybe that would serve your purpose.
John