Browse Source

Add '-f' option to a2dismod to fix hanging minions for some modules (#143)

tags/v0.37.4
mschiff 8 years ago
parent
commit
33170b1dce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/modules.sls

+ 1
- 1
apache/modules.sls View File

@@ -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

Loading…
Cancel
Save