diff options
Diffstat (limited to 'manifests/base/physical.pp')
-rw-r--r-- | manifests/base/physical.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/base/physical.pp b/manifests/base/physical.pp new file mode 100644 index 0000000..e01bfb2 --- /dev/null +++ b/manifests/base/physical.pp @@ -0,0 +1,21 @@ +class nodo::base::physical inherits nodo::base::host { + class { [ 'nodo::subsystem::ups', 'smartmontools' ]: } + + # SMART monitoring + $munin = hiera('nodo::host::use_munin', True) + if $munin == true { + include munin::plugins::smart + munin::plugin { 'smart_sda': + ensure => 'smart_', + config => "user root\ngroup disk", + } + } + + # Entropy key + $ekey_masterkey = hiera('nodo::physical::ekey_masterkey', '') + if $ekey_masterkey != '' { + class { "ekeyd": + ekeyd_masterkey => $ekey_masterkey, + } + } +} |