postfix-formula/.kitchen.yml

80 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2018-03-18 00:24:00 +01:00
---
driver:
name: docker
driver_config:
use_sudo: false
privileged: true
provision_command: mkdir -p /run/sshd
2018-09-27 12:45:41 +02:00
run_command: /lib/systemd/systemd
2018-03-18 00:24:00 +01:00
platforms:
- name: debian-9
2018-09-27 12:45:41 +02:00
driver_config:
provision_command:
- apt-get install udev net-tools -y
- name: ubuntu-18.04
driver_config:
provision_command:
- apt-get install udev net-tools -y
2018-03-18 00:24:00 +01:00
- name: centos-7
driver_config:
2018-09-27 12:45:41 +02:00
provision_command:
- yum install udev net-tools -y
- name: fedora-latest
driver_config:
provision_command:
- yum install udev net-tools -y
2018-03-18 00:24:00 +01:00
provisioner:
name: salt_solo
log_level: info
require_chef: false
salt_version: latest
formula: postfix
salt_copy_filter:
- .kitchen
- .git
pillars:
top.sls:
base:
'*':
- postfix
postfix.sls:
postfix:
manage_master_config: True
master_config:
services:
relay1:
wrap: True
command: smtp
chroot: false
type: unix
extras: '-o smtp_bind_address=127.0.0.1 -o syslog_name=relay1'
no_args: True
relay2:
wrap: True
command: smtp
chroot: false
type: unix
extras: '-o smtp_bind_address=127.0.0.2 -o syslog_name=relay2'
no_args: True
2018-03-18 00:24:00 +01:00
verifier:
name: inspec
2018-09-27 12:45:41 +02:00
sudo: true
reporter:
- cli
2018-03-18 00:24:00 +01:00
inspec_tests:
- path: test/integration/default
suites:
- name: postfix
provisioner:
state_top:
base:
'*':
- postfix
- postfix.config