From e0043dd7bafcab1b87822d0c831b91e10936b291 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sat, 10 Oct 2020 16:32:03 +0100 Subject: [PATCH 1/2] docs(readme): add mod watchdog to pillar example --- pillar.example | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar.example b/pillar.example index c265866..2f689fe 100644 --- a/pillar.example +++ b/pillar.example @@ -391,6 +391,7 @@ apache: - dav_lock - auth_digest - socache_shmcb + - watchdog - xml2enc - ldap disabled: # List modules to disable From fb81d8e69450702bcd3eaa6e5243fce02715c819 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sat, 10 Oct 2020 16:33:30 +0100 Subject: [PATCH 2/2] refactor(package): remove unnecessary state --- apache/package/install.sls | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apache/package/install.sls b/apache/package/install.sls index 5453428..c16ee37 100644 --- a/apache/package/install.sls +++ b/apache/package/install.sls @@ -10,11 +10,6 @@ apache-package-install-deps-pkg-installed: - names: {{ apache.pkg.deps|json }} - require: - apache-package-install-pkg-installed - {%- if grains.os_family == 'Debian' %} - cmd.run: - # because pkg.installed returns error during dpkg postinstall - - name: apt install libapache2-mod-security2 || true - {%- endif %} {%- endif %} apache-package-install-pkg-installed: