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/barbican-api.yaml | |
parent | 671db66b9c18a809dbdbabbf48823754a2402bcf (diff) | |
parent | 1e899703ccc33a9b24c4b0997b04cee1df37575d (diff) |
Merge "Ability to enable/disable debug mode per OpenStack service"
Diffstat (limited to 'puppet/services/barbican-api.yaml')
-rw-r--r-- | puppet/services/barbican-api.yaml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/puppet/services/barbican-api.yaml b/puppet/services/barbican-api.yaml index 53fba63e..51331242 100644 --- a/puppet/services/barbican-api.yaml +++ b/puppet/services/barbican-api.yaml @@ -38,6 +38,10 @@ parameters: default: '' description: Set to True to enable debugging on all services. type: string + BarbicanDebug: + default: '' + description: Set to True to enable debugging Barbican service. + type: string KeystoneRegion: type: string default: 'regionOne' @@ -81,6 +85,9 @@ resources: RoleName: {get_param: RoleName} RoleParameters: {get_param: RoleParameters} +conditions: + service_debug_unset: {equals : [{get_param: BarbicanDebug}, '']} + outputs: role_data: description: Role data for the Barbican API role. @@ -97,7 +104,11 @@ outputs: barbican::api::host_href: {get_param: [EndpointMap, BarbicanPublic, uri]} barbican::api::db_auto_create: false barbican::api::enabled_certificate_plugins: ['simple_certificate'] - barbican::api::logging::debug: {get_param: Debug} + barbican::api::logging::debug: + if: + - service_debug_unset + - {get_param: Debug } + - {get_param: BarbicanDebug } barbican::api::rabbit_use_ssl: {get_param: RabbitClientUseSSL} barbican::api::rabbit_userid: {get_param: RabbitUserName} barbican::api::rabbit_password: {get_param: RabbitPassword} |