From 1b44048f33e795162212d2fdc77bcf0d9cdf0533 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 22 Mar 2010 22:11:47 -0300 Subject: Module organization --- manifests/physical.pp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 manifests/physical.pp (limited to 'manifests/physical.pp') diff --git a/manifests/physical.pp b/manifests/physical.pp new file mode 100644 index 0000000..d1ade0c --- /dev/null +++ b/manifests/physical.pp @@ -0,0 +1,41 @@ +class nodo::physical inherits nodo { + include syslog-ng + include firewall + include vserver::host + include initramfs + include firewire + include sysctl + include ups + include utils::physical + include smartmontools + + # Time configuration + case $ntpdate { + false: { include timezone } + default: { include ntpdate } + } + + # DNS resolver + $resolvconf_domain = "$domain" + $resolvconf_search = "$fqdn" + include resolvconf + + # SSH Server + # + # We need to restrict listen address so multiple instances + # can live together in the same physical host. + # + case $sshd_listen_address { + '': { $sshd_listen_address = [ "$ipaddress" ] } + } + include sshd + + backupninja::sys { "sys": + ensure => present, + } + + # Munin configuration + munin_node { "$hostname": + port => '4900', + } +} -- cgit v1.2.3