aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/gnocchi-base.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/services/gnocchi-base.yaml')
-rw-r--r--puppet/services/gnocchi-base.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml
index fa00f736..a408d5d7 100644
--- a/puppet/services/gnocchi-base.yaml
+++ b/puppet/services/gnocchi-base.yaml
@@ -30,6 +30,10 @@ parameters:
CephClientUserName:
default: openstack
type: string
+ KeystoneRegion:
+ type: string
+ default: 'regionOne'
+ description: Keystone region for endpoint
outputs:
aux_parameters:
@@ -39,7 +43,7 @@ outputs:
role_data:
description: Shared role data for the Heat services.
value:
- service_name: gnocchi-base
+ service_name: gnocchi_base
config_settings:
#Gnocchi engine
gnocchi::debug: {get_input: debug}
@@ -52,7 +56,7 @@ outputs:
- '@'
- {get_param: [EndpointMap, MysqlInternal, host]}
- '/gnocchi'
- gnocchi::keystone::auth::region: 'regionOne'
+ gnocchi::keystone::auth::region: {get_param: KeystoneRegion}
gnocchi::keystone::auth::tenant: 'service'
gnocchi::keystone::auth::password: {get_param: GnocchiPassword}
gnocchi::db::mysql::password: {get_param: GnocchiPassword}
@@ -90,3 +94,5 @@ outputs:
gnocchi::db::mysql::allowed_hosts:
- '%'
- "%{hiera('mysql_bind_host')}"
+ gnocchi::auth::auth_region: {get_param: KeystoneRegion}
+ gnocchi::auth::auth_tenant_name: 'service'