From bcd6e12d2a142f6e1acda6a37feb9456e811e688 Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Wed, 1 Jun 2022 17:50:24 +0200
Subject: [PATCH] TT#177600 Move ngcpcfg specific configuration under
 /etc/ngcp-ngcpcfg

The configuration files specific to the ngcpcfg tool should not be
mixed with the site specific configuration, as that's rather confusing,
more so when the actual ngcpcfg configuration contains references to the
location of the ngcp-config dir itself, which makes it self-referential.

Change-Id: I25bee17e69e9c302d40b1bb55f73a1e88e505a8d
---
 templates/130_filesys-ngcp.yaml.tt2 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/130_filesys-ngcp.yaml.tt2 b/templates/130_filesys-ngcp.yaml.tt2
index f0e0a75..fa90642 100644
--- a/templates/130_filesys-ngcp.yaml.tt2
+++ b/templates/130_filesys-ngcp.yaml.tt2
@@ -57,6 +57,9 @@ file:
     contains: []
 
   /etc/ngcp-config/ngcpcfg.cfg:
+    exists: false
+
+  /etc/ngcp-ngcpcfg/ngcpcfg.cfg:
     exists: true
     mode: "0644"
     owner: root