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

18 行
316B

  1. include:
  2. - apache
  3. apt-cacher:
  4. pkg.installed: []
  5. service.running:
  6. - enable: True
  7. - require:
  8. - pkg: apt-cacher
  9. /etc/apt-cacher/apt-cacher.conf:
  10. file.managed:
  11. - source: salt://apt-cacher/files/apt-cacher.conf
  12. - template: jinja
  13. - mode: 644
  14. - watch_in:
  15. - service: apt-cacher