summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-07-18 16:16:18 -0400
committerEmilien Macchi <emilien@redhat.com>2016-07-18 16:16:18 -0400
commit95dd1ba91359bfdb141aa7ead16b789aafe2410e (patch)
tree170a5833103ef7b3e4de019d41b4601dec946e5d
parent6494276bbc8e654034160a600ceba27fc8a52561 (diff)
gnocchi: configure db_sync command in the profile
Configure db_sync extra command in the profile itself Change-Id: Ia27068907a2149da2cb87b50ffe65b27a0542ed7
-rw-r--r--puppet/hieradata/controller.yaml1
-rw-r--r--puppet/services/gnocchi-base.yaml2
2 files changed, 1 insertions, 2 deletions
diff --git a/puppet/hieradata/controller.yaml b/puppet/hieradata/controller.yaml
index 860c8fb5..94f57c8a 100644
--- a/puppet/hieradata/controller.yaml
+++ b/puppet/hieradata/controller.yaml
@@ -4,7 +4,6 @@ nova::api::enabled: true
nova::vncproxy::enabled: true
# gnocchi
-gnocchi::db::sync::extra_opts: '--skip-storage --create-legacy-resource-types'
gnocchi::storage::swift::swift_user: 'service:gnocchi'
gnocchi::storage::swift::swift_auth_version: 2
gnocchi::statsd::resource_id: '0a8b55df-f90f-491c-8cb9-7cdecec6fc26'
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml
index d4201032..44f3c3c7 100644
--- a/puppet/services/gnocchi-base.yaml
+++ b/puppet/services/gnocchi-base.yaml
@@ -55,7 +55,7 @@ outputs:
gnocchi::keystone::auth::tenant: 'service'
gnocchi::keystone::auth::password: {get_param: GnocchiPassword}
gnocchi::db::mysql::password: {get_param: GnocchiPassword}
- gnocchi::db::sync::extra_opts: '--skip-storage'
+ gnocchi::db::sync::extra_opts: '--skip-storage --create-legacy-resource-types'
#Gnocchi API
tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend}
gnocchi::api::manage_service: false