apt-cacher

This commit is contained in:
do
2020-10-22 19:53:18 +02:00
parent 63006f7913
commit 9531cf694c
4 changed files with 20 additions and 5 deletions

View File

@@ -27,8 +27,7 @@ openhab2-pkgs:
repo_openhab2:
pkgrepo.managed:
- name: deb https://{{ cache_url }}dl.bintray.com/openhab/apt-repo2 stable main
#- dist: {{ grains['oscodename'] }}
- name: deb http://{{ cache_url }}dl.bintray.com/openhab/apt-repo2 stable main
- file: /etc/apt/sources.list.d/openhab2.list
- key_url: 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab'
- clean_file: True

View File

@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
#!jinja|yaml|gpg
{%-
set cache_url = salt['pillar.get'](