maketank repo with osdcodename
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# vim: ft=yaml
|
||||
---
|
||||
|
||||
import:
|
||||
include:
|
||||
- sysctl
|
||||
- packages.common
|
||||
- .packages
|
||||
- .pki
|
||||
|
||||
7
base/packages/init.sls
Normal file
7
base/packages/init.sls
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=yaml
|
||||
---
|
||||
|
||||
include:
|
||||
- .common
|
||||
- .repo.maketank
|
||||
18
base/packages/repo/maketank.sls
Normal file
18
base/packages/repo/maketank.sls
Normal 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
|
||||
Reference in New Issue
Block a user