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.

преди 9 години
преди 7 години
1234567891011121314151617181920
  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. include:
  3. - salt.master
  4. salt-syndic:
  5. {% if salt_settings.install_packages %}
  6. pkg.installed:
  7. - name: {{ salt_settings.salt_syndic }}
  8. {% endif %}
  9. service.running:
  10. - enable: True
  11. - name: {{ salt_settings.syndic_service }}
  12. - require:
  13. - service: salt-master
  14. - watch:
  15. {% if salt_settings.install_packages %}
  16. - pkg: salt-master
  17. {% endif %}
  18. - file: salt-master