blob: 0d797fc9901b2140cb716c9b93335ff7c85c20d4 (
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
|
class nodo::physical inherits nodo::host {
include ups
include smartmontools
# SMART monitoring
include munin::plugins::smart
munin::plugin { "smart_sda":
ensure => "smart_",
config => "user root\ngroup disk",
}
# Removable media folder
file { [ "/media/usb", "/media/cdrom", "/media/tablet", "/media/phone" ]:
ensure => directory,
mode => 0755,
}
# Entropy key
if $ekey_masterkey != '' {
class { "ekeyd":
ekeyd_masterkey => $ekey_masterkey,
}
}
}
|