Saltstack Official Apt-Cacher Formula
Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- # -*- coding: utf-8 -*-
- # vim: ft=yaml
- ---
- apt_cacher:
- host: cacher.mycompany.com
- admin_email: admin@mycompany.com
- group: www-data
- user: www-data
- # ip for upstream connection
- interface: 10.10.0.1
-
- apt_cacher_ng:
- # Setting up server_address is the minimal configuration requirement.
- # Others options has default sane values (see map.jinja).
- # server_address is the address access by apt-cacher-ng clients.
- # It could be an IPv4 or a FQDN; This address MUST be resolvable by clients.
- server_address: pkgproxy.example.com
-
- # Server binds to this address.
- # It could be the same value as server_address (in most cases).
- server_bind_address: 192.168.33.10
-
- server_port: 3142
- server_cache_dir: /var/cache/apt-cacher-ng
- server_log_dir: /var/log/apt-cacher-ng
- server_extra_config: |
- # Workaround apt-cacher-ng 500 Invalid header
- # https://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/2013-September/000082.html
- ReuseConnections: 0
-
- # Credentials for apt-cacher-ng Web management interface.
- # http://<server_adress>:<server_port>/acng-report.html
- admin_account: root
- admin_passwd: admin
-
- # HTTPS proxy
- # "special keyword DIRECT meaning to use no proxies"
- # - https://linux.die.net/man/5/apt.conf
- # Default value ignores proxy for HTTPS connections
- https_proxy: DIRECT
-
- # Local mirrors don't need a proxy
- # See https://linux.die.net/man/5/apt.conf
- local_mirrors:
- - 192.168.0.1
- - host.example.test
-
- # yamllint disable-line rule:comments-indentation
- # Example for require/require_in/include
- # See: https://github.com/saltstack-formulas/apt-cacher-formula/pull/12 for details
- # apt_cacher_ng:
- # ...
- # include:
- # # custom states which must run before apt-cacher.ng.server
- # - repositories.sources
- # - apt-cacher-ng-fixes.server
- # require:
- # # custom states: i.e. a file which depends on the apt-cacher-ng package,
- # # but is required by the apt-cacher-ng server.
- # - 'file: /etc/apt-cacher-ng/backends_debian'
- # require_in:
- # # custom states: i.e. Debian package repos
- # - 'pkgrepo: deb jessie-backports'
- # - 'pkgrepo: deb-src jessie-backports'
|