TT#119058 Use real service name for ngcp-sems-b2b

With newer systemd versions the is-enabled command returns «alias»
and a success exit code for service names that are aliases instead
of «disabled» and an error exit code, as was previously the case
with older versions, which breaks the expected goss checks.

Change-Id: I94d56cf5c9cd32d8b7579a4ce12136295876a472
mr9.4
Guillem Jover 5 years ago
parent 816f4e5898
commit 1164e1b8f5

@ -99,7 +99,7 @@ service:
enabled: [% is_mgmt && ldap.enable == "yes" ? 'true' : 'false' %]
running: [% is_mgmt && ldap.enable == "yes" ? 'true' : 'false' %]
sems-b2b.service:
ngcp-sems-b2b.service:
enabled: false
running: {{if and [% is_proxy && (pbx.enable == "yes" || b2b.enable == "yes") ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}

Loading…
Cancel
Save