]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - manifests/site.pp
Maybe this will put the exim config, including firewall config, back onto hosts.
[dsa-puppet.git] / manifests / site.pp
index 593be680be55db2c9dfe30b20012faf539f6ee2f..c3a3657c35f92c1a53c9cf77e3135f999a4163e9 100644 (file)
@@ -34,6 +34,7 @@ node default {
        include nagios::client
        include resolv
        include roles
+       include unbound
 
        if $::hostname in [pasquini,tristano] {
                include ganeti2
@@ -41,26 +42,25 @@ node default {
 
        if $::kernel == Linux {
                include linux
+               if $::kvmdomain {
+                       include acpi
+               }
        } elsif $::kernel == 'GNU/kFreeBSD' {
                include kfreebsd
        }
 
-       if $::kvmdomain {
-               include acpi
-       }
-
        if $::mta == 'exim4' {
                if getfromhash($site::nodeinfo, 'heavy_exim') {
                        include exim::mx
                } else {
                        include exim
                }
-       } else {
+       } elsif $::mta == 'postfix' {
                include postfix
+       } else {
+               include exim
        }
 
-       include unbound
-
        if $::apache2 {
                include apache2
        }