-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
86 lines (81 loc) · 1.95 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
---
driver:
name: vagrant
verifier:
name: inspec
transport:
name: rsync
provisioner:
name: chef_infra
product_name: cinc
product_version: '18'
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
data_bags_path: test/integration/data_bags
encrypted_data_bag_secret_key_path: test/integration/encrypted_data_bag_secret
attributes:
osl-selinux:
enforcing: true
platforms:
- name: almalinux-8
- name: almalinux-9
- name: debian-12
suites:
- name: default
run_list:
- recipe[osl-postfix::default]
- name: server
run_list:
- recipe[osl-postfix::server]
- recipe[postfix::aliases]
verifier:
inspec_tests:
- name: default
path: test/integration/default
- name: server
path: test/integration/server
controls:
- postfix-common
- postfix-server
excludes:
- debian-12
- ubuntu-24.04
- name: server-ssl
run_list:
- recipe[certificate::wildcard]
- recipe[osl-postfix::server]
- recipe[postfix::aliases]
attributes:
osl-postfix:
main:
smtpd_tls_cert_file: /etc/pki/tls/certs/wildcard.pem
smtpd_tls_key_file: /etc/pki/tls/private/wildcard.key
smtpd_tls_security_level: may
smtpd_use_tls: 'yes'
postfix:
master:
smtps:
active: true
verifier:
inspec_tests:
- name: default
path: test/integration/default
- name: server
path: test/integration/server
- name: server-ssl
path: test/integration/server-ssl
- name: osuosl-baseline
git: https://github.com/osuosl/osuosl-baseline.git
controls:
- postfix-common
- postfix-server
- postfix-server-ssl
- ssl-baseline
inputs:
smtpd_tls_security_level: 'may'
ssl_port:
- 465
excludes:
- debian-12
- ubuntu-24.04