cookbook-zabbix/.kitchen.yml

78 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2017-02-07 01:02:03 -05:00
---
driver:
name: qemu
2017-02-07 01:02:03 -05:00
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
2017-02-07 01:02:03 -05:00
client_rb:
environment: test
2017-02-07 01:02:03 -05:00
platforms:
- name: centos-7.3
2017-02-07 01:02:03 -05:00
driver_config:
image: centos-7.3-chef.qcow2
2017-02-07 01:02:03 -05:00
platform: rhel
require_chef_omnibus: false
hostname: integration.centos7.test
2017-02-07 01:02:03 -05:00
suites:
- name: server
driver:
networks:
- netdev: user,id=user,net=192.168.1.0/24,hostname=%h,hostfwd=tcp::%p-:22,hostfwd=tcp::8087-:80
device: virtio-net-pci,netdev=user
2017-02-07 01:02:03 -05:00
run_list:
- recipe[zabbix::database]
- recipe[zabbix::server]
attributes:
tags: [ 'httpd' ]
zabbix:
database:
repo:
pgdg: true
- name: server-nginx
driver:
networks:
- netdev: user,id=user,net=192.168.1.0/24,hostname=%h,hostfwd=tcp::%p-:22,hostfwd=tcp::8086-:80
device: virtio-net-pci,netdev=user
run_list:
- recipe[zabbix::database]
- recipe[zabbix::server]
attributes:
tags: [ 'httpd' ]
zabbix:
webserver:
backend: nginx
database:
repo:
pgdg: true
php:
use_fpm: false
2017-02-07 01:02:03 -05:00
- 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