Add a small change to work around password strings from outdated CUCM rules from previous versions.

This commit is contained in:
Marsell Kukuljevic 2025-10-08 09:22:37 +02:00
parent 7ad0ad33c8
commit 33b5055b62
2 changed files with 4 additions and 1 deletions

BIN
cucm/2.4/cucm-0.4.1.mkp Executable file

Binary file not shown.

View File

@ -12,7 +12,10 @@ def agent_cucm_arguments(params, host_config):
args += ["-u", params["user"]]
if "password" in params:
args += ["-s", params["password"].unsafe()]
p = params["password"]
if type(p) != str:
p = p.unsafe()
args += ["-s", p]
if "port" in params:
args += ["-p", str(params["port"])]