diff --git a/goss/r-vp2.yaml b/goss/r-vp2.yaml new file mode 100644 index 0000000..cb0669d --- /dev/null +++ b/goss/r-vp2.yaml @@ -0,0 +1,52 @@ +file: + /etc/wireguard/wg0.conf: + exists: true + mode: "0644" + owner: root + group: root + filetype: file + contains: [] +package: + wireguard: + installed: true + versions: + - 1.0.20210223-1 + wireguard-tools: + installed: true + versions: + - 1.0.20210223-1 +service: + isc-dhcp-server: + enabled: true + running: true + wg-quick@wg0: + enabled: true + running: true +command: + ping -c4 10.0.0.1: + exit-status: 0 + stdout: + - 0% packet loss + stderr: [] + timeout: 10000 +interface: + enp0s3: + exists: true + addrs: + - 192.168.99.102/24 + mtu: 1500 + enp0s8: + exists: true + addrs: + - 172.16.128.254/24 + mtu: 1500 + enp0s9: + exists: true + addrs: + - 192.168.0.52/24 + mtu: 1500 + wg0: + exists: true + addrs: + - 10.0.0.2/32 + mtu: 1420 diff --git a/goss/r-vp2goss.yaml b/goss/r-vp2goss.yaml deleted file mode 100644 index 0035b48..0000000 --- a/goss/r-vp2goss.yaml +++ /dev/null @@ -1,67 +0,0 @@ -package: - ferm: - installed: true - ipsec: - installed: true -port: - tcp:53: - listening: true - udp:67: - listening: true - udp:68: - listening: true -service: - dnsmasq: - enabled: true - running: true - ferm: - enabled: true - running: true - ssh: - enabled: true - running: true -command: - sysctl net.ipv4.ip_forward: - exit-status: 0 - stdout: - - net.ipv4.ip_forward = 1 - stderr: [] - timeout: 10000 - sysctl ping -c 4 192.168.0.51: - exit-status: 0 - stdout: - - 4 received = 1 - stderr: [] - timeout: 10000 - sysctl ping -c 4 192.168.1.1: - exit-status: 0 - stdout: - - 4 received = 1 - stderr: [] - timeout: 10000 - sysctl ping -c 4 192.168.200.254: - exit-status: 0 - stdout: - - 4 received = 1 - stderr: [] - timeout: 10000 - sysctl ping -c 4 172.16.0.1: - exit-status: 0 - stdout: - - 4 received = 1 - stderr: [] - timeout: 10000 -process: - dnsmasq: - running: true - squid3: - running: true -interface: - enp0s8: - exists: true - addrs: - - 172.16.128.254/24 - enp0s9: - exists: true - addrs: - - 192.168.0.52/24 \ No newline at end of file