MT#56187 Take CE into account for rate-o-mat service check

On a CE the general.process_handler is always set to 'none'. So we need
to take this into account and mark it as enabled.

Change-Id: Id1347ac027412861a1319a95d1537aaeb778bf6a
mr11.2.1
Guillem Jover 2 years ago
parent 6e46a9c67b
commit d03cb1fd71

@ -60,7 +60,7 @@ service:
enabled: [% rateomat.enable == "yes" ? 'true' : 'false' %]
running: [% is_proxy && rateomat.enable == "yes" ? 'true' : 'false' %]
[% ELSE -%]
enabled: false
enabled: [% general.process_handler == 'none' && asterisk.enable == "yes" ? 'true' : 'false' %]
running: {{if and [% is_proxy && rateomat.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
[% END -%]

Loading…
Cancel
Save