Pārlūkot izejas kodu

adding ability to enable/disable https apt repositories

tags/v0.5.0
Freddy Andersen pirms 8 gadiem
vecāks
revīzija
f7b957bf5e
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +2
    -1
      apt-cacher/ng/files/client.conf
  2. +2
    -1
      apt-cacher/ng/map.jinja

+ 2
- 1
apt-cacher/ng/files/client.conf Parādīt failu

@@ -1,2 +1,3 @@
{% from "apt-cacher/ng/map.jinja" import apt_cacher_ng with context %}
{% from "apt-cacher/ng/map.jinja" import apt_cacher_ng with context -%}
Acquire::http::Proxy "http://{{ apt_cacher_ng.server_address }}:{{ apt_cacher_ng.server_port }}";
Acquire::http::Proxy "{{ apt_cacher_ng.https_proxy_enabled }}";

+ 2
- 1
apt-cacher/ng/map.jinja Parādīt failu

@@ -14,6 +14,7 @@
'credentials': '/etc/apt-cacher-ng/security.conf',
'client_config': '/etc/apt/apt.conf.d/80proxy',
'admin_account': 'root',
'admin_passwd': 'admin'
'admin_passwd': 'admin',
'https_proxy_enabled': 'false'
},
}, merge=salt['pillar.get']('apt_cacher_ng')) %}

Notiek ielāde…
Atcelt
Saglabāt