paulbsd-salt/states/zabbix/server/config.sls

12 lines
356 B
Plaintext
Raw Normal View History

2020-10-25 16:35:57 +01:00
---
{%- from "zabbix/map.jinja" import zabbix with context %}
2021-08-19 19:21:06 +02:00
zabbix-server-config:
2020-10-25 16:35:57 +01:00
file.managed:
- name: /etc/zabbix/zabbix_server.conf
- source: salt://zabbix/templates/zabbix_server.conf.j2
2021-08-16 09:59:37 +02:00
- user: {{ zabbix.server.user }}
- group: {{ zabbix.server.group }}
2020-10-25 16:35:57 +01:00
- template: jinja
2023-03-11 09:54:27 +01:00
- watch_in:
- service: zabbix-server-service