end
if yaml.has_key?('services')
- ['bugsmaster', 'qamaster', 'mailrelay', 'rtmaster', 'packagesmaster'].each do |service|
+ ['bugsmaster', 'qamaster', 'mailrelay', 'rtmaster', 'packagesmaster', 'packagesqamaster'].each do |service|
if yaml['services'].has_key?(service)
results[service] = host == yaml['services'][service]
end
package { "clamav-daemon": ensure => installed;
"clamav-freshclam": ensure => installed;
}
-
- file {
- "/etc/clamav/clamd.conf":
- source => "puppet:///clamav/clamd.conf",
- require => Package["clamav-daemon"],
- notify => Exec["clamav-daemon restart"]
- ;
- }
-
- file {
- "/etc/clamav/freshclam.conf":
- source => "puppet:///clamav/freshclam.conf",
- require => Package["clamav-freshclam"],
- notify => Exec["clamav-freshclam restart"]
- ;
- }
- exec { "clamav-daemon restart":
- path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
- refreshonly => true,
- }
- exec { "clamav-freshclam restart":
- path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
- refreshonly => true,
- }
}
mailrelay: spohr.debian.org
rtmaster: spohr.debian.org
packagesmaster: powell.debian.org
+ packagesqamaster: master.debian.org
mail_port:
ancina.debian.org: 2025
allegri.debian.org: 2025
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
2000.hu
ab.ca
ab.se
#
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+#
# Copyright (c) 2006-2007 Erik Mugele. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
example.com
example.net
example.org
class exim::mx inherits exim {
+ include clamav
+ include postgrey
+
file {
"/etc/exim4/ccTLD.txt":
require => Package["exim4-daemon-heavy"],
%>
<%=
out=''
-if nodeinfo['packagesmaster']
+if nodeinfo['packagesqamaster']
out='
warn domains = packages.qa.debian.org
set acl_m1 = PTSMail
%>
<%=
out=''
-if nodeinfo['packagesmaster']
+if nodeinfo['packagesqamaster']
out='
deny !hosts = +debianhosts : 217.196.43.134
condition = ${if eq {$acl_m1}{PTSMail}}
--- /dev/null
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+#
+# postgrey startup options, created for Debian
+# (c)2004 Adrian von Bidder <avbidder@fortytwo.ch>
+# Distribute and/or modify at will.
+
+# you may want to set
+# --delay=N how long to greylist, seconds (default: 300)
+# --max-age=N delete old entries after N days (default: 30)
+# see also the postgrey(8) manpage
+
+#POSTGREY_OPTS="--inet=127.0.0.1:60000"
+
+# the --greylist-text commandline argument can not be easily passed through
+# POSTGREY_OPTS when it contains spaces. So, insert your text here:
+#POSTGREY_TEXT="Your customized rejection message here"
+POSTGREY_OPTS="--unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim"
+[ -d /var/run/postgrey ] || (mkdir /var/run/postgrey && chown postgrey:Debian-exim /var/run/postgrey && chmod 750 /var/run/postgrey)
file {
"/etc/default/postgrey":
- source => "puppet:///exim/common/postgrey-default",
+ source => "puppet:///postgrey/default",
require => Package["postgrey"],
notify => Exec["postgrey restart"]
;
file=/etc/apt/apt.conf.d/local-pdiffs
file=/etc/puppet/puppet.conf
file=/etc/default/puppet
+file=/etc/default/postgrey
file=/etc/logrotate.d/exim4-paniclog
file=/etc/logrotate.d/exim4-base
file=/etc/logrotate.d/syslog-ng