From 3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 13 Apr 2013 16:32:23 -0300 Subject: Renaming base classes --- manifests/host.pp | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 manifests/host.pp (limited to 'manifests/host.pp') 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', - } - } - -} -- cgit v1.2.3