Skip to content

Instantly share code, notes, and snippets.

[root@ip-10-0-0-18 salt]# salt 'DB-Master' state.show_top
DB-Master:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 809, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/salt/modules/state.py", line 668, in show_top
top_ = st_.get_top()
File "/usr/lib/python2.6/site-packages/salt/state.py", line 2045, in get_top
tops = self.get_tops()
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1922, in get_tops
file_roots:
base:
- /srv/salt/base
staging:
- /srv/salt/staging
- /srv/salt/staging/services
- /srv/salt/staging/states
prod:
- /srv/salt/prod
- /srv/salt/prod/services