Currently, defaults.pp has a lot of pick calls picking up global variables to set up defaults. The defaults should just be set as defaults in init.pp itself, and then hiera can be used to override the class parameters.
default.pp should not exist.
Currently, defaults.pp has a lot of pick calls picking up global variables to set up defaults. The defaults should just be set as defaults in init.pp itself, and then hiera can be used to override the class parameters.
default.pp should not exist.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
cassandra: deprecate cassandra::defaults class | operations/puppet/cassandra | master | +37 -98 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | fgiunchedi | T89657 use correct datacenter/rack for cassandra nodes | |||
Resolved | fgiunchedi | T76149 Make the cassandra module use hiera properly |
Other improvements could be:
See also: T1228
Change 190813 had a related patch set uploaded (by Filippo Giunchedi):
cassandra: deprecate cassandra::defaults class
Change 190813 merged by Filippo Giunchedi:
cassandra: deprecate cassandra::defaults class
default.pp is gone with https://gerrit.wikimedia.org/r/190813, leaving this open since there other other improvements like @GWicke suggested
cassandra module has changed a lot now including support for multi instances, resolving