Saltstack Official Apt-Cacher Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

32 linhas
1.1KB

  1. apt_cacher:
  2. host: cacher.mycompany.com
  3. admin_email: admin@mycompany.com
  4. group: www-data
  5. user: www-data
  6. #ip for upstream connection
  7. interface: 10.10.0.1
  8. apt_cacher_ng:
  9. # Setting up server_address is the minimal configuration requirement.
  10. # Others options has default sane values (see map.jinja).
  11. # server_address is the address access by apt-cacher-ng clients.
  12. # It could be an IPv4 or a FQDN; This address MUST be resolvable by clients.
  13. server_address: pkgproxy.example.com
  14. # Server binds to this address.
  15. # It could be the same value as server_address (in most cases).
  16. server_bind_address: 192.168.33.10
  17. server_port: 3142
  18. server_cache_dir: /var/cache/apt-cacher-ng
  19. server_log_dir: /var/log/apt-cacher-ng
  20. server_extra_config: |
  21. # Workaround apt-cacher-ng 500 Invalid header
  22. # https://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/2013-September/000082.html
  23. ReuseConnections: 0
  24. # Credentials for apt-cacher-ng Web management interface.
  25. # http://<server_adress>:<server_port>/acng-report.html
  26. admin_account: root
  27. admin_passwd: admin