Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"No Top file or external nodes data matches found" with salt

Tags:

salt

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:)

like image 446
magicshui Avatar asked Dec 02 '22 16:12

magicshui


1 Answers

If you make changes to your sls files. Make sure that you restart the master in order for it to update. This solved my problem when receiving the same error...

like image 89
gmo_stack Avatar answered May 11 '23 22:05

gmo_stack