diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-07 17:56:32 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-07 17:56:32 +0000 |
commit | 2518394c2f45d5514946de962f8dfd13aa7c7377 (patch) | |
tree | 9127d739f7e4455fd572aa50ae28c60df1410039 /puppet/services/gnocchi-base.yaml | |
parent | 671db66b9c18a809dbdbabbf48823754a2402bcf (diff) | |
parent | 1e899703ccc33a9b24c4b0997b04cee1df37575d (diff) |
Merge "Ability to enable/disable debug mode per OpenStack service"
Diffstat (limited to 'puppet/services/gnocchi-base.yaml')
-rw-r--r-- | puppet/services/gnocchi-base.yaml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml index 80ef7171..f4067ef6 100644 --- a/puppet/services/gnocchi-base.yaml +++ b/puppet/services/gnocchi-base.yaml @@ -52,6 +52,13 @@ parameters: type: string default: '' description: Set to True to enable debugging on all services. + GnocchiDebug: + default: '' + description: Set to True to enable debugging Gnocchi services. + type: string + +conditions: + service_debug_unset: {equals : [{get_param: GnocchiDebug}, '']} outputs: aux_parameters: @@ -65,7 +72,11 @@ outputs: config_settings: #Gnocchi engine gnocchi_redis_password: {get_param: RedisPassword} - gnocchi::debug: {get_param: Debug} + gnocchi::debug: + if: + - service_debug_unset + - {get_param: Debug } + - {get_param: GnocchiDebug } gnocchi::db::database_connection: make_url: scheme: {get_param: [EndpointMap, MysqlInternal, protocol]} |