Hello everyone~
This is the first time I post in this forum :D I have a question about salt may need your help to advice.
So I plan to upgrade my windows salt minions version, and because there are quite a few windows minions there, I want to do the installation using salt.
I managed to put the salt installation packages & install_minion.bat on the salt minions (Directory C:\upgrade_salt_minion), and then I plan to install this bat using salt state function. The command I used on salt master is: salt 'N74' state.sls DeploySaltUpdate.
However, it seems not working and after waiting for a while it return:
N74:
Minion did not return. [Not connected]
Checking on the windows minions itself now, found that salt minion service is stopped and the salt version is not updated. But when I try to run the bat file on my window server itself, it is working well and salt version is updated accordingly.
I found this is really wired and would like to seek if anyone have any alternative ways to do this. Appreciate the kind help in advance!
Attached is the files I mentioned in case you can spot any errors in them :)
install_minion.bat:
C:\upgrade_salt_minion\Salt-Minion-2016.11.7-AMD64-Setup.exe /S /master=XXX /minion-name=N74 /start-service=1
DeploySaltUpdate.sls:
- name: 'C:\upgrade_salt_minion\install_minions.bat'