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.

31 lines
833B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=sls
  3. include:
  4. - salt.pkgrepo
  5. {%- if salt.config.get('salt_formulas:list') %}
  6. - salt.formulas
  7. {%- endif %}
  8. {%- if salt.config.get('salt:master')|length > 1 and grains.kernel != 'Windows' %}
  9. - salt.master
  10. {%- endif %}
  11. {%- if salt.config.get('salt:cloud')|length > 1 %}
  12. - salt.cloud
  13. {%- endif %}
  14. {%- if salt.config.get('salt:ssh_roster') %}
  15. - salt.ssh
  16. {%- endif %}
  17. {%- if salt.config.get('salt:minion')|length > 1 %}
  18. {%- if salt.config.get('salt:minion:master_type') %}
  19. - salt.minion
  20. {%- else %}
  21. - salt.standalone
  22. {%- endif %}
  23. {%- endif %}
  24. {%- if salt.config.get('salt:api') %}
  25. - salt.api
  26. {%- endif %}
  27. {%- if salt.config.get('salt:syndic') %}
  28. - salt.syndic
  29. {%- endif %}