diff --git a/states/zabbix/agent/install.sls b/states/zabbix/agent/install.sls index 61a24a0..76f2788 100644 --- a/states/zabbix/agent/install.sls +++ b/states/zabbix/agent/install.sls @@ -1,7 +1,7 @@ --- {%- from "zabbix/map.jinja" import zabbix with context %} zabbix-agent-pkgs: - pkg.latest: + pkg.installed: - pkgs: {{ zabbix.agent.pkgs }} - watch_in: - service: zabbix-agent-service diff --git a/states/zabbix/server/install.sls b/states/zabbix/server/install.sls index 7bcaa73..be58ee9 100644 --- a/states/zabbix/server/install.sls +++ b/states/zabbix/server/install.sls @@ -1,7 +1,7 @@ --- {%- from "zabbix/map.jinja" import zabbix with context %} zabbix-server-pkgs: - pkg.latest: + pkg.installed: - pkgs: {{ zabbix.server.pkgs }} - watch_in: - service: zabbix-server-service