From 1c65a5ebdbe17b5eb2ca802f433350a4c97d1b7a Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 28 Oct 2020 22:56:11 +0100 Subject: [PATCH] updated zabbix state --- states/zabbix/repo.sls | 9 --------- states/zabbix/server/install.sls | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 states/zabbix/repo.sls diff --git a/states/zabbix/repo.sls b/states/zabbix/repo.sls deleted file mode 100644 index 2e9e3ec..0000000 --- a/states/zabbix/repo.sls +++ /dev/null @@ -1,9 +0,0 @@ ---- -{%- from "zabbix/map.jinja" import zabbix with context %} -zabbix_repo: - pkgrepo.managed: - - name: deb {{ zabbix.repo.url }} {{ zabbix.repo.distro }} main - - humanname: Zabbix repository - - file: /etc/apt/sources.list.d/zabbix.list - - keyid: 082AB56BA14FE591 - - keyserver: keyserver.ubuntu.com diff --git a/states/zabbix/server/install.sls b/states/zabbix/server/install.sls index 63dcf61..dfd74e5 100644 --- a/states/zabbix/server/install.sls +++ b/states/zabbix/server/install.sls @@ -3,3 +3,5 @@ zabbix_server_pkgs: pkg.latest: - pkgs: {{ zabbix.server.pkgs }} + - watch_in: + - service: zabbix_server_service