node default {
# we really should rename this one
- include site
+ include deprecated
+ include base
# this is magic: it will include whatever classes says we should
# include, based on the value of the "classes" array
ensure => absent
}
- if getfromhash($site::nodeinfo, 'ganeti') {
+ if getfromhash($deprecated::nodeinfo, 'ganeti') {
include ganeti2
}
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
}