2017-11-23 18:35:30 -05:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
use_sudo: false
|
|
|
|
privileged: true
|
|
|
|
require_chef_omnibus: false
|
|
|
|
|
2017-11-29 17:04:26 -05:00
|
|
|
verifier:
|
|
|
|
name: inspec
|
|
|
|
inspec_tests:
|
|
|
|
- test/integration/consul/inspec
|
|
|
|
|
2017-11-23 18:35:30 -05:00
|
|
|
platforms:
|
2018-05-16 11:18:36 -04:00
|
|
|
- name: ubuntu-14.04
|
|
|
|
driver_config:
|
|
|
|
disable_upstart: false
|
|
|
|
image: ubuntu-upstart:14.04
|
|
|
|
run_command: /sbin/init
|
|
|
|
|
2018-05-13 00:00:13 -04:00
|
|
|
- name: debian-9.4
|
2017-11-23 18:59:36 -05:00
|
|
|
driver_config:
|
2018-05-13 00:00:13 -04:00
|
|
|
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
|
2017-11-23 18:52:15 -05:00
|
|
|
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:
|
2017-11-23 18:52:15 -05:00
|
|
|
consul.sls:
|
|
|
|
consul:
|
|
|
|
config:
|
|
|
|
server: True
|