script goss
This commit is contained in:
commit
b90c71fea9
54
goss.yaml
Normal file
54
goss.yaml
Normal file
@ -0,0 +1,54 @@
|
||||
file:
|
||||
/root/sv/dump.latest.tgz:
|
||||
exists: true
|
||||
mode: "0644"
|
||||
size: 9676
|
||||
owner: root
|
||||
group: root
|
||||
filetype: file
|
||||
contains: []
|
||||
port:
|
||||
tcp:22:
|
||||
listening: true
|
||||
ip:
|
||||
- 0.0.0.0
|
||||
tcp6:22:
|
||||
listening: true
|
||||
ip:
|
||||
- '::'
|
||||
service:
|
||||
ssh:
|
||||
enabled: true
|
||||
running: true
|
||||
sshd:
|
||||
enabled: true
|
||||
running: true
|
||||
command:
|
||||
crontab -l:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- 0 21 * * 1-5 /root/sauvegarde_script.sh
|
||||
stderr: []
|
||||
timeout: 10000
|
||||
ip r |grep default:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- default via 192.168.0.1 dev enp0s3
|
||||
stderr: []
|
||||
timeout: 10000
|
||||
ssh ap21 hostname:
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- ap21
|
||||
stderr: []
|
||||
timeout: 10000
|
||||
dns:
|
||||
A:ns.sio.lan:
|
||||
resolvable: true
|
||||
addrs:
|
||||
- 10.121.38.7
|
||||
timeout: 500
|
||||
server: 10.121.38.7
|
||||
interface:
|
||||
eth0:
|
||||
exists: false
|
Loading…
x
Reference in New Issue
Block a user