Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 11 gadiem
pirms 11 gadiem
pirms 11 gadiem
pirms 11 gadiem
pirms 11 gadiem
1234567891011121314151617181920
  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. salt-master:
  3. {% if salt_settings.install_packages %}
  4. pkg.installed:
  5. - name: {{ salt_settings.salt_master }}
  6. {% endif %}
  7. file.recurse:
  8. - name: {{ salt_settings.config_path }}/master.d
  9. - template: jinja
  10. - source: salt://salt/files/master.d
  11. - clean: {{ salt_settings.clean_config_d_dir }}
  12. service.running:
  13. - enable: True
  14. - name: {{ salt_settings.master_service }}
  15. - watch:
  16. {% if salt_settings.install_packages %}
  17. - pkg: salt-master
  18. {% endif %}
  19. - file: salt-master