formula-consul/.kitchen.yml

61 lines
1 KiB
YAML

---
driver:
name: docker
use_sudo: false
privileged: true
require_chef_omnibus: false
verifier:
name: inspec
inspec_tests:
- test/integration/consul/inspec
platforms:
- name: ubuntu-14.04
driver_config:
disable_upstart: false
image: ubuntu-upstart:14.04
run_command: /sbin/init
- name: debian-9.4
driver_config:
run_command: /bin/systemd
- name: ubuntu-16.04
driver_config:
run_command: /sbin/init
- name: centos-7
driver_config:
run_command: /usr/lib/systemd/systemd
provisioner:
name: salt_solo
#log_level: quiet
require_chef: false
formula: consul
state_top:
base:
'*':
- consul
pillars-from-files:
base.sls: pillar.example
pillars:
top.sls:
base:
'*':
- base
- consul
consul.sls:
consul:
register: []
scripts: []
suites:
- name: consul-server
provisioner:
pillars:
consul.sls:
consul:
config:
server: True