-
-
Notifications
You must be signed in to change notification settings - Fork 199
/
kitchen.yml
94 lines (86 loc) · 2.13 KB
/
kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
driver:
name: vagrant
provisioner:
name: chef_zero
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: almalinux-8
- name: amazonlinux-2
- name: centos-7
- name: centos-stream-8
- name: debian-10
- name: debian-11
- name: fedora-latest
- name: opensuse-leap-15
- name: rockylinux-8
- name: ubuntu-1804
- name: ubuntu-2004
suites:
- name: default
run_list:
- recipe[rsyslog::default]
- name: relp
run_list:
- recipe[rsyslog::client]
verifier:
inspec_tests:
- name: rsyslog-default-integration-tests
path: test/integration/default
attributes:
rsyslog:
use_relp: true
custom_remote:
- server: 10.0.0.45
logs: auth.*,mail.*
port: 555
protocol: udp
- server: 10.1.1.33
logs: authpriv.*,cron.*,daemon.*
port: 654
protocol: tcp
remote_template: RSYSLOG_SyslogProtocol23Format
- name: client
run_list:
- recipe[rsyslog_test::client]
verifier:
inspec_tests:
- name: rsyslog-default-integration-tests
path: test/integration/default
attributes:
rsyslog:
server_ip: 10.0.0.50
custom_remote:
- server: 10.0.0.45
logs: auth.*,mail.*
port: 555
protocol: udp
- server: 10.1.1.33
logs: authpriv.*,cron.*,daemon.*
port: 654
protocol: tcp
remote_template: RSYSLOG_SyslogProtocol23Format
- name: server
run_list:
- recipe[rsyslog_test::server]
verifier:
inspec_tests:
- name: rsyslog-default-integration-tests
path: test/integration/default
attributes:
rsyslog:
tcp_max_sessions: 123
- name: input_file_resource
attributes:
rsyslog:
imfile:
PollingInterval: 10
run_list:
- recipe[rsyslog_test::input_file_resource]
verifier:
inspec_tests:
- name: rsyslog-default-integration-tests
path: test/integration/default