Only run ceilometer::db::sync on bootstrap node
authorAlex Schultz <aschultz@redhat.com>
Fri, 30 Sep 2016 15:55:24 +0000 (09:55 -0600)
committerAlex Schultz <aschultz@redhat.com>
Fri, 7 Oct 2016 15:17:04 +0000 (15:17 +0000)
commit8e70fc19eca7149dff793751fc7a7f5fd2ad74f5
treedc755c2c71d55167cf079f6b0daed44718719496
parent41dac693cfcdf2ece25d3257b0d82110a1cb3162
Only run ceilometer::db::sync on bootstrap node

The ceilometer::db::sync is included by default in ceilometer::db but we
only want it to run on the bootstrap node.  This change passes the
sync_db parameter to ceilometer::db to manage the db sync process rather
than trying to manage the inclusion of ceilometer::db::sync within the
profile class.

Change-Id: Ib56db1a90dd6fbfe7582fc57b7728df81942cce2
Closes-Bug: #1629373
manifests/profile/base/ceilometer/collector.pp
spec/classes/tripleo_profile_base_ceilometer_collector_spec.rb