bundlewrap/bundles/nfs-server/items.py

26 lines
456 B
Python
Raw Permalink Normal View History

2020-11-12 18:59:02 +00:00
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',
},
},
2020-11-12 18:59:02 +00:00
}
actions = {
'nfs_reload_shares': {
'command': 'exportfs -a',
'triggered': True,
},
}
svc_systemd = {
'nfs-server': {},
}