Merge "Fix ironic-inspector config"

This commit is contained in:
Zuul 2018-08-08 07:09:03 +00:00 committed by Gerrit Code Review
commit f04005a0fd
1 changed files with 6 additions and 2 deletions

View File

@ -18,8 +18,12 @@ log_dir = {{ inspector_log_dir }}
[database]
connection=mysql+pymysql://{{ ironic_inspector.database.username }}:{{ ironic_inspector.database.password }}@{{ ironic_inspector.database.host }}/{{ ironic_inspector.database.name }}?charset=utf8
[firewall]
manage_firewall = {{ inspector_manage_firewall | bool | default('false') }}
[pxe_filter]
{% if inspector_manage_firewall | bool | default('false') == false %}
driver = noop
{% else %}
driver = iptables
{% endif %}
[ironic]
{% if enable_keystone is defined and enable_keystone | bool == true %}