From 33170b1dce168ede582023f618720ef97c0c64ca Mon Sep 17 00:00:00 2001 From: mschiff Date: Tue, 24 May 2016 08:49:03 +0200 Subject: [PATCH] Add '-f' option to a2dismod to fix hanging minions for some modules (#143) --- apache/modules.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/modules.sls b/apache/modules.sls index 9cb3415..c4301ce 100644 --- a/apache/modules.sls +++ b/apache/modules.sls @@ -15,7 +15,7 @@ a2enmod {{ module }}: {% endfor %} {% for module in salt['pillar.get']('apache:modules:disabled', []) %} -a2dismod {{ module }}: +a2dismod -f {{ module }}: cmd.run: - onlyif: ls /etc/apache2/mods-enabled/{{ module }}.load - order: 225