57 lines
1006 B
YAML
57 lines
1006 B
YAML
---
|
|
driver:
|
|
name: docker
|
|
|
|
driver_config:
|
|
use_sudo: false
|
|
privileged: true
|
|
provision_command: mkdir -p /run/sshd
|
|
run_command: /lib/systemd/systemd
|
|
|
|
platforms:
|
|
- name: debian-9
|
|
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
|
|
- name: centos-7
|
|
driver_config:
|
|
provision_command:
|
|
- yum install udev net-tools -y
|
|
|
|
provisioner:
|
|
name: salt_solo
|
|
log_level: info
|
|
require_chef: false
|
|
salt_version: latest
|
|
formula: firewalld
|
|
salt_copy_filter:
|
|
- .kitchen
|
|
- .git
|
|
pillars-from-files:
|
|
firewalld.sls: pillar.example
|
|
pillars:
|
|
top.sls:
|
|
base:
|
|
'*':
|
|
- firewalld
|
|
|
|
verifier:
|
|
name: inspec
|
|
sudo: true
|
|
reporter:
|
|
- cli
|
|
inspec_tests:
|
|
- path: test/integration/default
|
|
|
|
suites:
|
|
- name: default
|
|
provisioner:
|
|
state_top:
|
|
base:
|
|
'*':
|
|
- firewalld
|