cookbook-zabbix/.kitchen.yml

58 lines
1.3 KiB
YAML

---
driver:
name: qemu
provisioner:
name: chef_zero
nodes_path: test/fixtures/nodes
clients_path: test/fixtures/clients
environments_path: test/fixtures/environments
data_bags_path: test/fixtures/data_bags
chef_client_path: /usr/bin/chef-client
client_rb:
environment: test
platforms:
- name: centos-7.3
driver_config:
image: centos-7.3-chef.qcow2
platform: rhel
require_chef_omnibus: false
hostname: integration.centos7.test
suites:
- name: server
driver:
forward:
- 8087:80
run_list:
- recipe[zabbix::database]
- recipe[zabbix::server]
attributes:
tags: [ 'httpd' ]
zabbix:
database:
repo:
pgdg: true
- name: agent
run_list:
- recipe[zabbix::default]
attributes:
tags: [ 'httpd', 'openldap', 'mind1', 'mongodb', 'shibboleth', 'tomcat' ]
zabbix:
agent_servers: ['172.17.0.3']
- name: proxy
run_list:
- recipe[zabbix::proxy]
attributes:
tags: [ 'httpd' ]
- name: database
run_list:
- recipe[zabbix::database]
attributes:
tags: [ 'httpd' ]
zabbix:
version: '3.0'
database:
repo:
pgdg: true