@@ -12,6 +12,7 @@ | |||
file.managed: | |||
- name: /etc/ssl/private/{{ cert.common_name }}.key | |||
- mode: 600 | |||
- replace: False | |||
- require: | |||
- x509: /etc/ssl/private/{{ cert.common_name }}.key | |||
@@ -27,4 +27,11 @@ salt_minion_grains_file: | |||
- watch_in: | |||
- service: salt_minion_service | |||
salt_minion_grains_publish: | |||
module.run: | |||
- name: mine.send | |||
- name: grains.items | |||
- require: | |||
- cmd: salt_minion_grains_file | |||
{%- endif %} |