$nodeinfo = nodeinfo($fqdn, "/etc/puppet/modules/debian-org/misc/local.yaml")
$hoster = whohosts($nodeinfo, "/etc/puppet/modules/debian-org/misc/hoster.yaml")
$keyinfo = allnodeinfo("sshRSAHostKey", "ipHostNumber")
+ $mxinfo = allnodeinfo("mXRecord")
notice("hoster for ${fqdn} is ${hoster}")
- $mxinfo = allnodeinfo("mXRecord")
-
include munin-node
+ include syslog-ng
include sudo
include ssh
include debian-org
include monit
include apt-keys
include ntp
+ include ssl
include motd
"true": { include debian-proliant }
}
case $kvmdomain {
- "true": { package { acpid: ensure => installed } }
+ "true": {
+ package { acpid: ensure => installed }
+ case extractnodeinfo($nodeinfo, 'squeeze') {
+ true: { package { acpi-support-base: ensure => installed } }
+ }
+ }
}
case $mptraid {
- "true": { include raid-mpt }
+ "true": { include "raidmpt" }
}
case $mta {
"exim4": {
case extractnodeinfo($nodeinfo, 'heavy_exim') {
- true: { include exim::mx }
+ true: { include exim::mx }
default: { include exim }
}
}
}
+ case extractnodeinfo($nodeinfo, 'puppetmaster') {
+ true: { include puppetmaster }
+ }
+
case extractnodeinfo($nodeinfo, 'muninmaster') {
true: { include munin-node::master }
}
"true": {
case extractnodeinfo($nodeinfo, 'apache2_security_mirror') {
true: { include apache2::security_mirror }
- default: { include apache2 }
}
+ case extractnodeinfo($nodeinfo, 'apache2_www_mirror') {
+ true: { include apache2::www_mirror }
+ }
+ include apache2
}
}
+ case $rsyncd {
+ "true": { include rsyncd-log }
+ }
+
+
case extractnodeinfo($nodeinfo, 'buildd') {
- true: { include buildd }
+ true: {
+ include buildd
+ }
}
case $hostname {
- klecker,ravel,senfl,orff: { include named::secondary }
- geo1,geo2,geo3: { include named::geodns }
- bartok: { include named::recursor }
+ klecker,ravel,senfl,orff,draghi: { include named::authoritative }
+ geo1,geo2,geo3: { include named::geodns }
+ franck,liszt,master,samosa,schein,spohr,steffani,widor: { include named::recursor }
+ }
+
+ case $kernel {
+ Linux: {
+ include ferm
+ include ferm::per-host
+ case $rsyncd {
+ "true": { include ferm::rsync }
+ }
+ }
}
case $hostname {
- logtest01,geo1,geo2,geo3,bartok: { include ferm }
+ beethoven,ravel,spohr,stabile: {
+ include nfs-server
+ }
}
case $brokenhosts {
case $portforwarder_user_exists {
"true": { include portforwarder }
}
+
include samhain
+
+ case $hostname {
+ byrd,schuetz,tchaikovsky: {
+ include krb
+ }
+ draghi,quantz,samosa: {
+ include krb
+ include afs
+ }
+ lamb,locke,rautavaara,rietz: {
+ include krb
+ include afs::server
+ }
+ }
}
+
+# vim:set et:
+# vim:set sts=4 ts=4:
+# vim:set shiftwidth=4: