salt
salt copied to clipboard
salt.states.mount documentation
https://salt.readthedocs.org/en/latest/ref/states/all/salt.states.mount.html#module-salt.states.mount
Not sure if the documentation should be updated, I spent a lot of time tracking this down.
When fstype = nfs
opts: works only when using defaults
WORKS: -opts:
- defaults
DOES NOT WORK: -opts:
- soft,intr,timeout=60
Should be this if you are doing non default options for an nfs mount.
WORKS:
- opts: soft,inter,timeout=60
Thanks @tylux, We will look into getting this updated
@tylux, I don't believe this is a bug. The options work as intended per the doc.
These are the two options:
- opts: soft,intr,timeout=60
- opts:
- soft
- intr
- timeout=60
Looks like the docs are OK here, closing this.