bundles/nfs-server: introduce
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
5b1b7241b7
commit
2274e7aa37
4 changed files with 33 additions and 0 deletions
15
bundles/nfs-server/items.py
Normal file
15
bundles/nfs-server/items.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
files = {
|
||||
'/etc/exports': {
|
||||
'content_type': 'mako',
|
||||
'triggers': {
|
||||
'action:nfs_reload_shares',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
actions = {
|
||||
'nfs_reload_shares': {
|
||||
'command': 'exportfs -a',
|
||||
'triggered': True,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue