Browse Source

Fix typo in salt-api ssl setup

tags/2016.12
Filip Pytloun 8 years ago
parent
commit
8d71b8b1c9
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      salt/files/_api.conf

+ 4
- 1
salt/files/_api.conf View File

ssl_key: /etc/ssl/private/{{ system.name }}.{{ system.domain }}.key ssl_key: /etc/ssl/private/{{ system.name }}.{{ system.domain }}.key
{%- else %} {%- else %}
ssl_crt: {{ api.ssl.get('cert_file')|default("/etc/ssl/certs/"+grains.get('fqdn')+".crt") }} ssl_crt: {{ api.ssl.get('cert_file')|default("/etc/ssl/certs/"+grains.get('fqdn')+".crt") }}
ssl_crt: {{ api.ssl.get('key_file')|default("/etc/ssl/private/"+grains.get('fqdn')+".key") }}
ssl_key: {{ api.ssl.get('key_file')|default("/etc/ssl/private/"+grains.get('fqdn')+".key") }}
{%- endif %} {%- endif %}
{%- else %} {%- else %}
disable_ssl: True disable_ssl: True
{%- if api.get('debug', False) %} {%- if api.get('debug', False) %}
debug: True debug: True
{%- endif %} {%- endif %}
{#-
vim: syntax=jinja
-#}

Loading…
Cancel
Save