Commit 65c76b84 authored by Christian Hesse's avatar Christian Hesse

capsman-rolling-upgrade: log with info, give identity

parent 43d77cb6
......@@ -12,8 +12,9 @@
:local Delay (600 / $RemoteCapCount);
:if ($Delay > 120) do={ :set Delay 120; }
:foreach RemoteCap in=[ / caps-man remote-cap find where version!=$InstalledVersion ] do={
:local RemoteCapName [ / caps-man remote-cap get $RemoteCap name ];
:log debug ("Starting upgrade for CAP " . $RemoteCapName . "...");
:local RemoteCapVal [ / caps-man remote-cap get $RemoteCap ];
:log info ("Starting upgrade for " . $RemoteCapVal->"name" . \
" (" . $RemoteCapVal->"identity" . ")...");
/ caps-man remote-cap upgrade $RemoteCap;
:delay ($Delay . "s");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment