kubernetes repo and refactoring

This commit is contained in:
do
2022-03-20 17:07:03 +01:00
parent 25c15637eb
commit 629b75f709
6 changed files with 16 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
{%-
set cache_url = salt['pillar.get'](
'services:apt-cache',
default=''
)
%}
repo_debian-bullseye:
pkgrepo.managed:
- name: 'deb http://{{ cache_url }}deb.debian.org/debian bullseye main contrib'
- file: /etc/apt/sources.list.d/debian-bullseye.list
- clean_file: True

View File

@@ -9,7 +9,7 @@
%}
repo_maketank:
pkgrepo.managed:
pkgrepo.absent:
- name: deb http://{{ cache_url }}apt.maketank.net/debian buster main
- dist: buster
- file: /etc/apt/sources.list.d/maketank.list