default: {}
}
}
-
-node master inherits default {
- include exim-extended
-}
source => [ "puppet:///exim/per-host/$fqdn/logrotate-exim4-paniclog",
"puppet:///exim/common/logrotate-exim4-paniclog" ]
;
+ "/etc/exim4/local-auto.conf":
+ require => Package["exim4-daemon-heavy"],
+ content => template("exim-local-auto.erb")
+ ;
}
exec { "exim4 reload":
refreshonly => true,
}
}
-
-class exim-extended inherits exim {
- file {
- "/etc/exim4/test":
- require => Package["exim4-daemon-heavy"],
- content => template("exim-test.erb")
- ;
- }
-}
--- /dev/null
+<% if has_variable?("clamd") && clamd == "true" -%>
+CLAMAV = clamd:/var/run/clamav/clamd.ctl
+<% else -%>
+# CLAMAV is undefined
+<% end -%>
+<% if has_variable?("postgrey") && postgrey == "true" -%>
+USE_GREYLISTING = 1
+# HAVE_GREYLIST is undefined
+HAVE_POSTGREY = 1
+<% elsif has_variable?("greylistd") && greylistd == "true" -%>
+USE_GREYLISTING = 1
+HAVE_GREYLIST = 1
+# HAVE_POSTGREY is undefined
+<% else -%>
+# HAVE_POSTGREY is undefined
+# HAVE_GREYLIST is undefined
+# USE_GREYLISTING is undefined
+<% end -%>
+<% if has_variable?("policydweight") && policydweight == "true" -%>
+HAVE_POLICYD = 1
+<% else -%>
+# HAVE_POLICYD is undefined
+<% end -%>
+<% if has_variable?("bugs_host") && bugs_host == "true" -%>
+HAVE_USER_DEBBUGS = 1
+<% else -%>
+# HAVE_USER_DEBBUGS is undefined
+<% end -%>
+<% if has_variable?("qa_host") && qa_host == "true" -%>
+HAVE_USER_QA = 1
+<% else -%>
+# HAVE_USER_QA is undefined
+<% end -%>
+++ /dev/null
-<% if has_variable?("clamd") && clamd == "true" -%>
-CLAMAV = clamd:/var/run/clamav/clamd.ctl
-<% else -%>
-# CLAMAV is undefined
-<% end -%>
-<% if has_variable?("postgrey") && postgrey == "true" -%>
-USE_GREYLISTING = 1
-# HAVE_GREYLIST is undefined
-HAVE_POSTGREY = 1
-<% elsif has_variable?("greylistd") && greylistd == "true" -%>
-USE_GREYLISTING = 1
-HAVE_GREYLIST = 1
-# HAVE_POSTGREY is undefined
-<% else -%>
-# HAVE_POSTGREY is undefined
-# HAVE_GREYLIST is undefined
-# USE_GREYLISTING is undefined
-<% end -%>
-<% if has_variable?("policydweight") && policydweight == "true" -%>
-HAVE_POLICYD = 1
-<% else -%>
-# HAVE_POLICYD is undefined
-<% end -%>
-<% if has_variable?("bugs_host") && bugs_host == "true" -%>
-HAVE_USER_DEBBUGS = 1
-<% else -%>
-# HAVE_USER_DEBBUGS is undefined
-<% end -%>
-<% if has_variable?("qa_host") && qa_host == "true" -%>
-HAVE_USER_QA = 1
-<% else -%>
-# HAVE_USER_QA is undefined
-<% end -%>