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

file.managed: file.managed:
- name: /etc/ssl/private/{{ cert.common_name }}.key - name: /etc/ssl/private/{{ cert.common_name }}.key
- mode: 600 - mode: 600
- replace: False
- require: - require:
- x509: /etc/ssl/private/{{ cert.common_name }}.key - x509: /etc/ssl/private/{{ cert.common_name }}.key



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

- watch_in: - watch_in:
- service: salt_minion_service - service: salt_minion_service


salt_minion_grains_publish:
module.run:
- name: mine.send
- name: grains.items
- require:
- cmd: salt_minion_grains_file

{%- endif %} {%- endif %}

Loading…
Cancel
Save