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.

standalone.sls 493B

123456789101112131415161718
  1. {% from "salt/package-map.jinja" import pkgs with context %}
  2. salt-minion:
  3. pkg.installed:
  4. - name: {{ pkgs['salt-minion'] }}
  5. file.recurse:
  6. - name: {{ pkgs.get('config-path', '/etc/salt') }}/minion.d
  7. - template: jinja
  8. - source: salt://salt/files/minion.d
  9. - clean: True
  10. - context:
  11. standalone: True
  12. service.dead:
  13. - enable: False
  14. - name: {{ pkgs.get('minion-service', 'salt-minion') }}
  15. - require:
  16. - pkg: salt-minion
  17. - file: salt-minion