summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-12 15:08:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-12 15:08:55 -0300
commitfb723f2b800051eb949b8b0db7360ee2038bc077 (patch)
treeacd156e7eb5f9cf93b3a2e94c3fb39c3d420d0d7 /manifests
parent1a387c2d2bacb63a1d28e2721406a5a3c84bd4e2 (diff)
downloadpuppet-apache-fb723f2b800051eb949b8b0db7360ee2038bc077.tar.gz
puppet-apache-fb723f2b800051eb949b8b0db7360ee2038bc077.tar.bz2
Pass -f do a2dismod
Diffstat (limited to 'manifests')
-rw-r--r--manifests/module.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/module.pp b/manifests/module.pp
index 64a692c..e44428f 100644
--- a/manifests/module.pp
+++ b/manifests/module.pp
@@ -14,7 +14,7 @@ define apache::module($ensure = 'present') {
}
}
'absent': {
- exec { "/usr/sbin/a2dismod $name":
+ exec { "/usr/sbin/a2dismod -f $name":
onlyif => "/bin/sh -c '[ -L ${apache::mods}-enabled/${name}.load ] \
&& [ ${apache::mods}-enabled/${name}.load -ef ${apache::mods}-available/${name}.load ]'",
notify => Exec["force-reload-apache2"],