salt icon indicating copy to clipboard operation
salt copied to clipboard

salt.states.mount documentation

Open tylux opened this issue 13 years ago • 3 comments

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

tylux avatar Apr 16 '13 16:04 tylux

Thanks @tylux, We will look into getting this updated

thatch45 avatar Apr 22 '13 19:04 thatch45

@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

cowgill avatar Apr 27 '13 11:04 cowgill

Looks like the docs are OK here, closing this.

jacobhammons avatar Oct 07 '15 14:10 jacobhammons