Bladeren bron

send mine always (not only on change)

First run is made during salt-master cloud-init and thus it is onchanges
is not suitable here because ca.crt file is already generated.
tags/mcp0.5
Tomáš Kukrál 7 jaren geleden
bovenliggende
commit
5ea7fb3b3c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      salt/minion/ca.sls

+ 1
- 1
salt/minion/ca.sls Bestand weergeven

@@ -61,7 +61,7 @@ salt_system_ca_mine_send_ca_{{ ca_name }}:
- func: x509.get_pem_entries
- kwargs:
glob_path: /etc/pki/ca/{{ ca_name }}/ca.crt
- onchanges:
- require:
- x509: /etc/pki/ca/{{ ca_name }}/ca.crt

{%- endfor %}

Laden…
Annuleren
Opslaan