Skip to content

Instantly share code, notes, and snippets.

Created August 13, 2013 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6222354 to your computer and use it in GitHub Desktop.
Save anonymous/6222354 to your computer and use it in GitHub Desktop.
/mnt/builds:
mount.mounted:
- device: sfo1:/builds/exproot
- fstype: nfs
- opts: rw,bg,nfsvers=3,tcp,timeo=600,rsize=32768,wsize=32768,hard,intr
- mkmnt: True
State: - mount
Name: /mnt/builds
Function: mounted
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1239, in call
ret = self.states[cdata['full']](*cdata['args'])
File "/usr/lib/python2.7/dist-packages/salt/states/mount.py", line 109, in mounted
if ret['changes']['mount']:
KeyError: 'mount'
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment