Skip to content

Commit 581a748

Browse files
committed
ci(inspec): add pillar to use for testing the default suite
1 parent 40e78a2 commit 581a748

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

test/salt/pillar/default.sls

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=yaml
3+
---
4+
zabbix:
5+
# Overrides map.jinja
6+
lookup:
7+
version_repo: '4.4'
8+
# agent:
9+
# version: xxx
10+
# frontend:
11+
# version: xxx
12+
# server:
13+
# version: xxx
14+
15+
# The files_switch key serves as a selector for alternative directories under
16+
# the formula files directory. See TOFS pattern doc for more info.
17+
files_switch:
18+
- id
19+
- os_family
20+
21+
# Zabbix user has to be member of some groups in order to have permissions to
22+
# execute or read some things
23+
user_groups:
24+
- adm
25+
26+
zabbix-agent:
27+
server:
28+
- localhost
29+
serveractive:
30+
- localhost
31+
listenip: 0.0.0.0
32+
listenport: 10050
33+
hostmetadata: c9767034-22c6-4d3d-a886-5fcaf1386b77
34+
logfile: /var/log/zabbix/zabbix_agentd.log
35+
logfilesize: 0
36+
# include: /etc/zabbix/zabbix_agentd.d/
37+
# Or multiple "Include" options
38+
includes:
39+
- /etc/zabbix/zabbix_agentd.d/
40+
userparameters:
41+
- net.ping[*],/usr/bin/fping -q -c3 $1 2>&1 | sed 's,.*/\([0-9.]*\)/.*,\1,'
42+
- custom.vfs.dev.discovery,/usr/local/bin/dev-discovery.sh
43+
extra_conf: |
44+
# Here we can set extra agent configuration lines
45+
46+
zabbix-server:
47+
listenip: 0.0.0.0
48+
listenport: 10051
49+
dbhost: localhost
50+
dbname: zabbix
51+
dbuser: zabbixuser
52+
dbpassword: zabbixpass
53+
extra_conf: |
54+
# Here we can set extra server configuration lines
55+
56+
zabbix-mysql:
57+
dbhost: localhost
58+
dbname: zabbix
59+
dbuser: zabbixuser
60+
dbpassword: zabbixpass
61+
dbuser_host: '%'
62+
# Optionally specify this for a non-local dbhost
63+
# dbroot_user: 'root'
64+
# dbroot_pass: 'rootpass'
65+
66+
zabbix-frontend:
67+
dbtype: MYSQL
68+
dbhost: localhost
69+
dbname: zabbix
70+
dbuser: zabbixuser
71+
dbpassword: zabbixpass
72+
zbxserver: localhost
73+
zbxserverport: 10051
74+
zbxservername: 'Zabbix installed with saltstack'
75+
76+
zabbix-proxy:
77+
proxymode: 0
78+
server: localhost
79+
serverport: 10051
80+
hostname: localhost
81+
hostnameitem: system.hostname
82+
listenport: 10051
83+
sourceip: 127.0.0.1
84+
logfile: syslog
85+
logfilesize: 0
86+
debugelevel: 3
87+
pidfile: /tmp/zabbix_proxy.pid
88+
dbhost: localhost
89+
dbname: /var/lib/zabbix/zabbix_proxy.db
90+
dbuser: zabbix
91+
include: /etc/zabbix/zabbix_proxy.d/

0 commit comments

Comments
 (0)