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 satır
718B

  1. {% set apt_cacher_ng = salt['grains.filter_by']({
  2. 'Debian': {
  3. 'server_address': 'localhost',
  4. 'server_bind_address': '0.0.0.0',
  5. 'server_port': '3142',
  6. 'server_config': '/etc/apt-cacher-ng/zzz_acng.conf',
  7. 'server_cache_dir': '/var/cache/apt-cacher-ng',
  8. 'server_log_dir': '/var/log/apt-cacher-ng',
  9. 'user': 'apt-cacher-ng',
  10. 'group': 'apt-cacher-ng',
  11. 'pkg': 'apt-cacher-ng',
  12. 'service': 'apt-cacher-ng',
  13. 'credentials': '/etc/apt-cacher-ng/security.conf',
  14. 'client_config': '/etc/apt/apt.conf.d/80proxy',
  15. 'admin_account': 'root',
  16. 'admin_passwd': 'admin'
  17. },
  18. }, merge=salt['pillar.get']('apt_cacher_ng')) %}