2
0
salt-formula/salt/master.sls

17 lines
367 B
Plaintext
Raw Normal View History

2013-06-13 01:53:26 +02:00
salt-master:
pkg.installed:
{% if grains['os_family'] in ['RedHat', 'Debian'] %}
- name: salt-master
2013-06-13 01:53:26 +02:00
{% else %}
- name: salt
{% endif %}
file.managed:
- name: /etc/salt/master
- template: jinja
- source: salt://salt/files/master
service.running:
- enable: True
- watch:
- pkg: salt-master
- file: salt-master