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

@@ -10,7 +10,7 @@ rest_cherrypy:
ssl_key: /etc/ssl/private/{{ system.name }}.{{ system.domain }}.key
{%- else %}
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 %}
{%- else %}
disable_ssl: True
@@ -18,3 +18,6 @@ rest_cherrypy:
{%- if api.get('debug', False) %}
debug: True
{%- endif %}
{#-
vim: syntax=jinja
-#}

Loading…
Cancel
Save