bundles/webfs: introduce

This commit is contained in:
Franzi 2021-04-30 19:40:45 +02:00
parent 30efde6eb3
commit 3de85e6717
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 61 additions and 0 deletions

17
bundles/webfs/items.py Normal file
View file

@ -0,0 +1,17 @@
files = {
'/etc/webfsd.conf': {
'content_type': 'mako',
'context': node.metadata['webfs'],
'triggers': {
'svc_systemd:webfs:restart',
},
},
}
svc_systemd = {
'webfs': {
'needs': {
'pkg_apt:webfs',
},
},
}