Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2015 14:28
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/5ae8de8bd455033a4b93 to your computer and use it in GitHub Desktop.
Save anonymous/5ae8de8bd455033a4b93 to your computer and use it in GitHub Desktop.
[root@salt salt]# cat fuck.sls
fuck:
process.absent:
- name: fkgbfjgfjg
[root@salt salt]#
[root@salt salt]#
[root@salt salt]#
[root@salt salt]# salt n0.frank.sam.example.edu state.sls fuck
n0.frank.sam.example.edu:
The minion function caused an exception: Traceback (most recent call last):
File "/data/sam/salt/lib/python2.6/site-packages/salt/minion.py", line 1161, in _thread_return
return_data = func(*args, **kwargs)
File "/data/sam/salt/lib/python2.6/site-packages/salt/modules/state.py", line 681, in sls
ret = st_.state.call_high(high_)
File "/data/sam/salt/lib/python2.6/site-packages/salt/state.py", line 2067, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))
File "/data/sam/salt/lib/python2.6/site-packages/salt/state.py", line 1623, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/data/sam/salt/lib/python2.6/site-packages/salt/state.py", line 1769, in call_chunk
self._mod_init(low)
File "/data/sam/salt/lib/python2.6/site-packages/salt/state.py", line 612, in _mod_init
self.states['{0}.{1}'.format(low['state'], low['fun'])] # pylint: disable=W0106
File "/data/sam/salt/lib/python2.6/site-packages/salt/utils/lazy.py", line 90, in __getitem__
raise KeyError(key)
KeyError: 'process.absent'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment