我正在 Windows Minions(Linux master)上使用 SaltStack。我写了一个简单的 .sls 文件,它复制了 C:/hello_world.txt 中的 hello-world.txt。我还编写了我的 top.sls 并配置了我的 file_roots。Minions 密钥已被接受(并且 test.ping 正在工作)。
我目前的问题是当我打电话(在主人上)时:
salt 'my_minion' state.highstate
Run Code Online (Sandbox Code Playgroud)
我得到一个:
Minion did not return. [no response]
Run Code Online (Sandbox Code Playgroud)
而当我尝试(在奴才上)时:
salt-call state.highstate
Run Code Online (Sandbox Code Playgroud)
一切正常(文件被复制)。我试图在主服务器上添加 -l 调试选项,但我没有得到一些有趣的东西。
有什么调试技巧吗?
saltstack ×1