Saltstack Official Linux 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.

19 rindas
364B

  1. {%- from "linux/map.jinja" import network with context %}
  2. {%- if network.enabled %}
  3. /etc/resolv.conf:
  4. file.managed:
  5. - source: salt://linux/files/resolv.conf
  6. - mode: 644
  7. - template: jinja
  8. - follow_symlinks: false
  9. - require:
  10. - service: resolvconf_service
  11. resolvconf_service:
  12. service.dead:
  13. - name: resolvconf
  14. - enable: false
  15. {%- endif %}