Browse Source

Merge branch 'mine_publish' into 'master'

Mine publish

See merge request !11
tags/0.4
Jakub Pavlik 8 years ago
parent
commit
eb8e8c9e81
2 changed files with 8 additions and 0 deletions
  1. +1
    -0
      salt/minion/cert.sls
  2. +7
    -0
      salt/minion/grains.sls

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

@@ -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


+ 7
- 0
salt/minion/grains.sls View File

@@ -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 %}

Loading…
Cancel
Save