proxy-server.conf: Use numerical boolean flag for delay_auth_decision on Essex.

This commit is contained in:
Adam Gandelman 2013-04-30 15:13:35 -07:00
parent 66ceadf0ea
commit 22676e44df
1 changed files with 8 additions and 0 deletions

View File

@ -45,7 +45,15 @@ auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ service_port }}
admin_tenant_name = {{ service_tenant }}
admin_user = {{ service_user }}
admin_password = {{ service_password }}
{% if os_release == 'essex' %}
{% if delay_auth_decision|lower == 'true' %}
delay_auth_decision = 1
{% else %}
delay_auth_decision = 0
{% endif %}
{% else %}
delay_auth_decision = {{ delay_auth_decision|lower }}
{% endif %}
{% if os_release != 'essex' %}signing_dir = /etc/swift{% endif %}