This commit is contained in:
mwiegand 2021-08-13 15:59:42 +02:00
parent 53db057485
commit 1501d47382
5 changed files with 48 additions and 9 deletions

View file

@ -1,3 +1,4 @@
svc_systemd['cron'] = { svc_systemd['cron'] = {
'enabled': False, 'enabled': False,
'running': False,
} }

View file

@ -7,12 +7,12 @@ from bundlewrap.metadata import atomic
defaults = { defaults = {
'apt': { 'apt': {
'packages': { 'packages': {
'linux-headers-amd64': {}, # 'linux-headers-amd64': {},
'wireguard': { 'wireguard': {
'backports': node.os_version < (11,), 'backports': node.os_version < (11,),
'needs': [ # 'needs': [
'pkg_apt:linux-headers-amd64', # 'pkg_apt:linux-headers-amd64',
], # ],
'triggers': [ 'triggers': [
'svc_systemd:systemd-networkd:restart', 'svc_systemd:systemd-networkd:restart',
], ],

View file

@ -3,11 +3,11 @@
defaults = { defaults = {
'apt': { 'apt': {
'packages': { 'packages': {
'linux-headers-amd64': { # 'linux-headers-amd64': {
'needed_by': { # 'needed_by': {
'pkg_apt:zfs-dkms', # 'pkg_apt:zfs-dkms',
}, # },
}, # },
'parted':{ 'parted':{
'needed_by': { 'needed_by': {
'pkg_apt:zfs-zed', 'pkg_apt:zfs-zed',

View file

@ -150,6 +150,10 @@
'10.0.11.0/24', '10.0.11.0/24',
], ],
}, },
'wb.offsite-backups': {
'route': [
],
},
}, },
}, },
'zfs': { 'zfs': {

View file

@ -0,0 +1,34 @@
{
'hostname': '10.0.0.148',
'groups': [
'debian-11',
],
'bundles': [
'wireguard',
'zfs',
],
'metadata': {
'id': '23b898bd-203b-42d5-8150-cdb459915d77',
'network': {
'internal': {
'interface': 'eth0',
'ipv4': '10.0.0.148/24',
'gateway4': '10.0.0.1',
},
},
'wireguard': {
'my_ip': '172.30.0.4/24',
'peers': {
'htz.mails': {
'route': [
'10.0.0.0/24',
'10.0.2.0/24',
'10.0.9.0/24',
'10.0.10.0/24',
'10.0.11.0/24',
],
},
},
},
},
}