i found this discussion from a while back
i tried it like so in b/top.sls, to try to include sls files from env a.
- a: tarballs
- a: formulae
- match: compound
i get this error when trying to feed a dict (a: tarbals for example) as one
of the includes
[DEBUG ] Results of YAML rendering:
OrderedDict([('include', [OrderedDict([('a', 'tarballs')]),
OrderedDict([('a', 'formulae')])]), ('a',
OrderedDict([('E@.*salt-minion.*', [OrderedDict([('match', 'compound')]),
'tarballs', 'formulae/mongodb', 'formulae/mongodb/server'])]))])
[DEBUG ] Loaded no_out as virtual quiet
[DEBUG ] Loaded json_out as virtual json
[DEBUG ] Loaded yaml_out as virtual yaml
[DEBUG ] Loaded pprint_out as virtual pprint
Data failed to compile:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2483, in
top = self.get_top()
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2036, in
tops = self.get_tops()
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1936, in
for sls in fnmatch.filter(self.avail[saltenv], sls_match):
File "/usr/lib/python2.7/fnmatch.py", line 50, in filter
if not pat in _cache:
TypeError: unhashable type: 'OrderedDict'
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.