From bed2fd11bb4ad414ef804accb546716fa30e00aa Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Mon, 17 Sep 2018 17:28:03 +0200 Subject: [PATCH] Add goss config --- .dockerignore | 2 ++ tests/goss.yaml | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 tests/goss.yaml diff --git a/.dockerignore b/.dockerignore index 2a01bb4..59e192d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,6 @@ .git +.circleci +tests images LICENSE VERSION diff --git a/tests/goss.yaml b/tests/goss.yaml new file mode 100644 index 0000000..05659d2 --- /dev/null +++ b/tests/goss.yaml @@ -0,0 +1,81 @@ +file: + /data/backuppc/cpool: + exists: true + mode: "0750" + size: 4096 + owner: backuppc + group: backuppc + filetype: directory + contains: [] + /data/backuppc/log: + exists: true + mode: "0750" + size: 4096 + owner: backuppc + group: backuppc + filetype: directory + contains: [] + /data/backuppc/pc: + exists: true + mode: "0750" + size: 4096 + owner: backuppc + group: backuppc + filetype: directory + contains: [] + /data/backuppc/pool: + exists: true + mode: "0750" + size: 4096 + owner: backuppc + group: backuppc + filetype: directory + contains: [] + /etc/backuppc/config.pl: + exists: true + mode: "0640" + size: 86003 + owner: backuppc + group: backuppc + filetype: file + contains: [] + /etc/backuppc/hosts: + exists: true + mode: "0644" + size: 2214 + owner: backuppc + group: backuppc + filetype: file + contains: [] + /etc/backuppc/htpasswd: + exists: true + mode: "0644" + size: 47 + owner: root + group: root + filetype: file + contains: [] + /usr/sbin/lighttpd: + exists: true + mode: "0755" + size: 254584 + owner: root + group: root + filetype: file + contains: [] +port: + udp:12027: + listening: true + ip: + - 0.0.0.0 + tcp:8080: + listening: true + ip: + - 0.0.0.0 +process: + BackupPC: + running: true + circusd: + running: true + lighttpd: + running: true