thatch45/salt — Issue #177: ; cause stack trace in require
Author: thatch45
Created: 2011-11-02 19:44:57+00:00
State: open

Verify that all require statements are dicts

pkg; tomcat6

Traceback (most recent call last):
File "/usr/bin/salt-call", line 17, in
main()
File "/usr/bin/salt-call", line 14, in main
client.run()
File "/usr/lib/python2.7/site-packages/salt/cli/__init__.py", line 561, in run
caller.run()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 71, in run
ret = self.call()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 34, in call
*self.opts['arg']
File "/usr/lib/python2.7/site-packages/salt/modules/state.py", line 64, in highstate
return st_.call_highstate()
File "/usr/lib/python2.7/site-packages/salt/state.py", line 659, in call_highstate
return self.state.call_high(high)
File "/usr/lib/python2.7/site-packages/salt/state.py", line 489, in call_high
return self.call_chunks(chunks)
File "/usr/lib/python2.7/site-packages/salt/state.py", line 360, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/usr/lib/python2.7/site-packages/salt/state.py", line 427, in call_chunk
status = self.check_requires(low, running, chunks)
File "/usr/lib/python2.7/site-packages/salt/state.py", line 374, in check_requires
if chunk['__id__'] == req[req.keys()[0]] or \
AttributeError: 'str' object has no attribute 'keys'