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.

19 lines
477B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. salt-minion:
  3. pkg.installed:
  4. - name: {{ salt_settings.salt_minion }}
  5. file.recurse:
  6. - name: {{ salt_settings.config_path }}/minion.d
  7. - template: jinja
  8. - source: salt://salt/files/minion.d
  9. - clean: True
  10. - context:
  11. standalone: False
  12. service.running:
  13. - enable: True
  14. - name: {{ salt_settings.minion_service }}
  15. - watch:
  16. - pkg: salt-minion
  17. - file: salt-minion