bundlewrap/bundles/nfs-server/items.py

21 lines
302 B
Python
Raw Normal View History

2020-11-12 18:59:02 +00:00
files = {
'/etc/exports': {
'content_type': 'mako',
'triggers': {
'action:nfs_reload_shares',
},
},
}
actions = {
'nfs_reload_shares': {
'command': 'exportfs -a',
'triggered': True,
},
}
svc_systemd = {
'nfs-server': {
},
}