paulbsd-salt/states/zabbix/init.sls

20 lines
319 B
Plaintext
Raw Permalink Normal View History

2020-09-27 22:16:06 +02:00
---
2020-10-25 16:35:57 +01:00
{%- from "zabbix/map.jinja" import zabbix with context %}
2020-09-27 22:16:06 +02:00
include:
2022-07-27 23:49:18 +02:00
{% if zabbix.server.enable %}
2024-02-24 15:30:27 +01:00
- repo
2020-09-27 22:16:06 +02:00
- postgresql
- php
2020-10-25 16:35:57 +01:00
- .server
{% endif %}
2024-09-28 14:31:25 +02:00
{% if zabbix.agent2.enable %}
2024-02-24 15:30:27 +01:00
- repo
2024-09-28 14:24:54 +02:00
- .agent2
## for upgrade
zabbix-agent-service:
2024-09-28 14:36:12 +02:00
service.dead:
2024-09-28 14:24:54 +02:00
- name: zabbix-agent
- enable: false
2020-10-25 16:35:57 +01:00
{% endif %}