salt.modules.nfs3
Module for managing NFS version 3.
-
Add an export
CLI Example:
salt '*' nfs3.add_export path='/srv/test' hosts='127.0.0.1' options=['rw']
salt.modules.nfs3.add_export(exports='/etc/exports', path=None, hosts=None, options=None)
-
Remove an export
CLI Example:
salt '*' nfs.del_export /media/storage
salt.modules.nfs3.del_export(exports='/etc/exports', path=None)
-
List configured exports
CLI Example:
salt '*' nfs.list_exports
salt.modules.nfs3.list_exports(exports='/etc/exports')
-
Trigger a reload of the exports file to apply changes
CLI Example:
salt '*' nfs3.reload_exports
salt.modules.nfs3.reload_exports()
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.nfs3.html