Allow override all smart class parameters with a configuration option
For now, if you have default parameters for a Puppet class, you have to check "override" in Puppet class configuration for a parameter to be able to override it.
Most of modules I use (and I do nothing exotic) have defaults ($params), and in my environment, I often need to change the defaults for some hosts or groups.
To make things easy, a global parameter "override_all" would be welcome. Set it to false by default and you won't break anything existing. When set to true, you don't need to activate the feature for every parameter, you have direct access to the override section for hosts, groups and config groups.
If no value is provided, you just use defaults, else, you put whatever you want for your hosts/groups.
I would really like to have this to have a complete "Hiera like" behavior, but with the powerfull features of Foreman.
#1 Updated by Dominic Cleal about 9 years ago
- Subject changed from Allow override everything with a configuration option to Allow override all smart class parameters with a configuration option
- Category set to Puppet integration
#2 Updated by Dominic Cleal over 8 years ago
- Is duplicate of Feature #2873: A global Override Option for Puppet classes' parameters added
#3 Updated by Dominic Cleal over 8 years ago
- Status changed from New to Duplicate
Tracking under #2873, thanks for the report.