Msgstr "There are no matches with data on files of the top or outer nodes" with salt

New to salt, and I add the first server (wx-1), it works, but when I add an excellent server, test.ping is fine, but when salt 'qing' state.highstateit fails, the error information 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 is different from wx-1, I don’t know if this is good, thanks for your help :)

+4
source share
2 answers

You did not give a lot of information. But here are a few things to check:

  • if it salt qing state.sls bin.nginxworks, if you do not continue reading
  • make sure file_roots:basein the main configuration points to/srv/salt
  • salt-master/minion --version , , .

, .

+8

sls. , , . ...

+8

Source: https://habr.com/ru/post/1531484/


All Articles