formula-consul/.kitchen.yml
2017-11-25 13:03:40 +01:00

52 lines
897 B
YAML

---
driver:
name: docker
use_sudo: false
privileged: true
require_chef_omnibus: false
platforms:
- name: ubuntu-14.04
driver_config:
disable_upstart: false
image: ubuntu-upstart:14.04
run_command: /sbin/init
- 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