init.sls 415 B

12345678910111213141516171819202122
  1. #
  2. # Salt minion config
  3. #
  4. salt-minion:
  5. pkg.installed:
  6. - pkgs:
  7. - salt-minion
  8. service.running:
  9. - enable: true
  10. # - reload: true
  11. /etc/salt/minion:
  12. file.managed:
  13. - source: salt://salt-minion/minion_conf.tmpl
  14. - template: jinja
  15. - context:
  16. salt_config: {{ salt['pillar.get']('globals:salt') }}
  17. - require:
  18. - pkg: salt-minion
  19. # - watch_in:
  20. # - service: salt-minion