apt-cacher
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=yaml
|
||||
---
|
||||
{%-
|
||||
set cache_url = salt['pillar.get'](
|
||||
'services:apt-cache',
|
||||
default=''
|
||||
)
|
||||
%}
|
||||
|
||||
include:
|
||||
- haproxy
|
||||
- systemd.units
|
||||
@@ -20,7 +27,7 @@ openhab2-pkgs:
|
||||
|
||||
repo_openhab2:
|
||||
pkgrepo.managed:
|
||||
- name: deb https://dl.bintray.com/openhab/apt-repo2 stable main
|
||||
- name: deb https://{{ cache_url }}dl.bintray.com/openhab/apt-repo2 stable main
|
||||
#- dist: {{ grains['oscodename'] }}
|
||||
- file: /etc/apt/sources.list.d/openhab2.list
|
||||
- key_url: 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab'
|
||||
|
||||
Reference in New Issue
Block a user