aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/horizon.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/horizon.yaml
parent671db66b9c18a809dbdbabbf48823754a2402bcf (diff)
parent1e899703ccc33a9b24c4b0997b04cee1df37575d (diff)
Merge "Ability to enable/disable debug mode per OpenStack service"
Diffstat (limited to 'puppet/services/horizon.yaml')
-rw-r--r--puppet/services/horizon.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/puppet/services/horizon.yaml b/puppet/services/horizon.yaml
index 562afe16..93bced8b 100644
--- a/puppet/services/horizon.yaml
+++ b/puppet/services/horizon.yaml
@@ -14,6 +14,10 @@ parameters:
default: ''
description: Set to True to enable debugging on all services.
type: string
+ HorizonDebug:
+ default: false
+ description: Set to True to enable debugging Horizon service.
+ type: string
DefaultPasswords:
default: {}
type: json
@@ -62,7 +66,7 @@ parameters:
conditions:
- debug_empty: {equals : [{get_param: Debug}, '']}
+ debug_unset: {equals : [{get_param: Debug}, '']}
outputs:
role_data:
@@ -104,9 +108,9 @@ outputs:
memcached_ipv6: {get_param: MemcachedIPv6}
-
if:
- - debug_empty
- - {}
- - horizon::django_debug: {get_param: Debug}
+ - debug_unset
+ - horizon::django_debug: { get_param: HorizonDebug }
+ - horizon::django_debug: { get_param: Debug }
step_config: |
include ::tripleo::profile::base::horizon
# Ansible tasks to handle upgrade