Browse Source

Added possibility to include certs template, without create it.

Change-Id: If5faaa420f07876d3d83296126aacd0309c5eaf3
pull/78/head
Oleksandr Shyshko 6 years ago
parent
commit
9331e6c53b
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