瀏覽代碼

Fix typo in template 01proxy

The key is always null and thus localhost is always used no matter
way. This correction lets users specify the apt-cacher host.
master
Jimmy Tang 10 年之前
父節點
當前提交
3f605b9e20
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      apt-cacher/files/01proxy

+ 1
- 1
apt-cacher/files/01proxy 查看文件

@@ -1,2 +1,2 @@
{% set apt_cacher = pillar.get('apt-cacher', {}) -%}
{% set apt_cacher = pillar.get('apt_cacher', {}) -%}
Acquire::http::Proxy "http://{{ apt_cacher.get('host', 'localhost') }}:3142";

Loading…
取消
儲存