2017-03-10 19:30:39 +01:00
|
|
|
---
|
|
|
|
driver:
|
2018-08-25 21:08:24 +02:00
|
|
|
name: docker
|
|
|
|
|
|
|
|
driver_config:
|
|
|
|
use_sudo: false
|
|
|
|
privileged: true
|
|
|
|
provision_command: mkdir -p /run/sshd
|
|
|
|
run_command: /lib/systemd/systemd
|
2017-03-10 19:30:39 +01:00
|
|
|
|
|
|
|
platforms:
|
2018-08-25 21:08:24 +02:00
|
|
|
- name: debian-9
|
2018-12-22 19:38:27 +01:00
|
|
|
driver_config:
|
|
|
|
provision_command:
|
|
|
|
- apt-get install udev net-tools -y
|
2018-08-25 21:08:24 +02:00
|
|
|
- name: ubuntu-18.04
|
2018-12-22 19:38:27 +01:00
|
|
|
driver_config:
|
|
|
|
provision_command:
|
|
|
|
- apt-get install udev net-tools -y
|
2018-08-25 21:08:24 +02:00
|
|
|
- name: centos-7
|
2018-12-22 19:38:27 +01:00
|
|
|
driver_config:
|
|
|
|
provision_command:
|
|
|
|
- yum install udev net-tools -y
|
2017-03-10 19:30:39 +01:00
|
|
|
|
|
|
|
provisioner:
|
|
|
|
name: salt_solo
|
2018-08-25 21:08:24 +02:00
|
|
|
log_level: info
|
|
|
|
require_chef: false
|
2017-03-10 19:30:39 +01:00
|
|
|
salt_version: latest
|
|
|
|
formula: firewalld
|
2018-08-25 21:08:24 +02:00
|
|
|
salt_copy_filter:
|
|
|
|
- .kitchen
|
|
|
|
- .git
|
2018-08-25 23:13:06 +02:00
|
|
|
pillars-from-files:
|
|
|
|
firewalld.sls: pillar.example
|
2017-03-10 19:30:39 +01:00
|
|
|
pillars:
|
|
|
|
top.sls:
|
|
|
|
base:
|
|
|
|
'*':
|
|
|
|
- firewalld
|
|
|
|
|
2018-08-25 21:08:24 +02:00
|
|
|
verifier:
|
|
|
|
name: inspec
|
2018-12-22 19:38:27 +01:00
|
|
|
sudo: true
|
|
|
|
reporter:
|
|
|
|
- cli
|
2018-08-25 21:08:24 +02:00
|
|
|
inspec_tests:
|
|
|
|
- path: test/integration/default
|
|
|
|
|
2017-03-10 19:30:39 +01:00
|
|
|
suites:
|
|
|
|
- name: default
|
|
|
|
provisioner:
|
|
|
|
state_top:
|
|
|
|
base:
|
|
|
|
'*':
|
|
|
|
- firewalld
|