diff options
Diffstat (limited to 'pillar/macros.jinja')
-rw-r--r-- | pillar/macros.jinja | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pillar/macros.jinja b/pillar/macros.jinja index 1d3eade..91d149c 100644 --- a/pillar/macros.jinja +++ b/pillar/macros.jinja @@ -24,3 +24,9 @@ interfaces: {{ interfaces }} {%- endif -%} {%- endmacro -%} + +{%- macro nginx_crtkeypair(name, ssldir) -%} +tls_{{ name }}: + - ssl_certificate: {{ sslbase }}/{{ ssldir }}/crt + - ssl_certificate_key: {{ sslbase }}/{{ ssldir }}/key +{%- endmacro -%} |