mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 07:18:02 +01:00
247e6403a7
Closes #45
15 lines
352 B
Plaintext
15 lines
352 B
Plaintext
{% from "salt/package-map.jinja" import pkgs with context %}
|
|
|
|
salt-master:
|
|
pkg.installed:
|
|
- name: {{ pkgs['salt-master'] }}
|
|
file.managed:
|
|
- name: /etc/salt/master.d/master.conf
|
|
- template: jinja
|
|
- source: salt://salt/files/master
|
|
service.running:
|
|
- enable: True
|
|
- watch:
|
|
- pkg: salt-master
|
|
- file: salt-master
|