# This file contains confidential data and should be protected with file # permissions from being read by untrusted users. # # NOTE: permissions are fixated with dpkg-statoverride on Debian systems. # Read its manual page for details. # Basic authentication with username and password, required to # visit pages with administrative functionality. Format: username:password {%- set cfg = salt['pillar.get']('apt_cacher_ng', {}) %} {%- set admin_account = cfg.get('admin_account', False) %} {%- set admin_passwd = cfg.get('admin_passwd', False) %} {%- if admin_account and admin_passwd %} AdminAuth: {{ admin_account }}:{{ admin_passwd }} {%- endif %}