mirror of
https://github.com/saltstack-formulas/nfs-formula.git
synced 2025-04-17 10:10:31 +00:00

* Complements mount.mounted by using mount.unmounted * Since device parameter causes warnings on older minion versions, included a test to determine whether the parameter should be used * Other changes include: - Update pillar.example to show how unmount is to be used - Update README to include `nfs.mount` and `nfs.unmount` - Add standard manual edit warning to managed exports file
17 lines
419 B
Text
17 lines
419 B
Text
nfs:
|
|
server:
|
|
exports:
|
|
/srv/homes: "hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)"
|
|
mount:
|
|
somename:
|
|
mountpoint: "/some/path"
|
|
location: "hostname:/path"
|
|
opts: "vers=3,rsize=65535,wsize=65535"
|
|
persist: True
|
|
mkmnt: True
|
|
unmount:
|
|
someothername:
|
|
mountpoint: "/some/other/path"
|
|
location: "hostname:/other/path"
|
|
persist: False
|
|
|