New to salt,and i add first server(wx-1),it works ,but when i add a differnt server, test.ping is ok,but when execute salt 'qing' state.highstate
, it fails,the error info is:
No Top file or external nodes data matches found
Here is my top.sls:
base:
'wx-1':
- bin.nginx
- git
- web
- mongo
- redis
'qing':
- bin.nginx
qing is a new server and it's config is different to wx-1,don't know if this is ok,thanks for your help:)
You didn't give much information. But here are a few things to check:
salt qing state.sls bin.nginx
works, if not continue readingfile_roots:base
in master config points to /srv/salt
salt-master/minion --version
to check salt versions, make sure they are the same. Because different versions might diffGive further info if you tried all the above.