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.

minion.sls 382B

11 jaren geleden
1234567891011121314151617
  1. salt-minion:
  2. pkg.installed:
  3. {% if grains['os_family'] in ['RedHat', 'Debian'] %}
  4. - name: salt-minion
  5. {% else %}
  6. - name: salt
  7. {% endif %}
  8. file.managed:
  9. - name: /etc/salt/minion
  10. - template: jinja
  11. - source: salt://salt/files/minion
  12. service.running:
  13. - enable: True
  14. - require:
  15. - pkg: salt-minion
  16. - watch:
  17. - file: salt-minion