|
|
@@ -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 |
|
|
|
-#} |