Feature #2220
closedMatchers should support inheritance of smart class parameters in nested hostgroups
Description
Nested hostgroups should inherit class parameter overrides along with the classes they are inheriting.
Example Hostgroups:
WebServer
WebServer/TypeA
WebServer/TypeB
WebServer/TypeC
If a puppet class is applied to hostgroup WebServer and its parameters overridden, WebServer/TypeA,B,C should all inherit that parameter override -- but retaining the ability to override it again.
This would save a lot of time and remove chance for error in trying to get a class override to all netsted hostgroups of a parent.
Probably related to issue #2132 -- adding ability to configure class parameters at the hostgroup level in the UI.
Updated by Dominic Cleal over 11 years ago
- Subject changed from Support inheritance of class parameters in nested hostgroups to Matchers should support inheritance of smart class parameters in nested hostgroups
- Category set to Parameters
This is to make the smart class parameters matchers understand hostgroup inheritance instead of matching simply on equality.
Updated by Charles Gomes over 11 years ago
I'm also interested in this.
I've a PostgreSQL::Params that defines versions and other parameters.
I've a PostgreSQL class that installs client libs and uses Params to override the version.
Then I've a PostgreSQL::Server, that install the server. That also shares Params, however changing the Params through the smart class does not apply to server.
If I force to inherit Params I get a puppet error:
Error 400 on SERVER: Duplicate declaration: Class[Postgresql::Params] is already declared; cannot redeclare on node
Updated by Dominic Cleal over 11 years ago
- Status changed from New to Ready For Testing
- Assignee set to Amos Benari
Updated by Amos Benari over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0f9df58388d86ae70a0d507922f77888c9810913.