formula-consul/.kitchen.yml

62 lines
1 KiB
YAML
Raw Normal View History

2017-11-23 18:35:30 -05:00
---
driver:
name: docker
use_sudo: false
privileged: true
require_chef_omnibus: false
verifier:
name: inspec
inspec_tests:
- test/integration/consul/inspec
2017-11-23 18:35:30 -05:00
platforms:
- name: ubuntu-14.04
driver_config:
disable_upstart: false
image: ubuntu-upstart:14.04
run_command: /sbin/init
- name: debian-9.4
2017-11-23 18:59:36 -05:00
driver_config:
run_command: /bin/systemd
2017-11-24 06:02:42 -05:00
2017-11-24 06:03:54 -05:00
- name: ubuntu-16.04
driver_config:
run_command: /sbin/init
2017-11-23 18:35:30 -05:00
- name: centos-7
driver_config:
run_command: /usr/lib/systemd/systemd
2017-11-23 18:35:30 -05:00
provisioner:
name: salt_solo
#log_level: quiet
require_chef: false
formula: consul
2017-11-25 07:01:44 -05:00
state_top:
base:
'*':
- consul
pillars-from-files:
base.sls: pillar.example
pillars:
top.sls:
base:
'*':
- base
- consul
consul.sls:
consul:
register: []
scripts: []
2017-11-23 18:35:30 -05:00
suites:
2017-11-25 07:01:44 -05:00
- name: consul-server
2017-11-23 18:35:30 -05:00
provisioner:
pillars:
consul.sls:
consul:
config:
server: True