New Saltstack 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.

17 lines
328B

  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.enabled %}
  3. include:
  4. - salt.master.service
  5. /etc/salt/roster:
  6. file.managed:
  7. - source: salt://salt/files/roster
  8. - user: root
  9. - template: jinja
  10. - require:
  11. - {{ master.install_state }}
  12. - watch_in:
  13. - service: salt_master_service
  14. {%- endif %}