0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-30 23:55:23 +01:00
salt-formula/salt/master.sls
2013-08-12 16:45:39 -05:00

18 lines
382 B
Plaintext

salt-master:
pkg.installed:
{% if grains['os_family'] in ['RedHat', 'Debian'] %}
- name: salt-minion
{% else %}
- name: salt
{% endif %}
file.managed:
- name: /etc/salt/master
- template: jinja
- source: salt://salt/files/master
service.running:
- enable: True
- require:
- pkg: salt-minion
- watch:
- file: salt-minion