From 3c31d0d8632f56f42f1da0225ba446b2c4f0808d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 14 Jun 2019 12:14:49 +0200 Subject: [PATCH] TT#60062 Check ngcp-license-client also on CE Change-Id: Icde0906bc4752412b38486dedd69bb154c719c26 --- templates/510_init-daemons-ngcp.yaml.tt2 | 6 ++++++ templates/511_init-daemons-ngcp-pro.yaml.tt2 | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index d7e8dbe..54af339 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -88,6 +88,12 @@ service: enabled: [% general.process_handler == 'none' ? 'true' : 'false' %] running: [% is_proxy && node_state == 'active' ? 'true' : 'false' %] [% END -%] +[% IF general.license_key != '' || general.anonymous_usage_statistics == 'yes' -%] + + ngcp-license-client: + enabled: true + running: true +[% END -%] [% IF mediator.enabled == 'yes' -%] mediator: diff --git a/templates/511_init-daemons-ngcp-pro.yaml.tt2 b/templates/511_init-daemons-ngcp-pro.yaml.tt2 index d140634..3ad76ff 100644 --- a/templates/511_init-daemons-ngcp-pro.yaml.tt2 +++ b/templates/511_init-daemons-ngcp-pro.yaml.tt2 @@ -31,12 +31,6 @@ service: ngcp-snmp-agent: enabled: true running: true -[% IF general.license_key != '' || general.anonymous_usage_statistics == 'yes' -%] - - ngcp-license-client: - enabled: true - running: true -[% END -%] [% IF faxserver.enable == "yes" -%] # XXX: This should be moved to the non-pro file, but the faxserver.enable