From 695c263f802fe968ee9eb7b2bf5b5d0b1c18bb83 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 27 Sep 2016 13:30:09 +0200 Subject: [PATCH] MT#19043 Add more tests for default content of /etc/ngcp-config Also minimise the CE/PRO difference here to merge them one day. Change-Id: I6b027261a84631b22ec94dbe452ad9c67b16ccbf --- ce/03_files_availability.yaml.tt2 | 81 ++++++++++++++++++++++++++++++ pro/03_files_availability.yaml.tt2 | 80 +++++++++++++++++++++++++++++ 2 files changed, 161 insertions(+) diff --git a/ce/03_files_availability.yaml.tt2 b/ce/03_files_availability.yaml.tt2 index 7596be3..5afefef 100644 --- a/ce/03_files_availability.yaml.tt2 +++ b/ce/03_files_availability.yaml.tt2 @@ -1,4 +1,5 @@ file: + /etc/apt/sources.list.d/sipwise.list: exists: true mode: "0644" @@ -31,6 +32,86 @@ file: filetype: file contains: [] + /etc/ngcp-config/cfg_schema.db: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/.ngcpcfg_perms: + exists: true + mode: "0700" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/ngcpcfg.cfg: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/systems.cfg: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/ssl: + exists: true + mode: "0755" + owner: root + group: ssl-cert + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/mysql: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/mysql/sipwise.cnf: + exists: true + mode: "0600" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/shared-files/ssh: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/sshd: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + /etc/ngcp_version: exists: true mode: "0644" diff --git a/pro/03_files_availability.yaml.tt2 b/pro/03_files_availability.yaml.tt2 index 6a3eb88..e3b9b44 100644 --- a/pro/03_files_availability.yaml.tt2 +++ b/pro/03_files_availability.yaml.tt2 @@ -32,6 +32,86 @@ file: filetype: file contains: [] + /etc/ngcp-config/cfg_schema.db: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/.ngcpcfg_perms: + exists: true + mode: "0700" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/ngcpcfg.cfg: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/systems.cfg: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/ssl: + exists: true + mode: "0755" + owner: root + group: ssl-cert + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/mysql: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/mysql/sipwise.cnf: + exists: true + mode: "0600" + owner: root + group: root + filetype: file + contains: [] + + /etc/ngcp-config/shared-files/ssh: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + + /etc/ngcp-config/shared-files/sshd: + exists: true + mode: "0755" + owner: root + group: root + filetype: directory + contains: [] + /etc/ngcp_version: exists: true mode: "0644"