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.

1234567891011121314151617
  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. {% if salt_settings.install_packages %}
  3. ensure-salt-ssh-is-installed:
  4. pkg.installed:
  5. - name: {{ salt_settings.salt_ssh }}
  6. {% endif %}
  7. ensure-roster-config:
  8. file.managed:
  9. - name: {{ salt_settings.config_path }}/roster
  10. - source: salt://salt/files/roster.jinja
  11. - template: jinja
  12. {% if salt_settings.install_packages %}
  13. - require:
  14. - pkg: ensure-salt-ssh-is-installed
  15. {% endif %}