+ "exim4": {
+ case getfromhash($nodeinfo, 'heavy_exim') {
+ true: { include exim::mx }
+ default: { include exim }
+ }
+ }
+ }
+
+ case getfromhash($nodeinfo, 'puppetmaster') {
+ true: { include puppetmaster }
+ }
+
+ case getfromhash($nodeinfo, 'muninmaster') {
+ true: { include munin-node::master }
+ }
+
+ case getfromhash($nodeinfo, 'nagiosmaster') {
+ true: { include nagios::server }
+ default: { include nagios::client }
+ }
+
+ case $apache2 {
+ "true": {
+ case getfromhash($nodeinfo, 'apache2_security_mirror') {
+ true: { include apache2::security_mirror }
+ }
+ case getfromhash($nodeinfo, 'apache2_www_mirror') {
+ true: { include apache2::www_mirror }
+ }
+ include apache2
+ }
+ }
+
+ case $rsyncd {
+ "true": { include rsyncd-log }
+ }
+
+
+ case getfromhash($nodeinfo, 'buildd') {
+ true: {
+ include buildd
+ }