Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2017 14:12
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/c7710af559baa768af0f40fd73772271 to your computer and use it in GitHub Desktop.
Save anonymous/c7710af559baa768af0f40fd73772271 to your computer and use it in GitHub Desktop.
init.sls:
run_change:
salt.runner:
- name: change.run
error:
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/state.py", line 1744, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1702, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/states/saltmod.py", line 653, in runner
**kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/saltutil.py", line 1185, in runner
full_return=full_return)
File "/usr/lib/python2.7/site-packages/salt/runner.py", line 144, in cmd
full_return)
File "/usr/lib/python2.7/site-packages/salt/client/mixins.py", line 225, in cmd
self.functions[fun], arglist, pub_data
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1086, in __getitem__
func = super(LazyLoader, self).__getitem__(item)
File "/usr/lib/python2.7/site-packages/salt/utils/lazy.py", line 101, in __getitem__
raise KeyError(key)
KeyError: 'change.run'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment