一.问题现象
在做系统批量初始化的时候:
执行:
salt'*'state.highstate
后报错:
ERROR:Minionsreturnedwithnon-zeroexitcode
二. 解决
后来仔细看了下,原来是这各初始化文件路径忘记写冒号了:
写上后正常执行.
参考:
/en/latest/ref/states/all/salt.states.file.html
时间:2020-05-02 01:28:05
一.问题现象
在做系统批量初始化的时候:
执行:
salt'*'state.highstate
后报错:
ERROR:Minionsreturnedwithnon-zeroexitcode
二. 解决
后来仔细看了下,原来是这各初始化文件路径忘记写冒号了:
写上后正常执行.
参考:
/en/latest/ref/states/all/salt.states.file.html