nodes/home.router: use debian buster nginx repo for now
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
07c3d93e7d
commit
d51cded72d
2 changed files with 11 additions and 0 deletions
2
nodes.py
2
nodes.py
|
@ -1,6 +1,8 @@
|
||||||
from os.path import join
|
from os.path import join
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
from bundlewrap.metadata import atomic
|
||||||
|
|
||||||
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
||||||
with open(node, 'r') as f:
|
with open(node, 'r') as f:
|
||||||
exec(f.read())
|
exec(f.read())
|
||||||
|
|
|
@ -37,6 +37,15 @@ nodes['home.router'] = {
|
||||||
'snmp': {},
|
'snmp': {},
|
||||||
'snmp-mibs-downloader': {},
|
'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': {
|
'backups': {
|
||||||
'exclude_from_backups': True,
|
'exclude_from_backups': True,
|
||||||
|
|
Loading…
Reference in a new issue