X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=manifests%2Fsite.pp;h=29ac94ff41e15df25b4933e567b78a35a8a3e571;hb=368e147f10b8e748f7e171a15568a94d79599039;hp=c1cdd53db0ba602be91fd83acb2816af2f72fd7e;hpb=6ecc5aff091790a2d65d2f911215032d76e3a43d;p=mirror%2Fdsa-puppet.git diff --git a/manifests/site.pp b/manifests/site.pp index c1cdd53db..29ac94ff4 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -19,6 +19,10 @@ Service { } node default { + # we really should rename this one + include deprecated + include base + # this is magic: it will include whatever classes says we should # include, based on the value of the "classes" array hiera_include('classes') @@ -28,7 +32,7 @@ node default { ensure => absent } - if getfromhash($site::nodeinfo, 'ganeti') { + if getfromhash($deprecated::nodeinfo, 'ganeti') { include ganeti2 } @@ -37,18 +41,6 @@ node default { include acpi } - if $::mta == 'exim4' { - if getfromhash($site::nodeinfo, 'heavy_exim') { - include exim::mx - } else { - include exim - } - } elsif $::mta == 'postfix' { - include postfix - } else { - include exim - } - if $::apache2 { include apache2 }