nfs-formula/pillar.example
Imran Iqbal fd7e247bc7 Add ability to unmount nfs shares
* 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
2015-06-16 07:16:28 +01:00

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