diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-13 16:32:23 -0300 |
commit | 3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3 (patch) | |
tree | b6b84c36610fd2fc1e6a8f6ac7f87b5d132b2c4d /manifests/base/physical.pp | |
parent | e55f3c60b30042a72d722f21b0c6133faaa78a43 (diff) | |
download | puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.gz puppet-nodo-3ae6096fd3108d7edc1f1a98dbb6b11ba6d1fbd3.tar.bz2 |
Renaming base classes
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, + } + } +} |