Saltstack Official Apt-Cacher 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.

19 line
319B

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