Saltstack Official Apt-Cacher Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

17 Zeilen
653B

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