bundlewrap/bundles/nfs-server/items.py
Franziska Kunsmann 88891b44be
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
bundles/nfs-server: ensure nfs runs on managed ports, fix firewall rules
2022-02-20 08:24:38 +01:00

25 lines
456 B
Python

files = {
'/etc/exports': {
'content_type': 'mako',
'triggers': {
'action:nfs_reload_shares',
},
},
'/etc/default/nfs-kernel-server': {
'source': 'etc-default',
'triggers': {
'svc_systemd:nfs-server:restart',
},
},
}
actions = {
'nfs_reload_shares': {
'command': 'exportfs -a',
'triggered': True,
},
}
svc_systemd = {
'nfs-server': {},
}