I am provisioning hosts using Hammer CLI but I want to have it override the default values for certain Puppet classes that applies to a hostgroup or config group the host falls into. The Hammer CLI does let me set host parameters, but this appears not to be related to the smart variables for Puppet classes. Is there a way to configure it so that it propagate the host parameter to the smart variables? Or is it possible to set the smart variable override using ‘hammer host create’?
Or maybe another question to ask is, is it possible to pass a host parameter to puppet class to use as the class parameter?