Merge pull request #51 from andrew-vant/salt.d
Added recursive management of minion.d and master.d.
This commit is contained in:
commit
05087a8d42
@ -3,10 +3,11 @@
|
|||||||
salt-master:
|
salt-master:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ pkgs['salt-master'] }}
|
- name: {{ pkgs['salt-master'] }}
|
||||||
file.managed:
|
file.recurse:
|
||||||
- name: /etc/salt/master.d/master.conf
|
- name: /etc/salt/master.d
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://salt/files/master
|
- source: salt://salt/files/master.d
|
||||||
|
- clean: True
|
||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: True
|
||||||
- watch:
|
- watch:
|
||||||
|
@ -3,10 +3,11 @@
|
|||||||
salt-minion:
|
salt-minion:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ pkgs['salt-minion'] }}
|
- name: {{ pkgs['salt-minion'] }}
|
||||||
file.managed:
|
file.recurse:
|
||||||
- name: /etc/salt/minion.d/minion.conf
|
- name: /etc/salt/minion.d
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://salt/files/minion
|
- source: salt://salt/files/minion.d
|
||||||
|
- clean: True
|
||||||
service.running:
|
service.running:
|
||||||
- enable: True
|
- enable: True
|
||||||
- watch:
|
- watch:
|
||||||
|
Loading…
Reference in New Issue
Block a user