diff options
Diffstat (limited to 'manifests/module.pp')
-rw-r--r-- | manifests/module.pp | 2 |
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"], |