Module for managing NFS version 3.
salt.modules.nfs3.
add_export
(exports='/etc/exports', path=None, hosts=None, options=None)¶Add an export
CLI Example:
salt '*' nfs3.add_export path='/srv/test' hosts='127.0.0.1' options=['rw']
salt.modules.nfs3.
del_export
(exports='/etc/exports', path=None)¶Remove an export
CLI Example:
salt '*' nfs.del_export /media/storage
salt.modules.nfs3.
list_exports
(exports='/etc/exports')¶List configured exports
CLI Example:
salt '*' nfs.list_exports
salt.modules.nfs3.
reload_exports
()¶Trigger a reload of the exports file to apply changes
CLI Example:
salt '*' nfs3.reload_exports
Generated on January 08, 2021 at 20:51:45 UTC.
You are viewing docs for the previous stable release, 2019.2.8. Switch to docs for the latest stable release, 3002.2, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy