mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-01 04:11:17 +01:00
1682df8592
Conflicts: salt/master.sls salt/minion.sls
17 lines
453 B
Plaintext
17 lines
453 B
Plaintext
{% from "salt/package-map.jinja" import pkgs with context %}
|
|
|
|
salt-master:
|
|
pkg.installed:
|
|
- name: {{ pkgs['salt-master'] }}
|
|
file.recurse:
|
|
- name: {{ pkgs.get('config-path', '/etc/salt') }}/master.d
|
|
- template: jinja
|
|
- source: salt://salt/files/master.d
|
|
- clean: True
|
|
service.running:
|
|
- enable: True
|
|
- name: {{ pkgs.get('master-service', 'salt-master') }}
|
|
- watch:
|
|
- pkg: salt-master
|
|
- file: salt-master
|