nodes/home.router: use debian buster nginx repo for now
bundlewrap/pipeline/head This commit looks good Details

This commit is contained in:
Franzi 2021-05-15 06:58:42 +02:00
parent 07c3d93e7d
commit d51cded72d
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
from os.path import join
from pathlib import Path
from bundlewrap.metadata import atomic
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
with open(node, 'r') as f:
exec(f.read())

View File

@ -37,6 +37,15 @@ nodes['home.router'] = {
'snmp': {},
'snmp-mibs-downloader': {},
},
# XXX remove this once nginx.org has packages for debian bullseye
'repos': {
'nginx': {
'items': atomic({
'deb http://nginx.org/packages/debian buster nginx',
}),
},
},
},
'backups': {
'exclude_from_backups': True,