Page MenuHomePhabricator

Make the cassandra module use hiera properly
Closed, ResolvedPublic


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.

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added projects: acl*sre-team, Puppet.
yuvipanda changed Security from none to None.
yuvipanda added subscribers: yuvipanda, Joe.
yuvipanda renamed this task from Make the cassandra module use hiera to Make the cassandra module use hiera properly.Nov 27 2014, 8:16 PM
yuvipanda updated the task description. (Show Details)

Other improvements could be:

  • group the cassandra cluster settings under one per-cluster hierarchy in hiera, so that this hierarchy can be referenced by all users of that cassandra cluster (especially: user, pass, seeds); let an app like restbase reference multiple clusters.

See also: T1228

gerritbot subscribed.

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, leaving this open since there other other improvements like @GWicke suggested

cassandra module has changed a lot now including support for multi instances, resolving