+ 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
+ }
+ }
+
+ case $hostname {
+ klecker,ravel,senfl,orff,draghi,diamond: { include named::authoritative }
+ geo1,geo2,geo3: { include named::geodns }
+ liszt: { include named::recursor }
+ }
+ case $hostname {
+ franck,master,lobos,samosa,spohr,widor: { include unbound }
+ }
+ case getfromhash($nodeinfo, 'squeeze') {
+ true: { include unbound }
+ }
+ include resolv
+
+ case $kernel {
+ Linux: {
+ include ferm
+ include ferm::per-host
+ case $rsyncd {
+ "true": { include ferm::rsync }
+ }
+ }
+ }
+
+ case $hostname {
+ beethoven,duarte,ravel,spohr,stabile: {
+ include nfs-server
+ }
+ }
+
+ case $brokenhosts {
+ "true": { include hosts }
+ }
+ case $portforwarder_user_exists {
+ "true": { include portforwarder }
+ }
+
+ include samhain
+
+ case $hostname {
+ byrd,schuetz,tchaikovsky: {
+ include krb
+ }
+ draghi,quantz: {
+ include krb
+ include afs
+ }
+ lamb,locke,rautavaara,rietz: {
+ include krb
+ include afs::server
+ }
+ }