# Fully capable node able to host other nodes class nodo::host inherits nodo { include initramfs include modprobe include firewire include sysctl include utils::physical include resolver class { 'syslog-ng': } monkeysphere_host { "${::hostname}": } # Firewall configuration class { 'firewall': } # Vserver configuration class { 'vserver::host': vdirbase => "/var/vservers", } # Monitoring if !defined('monitor') { class { 'monitor': type => 'host', use_nagios => hiera('nodo::host::use_nagios', True), } } # Time configuration $ntpdate = hiera('nodo::host::ntpdate', True) case $ntpdate { false: { class { 'timezone': } } default: { class { 'ntpdate': } } } backupninja::sys { "sys": ensure => present, } # Munin configuration munin_node { "$hostname": port => '4900', } }