Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this is my state (grain-match.sls):
- grain-test:
- file:
- -'saltrole:db':
- - match: grain
- - name: /tmp/grain-test
- - touch
- # the grains:
- # salt 'salt2' grains.item saltrole
- salt2:
- saltrole:
- db
- web
- # the ERROR:
- root@salt salt/test# salt 'salt2' state.sls test.grain-match
- salt2:
- Data failed to compile:
- ----------
- The state "grain-test" in sls test.grain-match is not formed as a list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement