diff options
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/manifests/host.pp b/manifests/host.pp deleted file mode 100644 index ee87e2f..0000000 --- a/manifests/host.pp +++ /dev/null @@ -1,55 +0,0 @@ -# Fully capable node able to host other nodes -class nodo::host { - include nodo::subsystem::initramfs - include nodo::subsystem::modprobe - include nodo::subsystem::firewire - include nodo::subsystem::sysctl - include nodo::subsystem::resolver - include nodo::utils::physical - class { 'syslog-ng': } - - monkeysphere_host { "${::hostname}": } - - # Firewall - class { 'firewall': } - - # Vserver - if $::lsbdistcodename == 'squeeze' { - $vserver = hiera('nodo::host::use_vserver', True) - - if $vserver == true { - class { 'vserver::host': - vdirbase => "/var/vservers", - } - } - } - - # Time - $ntpdate = hiera('nodo::host::ntpdate', True) - case $ntpdate { - false: { class { 'timezone': } } - default: { class { 'ntpdate': } } - } - - # Backup - backupninja::sys { "sys": - ensure => present, - } - - # Monitoring - if !defined(Class['nodo::subsystem::monitor']) { - class { 'nodo::subsystem::monitor': - type => 'host', - use_nagios => hiera('nodo::host::use_nagios', True), - } - } - - # Munin configuration - $munin = hiera('nodo::host::use_munin', True) - if $munin == true { - munin_node { "$hostname": - port => '4900', - } - } - -} |