maketank repo with osdcodename

This commit is contained in:
do
2020-04-02 18:13:03 +02:00
parent 393c48b4cb
commit 89d3bb331d
4 changed files with 30 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
# vim: ft=yaml
---
import:
include:
- sysctl
- packages.common
- .packages
- .pki

7
base/packages/init.sls Normal file
View File

@@ -0,0 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
include:
- .common
- .repo.maketank

View File

@@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
repo_maketank:
pkgrepo.managed:
- name: deb http://apt.maketank.net/debian {{ grains['oscodename'] }} main
- dist: {{ grains['oscodename'] }}
- file: /etc/apt/sources.list.d/maketank.list
- key_url: http://apt.maketank.net/debian/debian.gpg
- clean_file: True
apt-update:
cmd.run:
- name: apt update -y
- listen:
- pkgrepo: repo_maketank