From b57720c224a49d46ed5d372449277533b711a9a6 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Wed, 7 Dec 2016 16:58:05 +0800 Subject: [PATCH] Use sync_db option to sync database Change-Id: Iac8fa0035934c06850833368a13625e797f11899 --- manifests/aodh.pp | 2 +- manifests/gnocchi.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/aodh.pp b/manifests/aodh.pp index af084f284..56dba01f3 100644 --- a/manifests/aodh.pp +++ b/manifests/aodh.pp @@ -65,6 +65,7 @@ class openstack_integration::aodh { class { '::aodh::api': enabled => true, service_name => 'httpd', + sync_db => true, } include ::apache class { '::aodh::wsgi::apache': @@ -82,6 +83,5 @@ class openstack_integration::aodh { class { '::aodh::notifier': } class { '::aodh::listener': } class { '::aodh::evaluator': } - class { '::aodh::db::sync': } } diff --git a/manifests/gnocchi.pp b/manifests/gnocchi.pp index 4fca6dd92..2bf7c36a8 100644 --- a/manifests/gnocchi.pp +++ b/manifests/gnocchi.pp @@ -39,6 +39,7 @@ class openstack_integration::gnocchi { class { '::gnocchi::api': enabled => true, service_name => 'httpd', + sync_db => true, } include ::apache class { '::gnocchi::wsgi::apache': @@ -49,7 +50,6 @@ class openstack_integration::gnocchi { workers => 2, } class { '::gnocchi::client': } - class { '::gnocchi::db::sync': } class { '::gnocchi::metricd': } class { '::gnocchi::storage': } class { '::gnocchi::storage::ceph':