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 August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy