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,
|
|
|
|
},
|
|
|
|
}
|
2020-11-28 14:48:27 +00:00
|
|
|
|
|
|
|
svc_systemd = {
|
2022-02-19 16:47:49 +00:00
|
|
|
'nfs-server': {},
|
2020-11-28 14:48:27 +00:00
|
|
|
}
|