aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/aodh-base.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-07 17:56:32 +0000
committerGerrit Code Review <review@openstack.org>2017-06-07 17:56:32 +0000
commit2518394c2f45d5514946de962f8dfd13aa7c7377 (patch)
tree9127d739f7e4455fd572aa50ae28c60df1410039 /puppet/services/aodh-base.yaml
parent671db66b9c18a809dbdbabbf48823754a2402bcf (diff)
parent1e899703ccc33a9b24c4b0997b04cee1df37575d (diff)
Merge "Ability to enable/disable debug mode per OpenStack service"
Diffstat (limited to 'puppet/services/aodh-base.yaml')
-rw-r--r--puppet/services/aodh-base.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/puppet/services/aodh-base.yaml b/puppet/services/aodh-base.yaml
index 331fe9a9..0563d08b 100644
--- a/puppet/services/aodh-base.yaml
+++ b/puppet/services/aodh-base.yaml
@@ -56,11 +56,18 @@ parameters:
default: ''
description: Set to True to enable debugging on all services.
type: string
+ AodhDebug:
+ default: ''
+ description: Set to True to enable debugging Aodh services.
+ type: string
KeystoneRegion:
type: string
default: 'regionOne'
description: Keystone region for endpoint
+conditions:
+ service_debug_unset: {equals : [{get_param: AodhDebug}, '']}
+
outputs:
role_data:
description: Role data for the Aodh role.
@@ -78,7 +85,11 @@ outputs:
query:
read_default_file: /etc/my.cnf.d/tripleo.cnf
read_default_group: tripleo
- aodh::debug: {get_param: Debug}
+ aodh::debug:
+ if:
+ - service_debug_unset
+ - {get_param: Debug }
+ - {get_param: AodhDebug }
aodh::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
aodh::rabbit_userid: {get_param: RabbitUserName}
aodh::rabbit_password: {get_param: RabbitPassword}