Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
414B

  1. {%- from "linux/map.jinja" import network with context %}
  2. {%- if network.enabled %}
  3. {%- if grains.os_family == 'Debian' %}
  4. {%- if network.proxy.host == 'none' %}
  5. /etc/profile.d/proxy.sh:
  6. file.absent
  7. /etc/apt/apt.conf.d/95proxies:
  8. file.absent
  9. {%- else %}
  10. /etc/apt/apt.conf.d/95proxies:
  11. file.managed:
  12. - template: jinja
  13. - source: salt://linux/files/95proxies
  14. {%- endif %}
  15. {%- endif %}
  16. {%- endif %}