]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Allow db fields configuration without doing the dbsync
authorYanis Guenane <yanis.guenane@enovance.com>
Wed, 19 Feb 2014 18:50:34 +0000 (13:50 -0500)
committerYanis Guenane <yanis.guenane@enovance.com>
Thu, 20 Feb 2014 15:03:28 +0000 (10:03 -0500)
commit1aa1d795f0c06bb5266886b8599814e61fbef3f3
treebac759a97d8aa23e95f0b47cd48ee0e6b0ff8ee6
parent2b35c1a04ce6f28f700971c31d18af88b65a089e
Allow db fields configuration without doing the dbsync

This commit allows one to configure the db fields without running the actual
dbsync command. It remains compliant with the current implementation, leaving
exec {'ceilometer-dbsync': in the catalog. One, now, can decide if it wants
the dbsync to take place or not.

This is useful when one picks mongodb as a backend and wants to use replicaset
This way it can scale horizontally and painlessly using the initSync feature
of mongodb. With this pattern one can add new member of the replica set
easily.

Change-Id: I8618bb385147176512fbda1540ba75ac95fccbf1
manifests/db.pp
spec/classes/ceilometer_db_spec.rb