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.

22 lines
571B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. {% if salt_settings.install_packages %}
  3. master_installed:
  4. module_and_function: pkg.version
  5. args:
  6. - {{ salt_settings.salt_ssh }}
  7. {%- if salt_settings.version is defined %}
  8. assertion: assertEqual
  9. expected-return: {{ salt_settings.version }}
  10. {% else %}
  11. assertion: assertNotEmpty
  12. {%- endif %}
  13. {% endif %}
  14. roster_deployed:
  15. module_and_function: file.search
  16. args:
  17. - {{ salt_settings.config_path }}/roster
  18. - This file is managed by Salt! Do not edit by hand!
  19. assertion: assertTrue