aboutsummaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-13 16:32:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-13 16:32:23 -0300
commit3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 (patch)
treeb6b84c36610fd2fc1e6a8f6ac7f87b5d132b2c4d /manifests/host.pp
parente55f3c60b30042a72d722f21b0c6133faaa78a43 (diff)
downloadpuppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.gz
puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.bz2
Renaming base classes
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp55
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',
- }
- }
-
-}