From c93fb4f4d6a82cd2aa737a2d4a1ee630b918a89d Mon Sep 17 00:00:00 2001 From: Pradeep Kilambi Date: Thu, 11 Aug 2016 16:37:01 -0400 Subject: Set coordination url for gnocchi storage Change-Id: I8107b84eaea8baf3ed664c70d4cf16537d869bcb --- puppet/services/gnocchi-base.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml index a408d5d7..fcd81b26 100644 --- a/puppet/services/gnocchi-base.yaml +++ b/puppet/services/gnocchi-base.yaml @@ -34,6 +34,10 @@ parameters: type: string default: 'regionOne' description: Keystone region for endpoint + RedisPassword: + description: The password for the redis service account. + type: string + hidden: true outputs: aux_parameters: @@ -69,6 +73,14 @@ outputs: gnocchi::api::keystone_tenant: 'service' gnocchi::api::keystone_password: {get_param: GnocchiPassword} gnocchi::wsgi::apache::ssl: false + gnocchi::storage::coordination_url: + list_join: + - '' + - - 'redis://:' + - {get_param: RedisPassword} + - '@' + - "%{hiera('redis_vip')}" + - ':6379/' gnocchi::storage::swift::swift_user: 'service:gnocchi' gnocchi::storage::swift::swift_auth_version: 2 gnocchi::storage::swift::swift_key: {get_param: GnocchiPassword} -- cgit 1.2.3-korg