aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/panko-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/panko-base.yaml
parent671db66b9c18a809dbdbabbf48823754a2402bcf (diff)
parent1e899703ccc33a9b24c4b0997b04cee1df37575d (diff)
Merge "Ability to enable/disable debug mode per OpenStack service"
Diffstat (limited to 'puppet/services/panko-base.yaml')
-rw-r--r--puppet/services/panko-base.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/puppet/services/panko-base.yaml b/puppet/services/panko-base.yaml
index 84817bcf..a94d4ea5 100644
--- a/puppet/services/panko-base.yaml
+++ b/puppet/services/panko-base.yaml
@@ -34,11 +34,18 @@ parameters:
default: ''
description: Set to True to enable debugging on all services.
type: string
+ PankoDebug:
+ default: ''
+ description: Set to True to enable debugging Panko services.
+ type: string
KeystoneRegion:
type: string
default: 'regionOne'
description: Keystone region for endpoint
+conditions:
+ service_debug_unset: {equals : [{get_param: PankoDebug}, '']}
+
outputs:
role_data:
description: Role data for the Panko role.
@@ -55,7 +62,11 @@ outputs:
query:
read_default_file: /etc/my.cnf.d/tripleo.cnf
read_default_group: tripleo
- panko::debug: {get_param: Debug}
+ panko::debug:
+ if:
+ - service_debug_unset
+ - {get_param: Debug }
+ - {get_param: PankoDebug }
panko::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
panko::keystone::authtoken::project_name: 'service'
panko::keystone::authtoken::user_domain_name: 'Default'