]> 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)
committerEmilien Macchi <emilien.macchi@enovance.com>
Fri, 21 Feb 2014 07:53:51 +0000 (08:53 +0100)
commita5bd498e7f56e9c8cb3c7d552693205cacbbca43
treeb64a62f2b831038d0d9a83b02100cb0a2862f1a5
parentb6b51d4d8b0ea165b7bb2730c3f58b899717a939
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
(cherry picked from commit 1aa1d795f0c06bb5266886b8599814e61fbef3f3)
manifests/db.pp
spec/classes/ceilometer_db_spec.rb