Browse Source

Merge "Added possibility to include certs template, without create it."

pull/78/head
Vasyl Saienko 6 years ago
parent
commit
e3e77f3c21
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      salt/minion/cert.sls

+ 2
- 0
salt/minion/cert.sls View File

@@ -13,6 +13,7 @@
{%- set created_ca_files = [] %}

{%- for cert_name,cert in minion.get('cert', {}).iteritems() %}
{%- if cert.get('enabled', True) %}
{%- set rowloop = loop %}

{%- set key_file = cert.get('key_file', '/etc/ssl/private/' + cert.common_name + '.key') %}
@@ -170,6 +171,7 @@ salt_minion_cert_{{ cert_name }}_all:
- require:
- cmd: salt_minion_cert_{{ cert_name }}_all
{%- endif %}
{%- endif %}

{%- endfor %}


Loading…
Cancel
Save