diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-22 22:11:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-22 22:11:47 -0300 |
commit | 1b44048f33e795162212d2fdc77bcf0d9cdf0533 (patch) | |
tree | a854d2e5c1abbaba5eeff0d719df2a827c71a9ba /manifests/physical.pp | |
parent | 7433f4dfc9ea4056871ef273368e9826ccf38517 (diff) | |
download | puppet-nodo-1b44048f33e795162212d2fdc77bcf0d9cdf0533.tar.gz puppet-nodo-1b44048f33e795162212d2fdc77bcf0d9cdf0533.tar.bz2 |
Module organization
Diffstat (limited to 'manifests/physical.pp')
-rw-r--r-- | manifests/physical.pp | 41 |
1 files changed, 41 insertions, 0 deletions
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', + } +} |