Saltstack Official Apt-Cacher Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

17 行
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 %}