CA Module - Update module.run syntax

This commit is contained in:
Mike Reeves
2018-08-29 10:46:15 -04:00
parent f7afc909ff
commit d31592e59c
2 changed files with 8 additions and 6 deletions

View File

@@ -41,8 +41,9 @@ pki_private_key:
mine.send: mine.send:
module.run: module.run:
- func: x509.get_pem_entries - pemzilla:
- kwargs: - func: x509.get_pem_entries
glob_path: /etc/pki/ca.crt - kwargs:
- onchanges: glob_path: /etc/pki/ca.crt
- x509: /etc/pki/ca.crt - onchanges:
- x509: /etc/pki/ca.crt

View File

@@ -1,4 +1,5 @@
{% set master = salt['grains.get']('master') %} {% set master = salt['grains.get']('master') %}
# Trust the CA # Trust the CA
#/usr/local/share/ca-certificates: #/usr/local/share/ca-certificates:
# file.directory: [] # file.directory: []
@@ -77,4 +78,4 @@ fbcrtlink:
bits: 4096 bits: 4096
backup: True backup: True
{% endif %} {% endif %}