blob: d1ade0c980620bb419164193c7264f228d8ed327 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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',
}
}
|