]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Pass -f do a2dismod
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Aug 2015 18:08:55 +0000 (15:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Aug 2015 18:08:55 +0000 (15:08 -0300)
manifests/module.pp
templates/apache2.conf.erb.jessie

index 64a692c8557bc6c9b1a612d49132478cb75bc2a0..e44428f10d115d743ba3aa0b5e32ee674403e9fc 100644 (file)
@@ -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"],
index 1918048d31903c69770decaa3a2f09c626e04d14..5d39e8985608f8beded5b5a73fa1e392450ae445 100644 (file)
@@ -154,7 +154,7 @@ TypesConfig /etc/mime.types
 # keep browsers from trying to display binary files as though they are
 # text.
 #
-DefaultType text/plain
+DefaultType none
 
 #
 # HostnameLookups: Log the names of clients or just their IP addresses