the update_scripts option does just worked for commands but not for scripts. The scripts can not be found by the tools:
2-11-2023 21:06:43 | sap-router | ERROR | Script run failed on server sap-router!!!!!
The error messages is:
stderr:
/tmp/__salt.tmp.a8f_6mf2.sh: line 2: /opt/susemanager/testscript.sh: No such file or directory
My mistake. I understand that the specified scripts to be executed must be located on the Salt Master. It is correct that the scripts must be located on the target system, on the Salt minion.
Hi,
the update_scripts option does just worked for commands but not for scripts. The scripts can not be found by the tools:
2-11-2023 21:06:43 | sap-router | ERROR | Script run failed on server sap-router!!!!! The error messages is: stderr: /tmp/__salt.tmp.a8f_6mf2.sh: line 2: /opt/susemanager/testscript.sh: No such file or directory
The script is on the location:
smgr02:/opt/susemanager # ll /opt/susemanager/testscript.sh -rwxr-xr-x 1 root root 20 Nov 2 20:47 /opt/susemanager/testscript.sh
The content of the update script file:
begin: timeout: 60 commands: