Use sync_db option to sync database

Change-Id: Iac8fa0035934c06850833368a13625e797f11899
This commit is contained in:
ZhongShengping 2016-12-07 16:58:05 +08:00
parent 0ef5ebb090
commit b57720c224
2 changed files with 2 additions and 2 deletions

View File

@ -65,6 +65,7 @@ class openstack_integration::aodh {
class { '::aodh::api': class { '::aodh::api':
enabled => true, enabled => true,
service_name => 'httpd', service_name => 'httpd',
sync_db => true,
} }
include ::apache include ::apache
class { '::aodh::wsgi::apache': class { '::aodh::wsgi::apache':
@ -82,6 +83,5 @@ class openstack_integration::aodh {
class { '::aodh::notifier': } class { '::aodh::notifier': }
class { '::aodh::listener': } class { '::aodh::listener': }
class { '::aodh::evaluator': } class { '::aodh::evaluator': }
class { '::aodh::db::sync': }
} }

View File

@ -39,6 +39,7 @@ class openstack_integration::gnocchi {
class { '::gnocchi::api': class { '::gnocchi::api':
enabled => true, enabled => true,
service_name => 'httpd', service_name => 'httpd',
sync_db => true,
} }
include ::apache include ::apache
class { '::gnocchi::wsgi::apache': class { '::gnocchi::wsgi::apache':
@ -49,7 +50,6 @@ class openstack_integration::gnocchi {
workers => 2, workers => 2,
} }
class { '::gnocchi::client': } class { '::gnocchi::client': }
class { '::gnocchi::db::sync': }
class { '::gnocchi::metricd': } class { '::gnocchi::metricd': }
class { '::gnocchi::storage': } class { '::gnocchi::storage': }
class { '::gnocchi::storage::ceph': class { '::gnocchi::storage::ceph':