formula-consul/.kitchen.yml

51 lines
1,016 B
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
platforms:
- name: ubuntu-14.04
2017-11-23 18:59:36 -05:00
driver_config:
2017-11-24 06:02:42 -05:00
disable_upstart: false
image: ubuntu-upstart:14.04
2017-11-23 18:59:36 -05:00
run_command: /sbin/init
2017-11-24 06:02:42 -05:00
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
suites:
- name: consul
provisioner:
state_top:
base:
'*':
- consul
pillars:
consul.sls:
consul:
service: True
config:
server: True
bind_addr: 0.0.0.0
enable_debug: True
datacenter: eu
encrypt: "RIxqpNlOXqtr/j4BgvIMEw=="
bootstrap_expect: 3
retry_interval: 15s
retry_join:
- 1.1.1.1
- 2.2.2.2
2017-11-23 18:35:30 -05:00
top.sls:
base:
'*':
- consul