mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-10 02:31:45 +02:00
Added recursive management of minion.d and master.d.
This allows users to easily add configuration settings that the formula doesn't yet provide, without having to modify the existing templates.
This commit is contained in:
1 parent
095c6a8e4b
commit
00e245e20a
4 files changed
+8
-6
No files matched your search
File renamed without changes.
File renamed without changes.
+4
-3
@@ -3,10 +3,11 @@
|
||||
salt-master:
|
||||
pkg.installed:
|
||||
- name: {{ pkgs['salt-master'] }}
|
||||
file.managed:
|
||||
- name: /etc/salt/master.d/master.conf
|
||||
file.recurse:
|
||||
- name: /etc/salt/master.d
|
||||
- template: jinja
|
||||
- source: salt://salt/files/master
|
||||
- source: salt://salt/files/master.d
|
||||
- clean: True
|
||||
service.running:
|
||||
- enable: True
|
||||
- watch:
|
||||
|
||||
+4
-3
@@ -3,10 +3,11 @@
|
||||
salt-minion:
|
||||
pkg.installed:
|
||||
- name: {{ pkgs['salt-minion'] }}
|
||||
file.managed:
|
||||
- name: /etc/salt/minion.d/minion.conf
|
||||
file.recurse:
|
||||
- name: /etc/salt/minion.d
|
||||
- template: jinja
|
||||
- source: salt://salt/files/minion
|
||||
- source: salt://salt/files/minion.d
|
||||
- clean: True
|
||||
service.running:
|
||||
- enable: True
|
||||
- watch:
|
||||
|
||||
Reference in new issue
Block a user