Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 11 година
пре 11 година
12345678910111213141516
  1. salt-master:
  2. pkg.installed:
  3. {% if grains['os_family'] in ['RedHat', 'Debian'] %}
  4. - name: salt-master
  5. {% else %}
  6. - name: salt
  7. {% endif %}
  8. file.managed:
  9. - name: /etc/salt/master
  10. - template: jinja
  11. - source: salt://salt/files/master
  12. service.running:
  13. - enable: True
  14. - watch:
  15. - pkg: salt-master
  16. - file: salt-master