And this?
authorPeter Palfrader <peter@palfrader.org>
Wed, 21 Oct 2009 16:31:25 +0000 (18:31 +0200)
committerPeter Palfrader <peter@palfrader.org>
Wed, 21 Oct 2009 16:31:25 +0000 (18:31 +0200)
modules/munin-node/templates/munin-node.plugin.conf.erb

index 4f3d3ed..0a3f2c9 100644 (file)
@@ -19,7 +19,7 @@ group adm, maillog
 user root
 <%=
 out = ""
-if mta and mta == "exim4"
+if has_variable?("mta") and mta == "exim4"
   out="
 [exim_mail*]
 user Debian-exim
@@ -52,7 +52,7 @@ env.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf
 
 <%=
 out = ""
-if mta and mta == "postfix"
+if has_variable?("mta") and mta == "postfix"
   out="
 [postfix_mailqueue]
 user postfix