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.

преди 11 години
преди 11 години
преди 11 години
преди 10 години
преди 11 години
12345678910111213141516
  1. {% from "salt/package-map.jinja" import pkgs with context %}
  2. salt-master:
  3. pkg.installed:
  4. - name: {{ pkgs['salt-master'] }}
  5. file.recurse:
  6. - name: {{ pkgs.get('config-path', '/etc/salt') }}/master.d
  7. - template: jinja
  8. - source: salt://salt/files/master.d
  9. - clean: True
  10. service.running:
  11. - enable: True
  12. - name: {{ pkgs.get('master-service', 'salt-master') }}
  13. - watch:
  14. - pkg: salt-master
  15. - file: salt-master