From e03d4bdaf3e5a1967ca1877681fd4695eb370d92 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 18 Dec 2024 01:30:19 +0100 Subject: [PATCH] MT#61779 Remove duplicate ngcp-license-client check There is a more complete check that should already handle the case this instance was covering, with a non-empty license-key. This was causing the following parse failure with the new goss version from Debian trixie: ,--- Error: could not read json data in /etc/ngcp-system-tests/510_init-daemons-ngcp.yaml: yaml: unmarshal errors: line 115: mapping key "ngcp-license-client.service" already defined at line 31 `--- Reported-by: goss 0.4.9 Change-Id: I7323fbd80e2b13d0bcc280210bdb8010b910c5f1 --- templates/510_init-daemons-ngcp.yaml.tt2 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index bbe1852..2423b94 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -128,12 +128,6 @@ service: enabled: [% general.ngcp_type != 'spce' ? 'true' : 'false' %] running: [% general.ngcp_type != 'spce' ? 'true' : 'false' %] -[% IF general.license_key != '' -%] - ngcp-license-client.service: - enabled: true - running: true - -[% END -%] # Obsolete, never running. ngcp-rtcengine.service: enabled: false