summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2016-08-11 16:37:01 -0400
committerPradeep Kilambi <pkilambi@redhat.com>2016-08-11 16:37:50 -0400
commitc93fb4f4d6a82cd2aa737a2d4a1ee630b918a89d (patch)
tree8b5c7661ace4cc45c73fb325e196d71ddc98f610 /puppet
parent05691d25087e83066fbf5caadd022dca4c7131f2 (diff)
Set coordination url for gnocchi storage
Change-Id: I8107b84eaea8baf3ed664c70d4cf16537d869bcb
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/gnocchi-base.yaml12
1 files changed, 12 insertions, 0 deletions
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}