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.

18 satır
382B

  1. salt-master:
  2. pkg.installed:
  3. {% if grains['os_family'] in ['RedHat', 'Debian'] %}
  4. - name: salt-minion
  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. - require:
  15. - pkg: salt-minion
  16. - watch:
  17. - file: salt-minion