postfix-cookbook/kitchen.yml
Lance Albertson be94e35b22
Update tested platforms (#175)
* Update tested platforms

- Remove CentOS 8, Debian 9 & Ubuntu 16.04
- Add CentOS Stream 8, Alma Linux 8, Rocky Linux 8, Debian 11
- Remove SmartOS from ChefSpec as the platform will deprecated soon

Signed-off-by: Lance Albertson <lance@osuosl.org>

* Switch to using lint-unit job instead of chef-delivery

Signed-off-by: Lance Albertson <lance@osuosl.org>

* Remove delivery and move to calling RSpec directly via a reusable workflow

Signed-off-by: Lance Albertson <lance@osuosl.org>
2022-02-02 09:31:55 -08:00

91 lines
1.8 KiB
YAML

---
driver:
name: vagrant
provisioner:
name: chef_infra
product_name: chef
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-18.04
- name: ubuntu-20.04
suites:
- name: default
run_list:
- recipe[postfix]
- name: aliases
run_list:
- recipe[postfix::aliases]
- name: client
run_list:
- recipe[postfix::client]
- name: server
run_list:
- recipe[postfix::server]
- name: canonical
run_list:
- recipe[test::net_setup]
- recipe[postfix]
attributes:
postfix:
recipient_canonical_map_entries:
john: john@doe.com
- name: sasl_auth_none
run_list:
- recipe[postfix::sasl_auth]
attributes:
postfix:
main:
relayhost: "localhost"
smtp_sasl_auth_enable: "yes"
- name: sasl_auth_multiple
run_list:
- recipe[postfix::sasl_auth]
attributes:
postfix:
main:
relayhost: "localhost"
smtp_sasl_auth_enable: "yes"
sasl:
relayhost1:
username: "kitchenuser"
password: "not-a-real-thing"
relayhost2:
username: "anotherkitchenuser"
password: "yet-not-a-real-thing"
- name: sasl_auth_one
run_list:
- recipe[postfix::sasl_auth]
attributes:
postfix:
main:
relayhost: "localhost"
smtp_sasl_auth_enable: "yes"
sasl:
relayhost:
username: "kitchenuser"
password: "not-a-real-thing"