bundlewrap/bundles/nfs-server/items.py

23 lines
373 B
Python

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