diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-05 02:06:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-05 02:06:24 -0300 |
commit | 774c13638a06ef5a79a89dbe3f2a308f530a43be (patch) | |
tree | 69cac2e28b8fc52ee59f48d12f4865ed8e959ab6 | |
parent | 74611f2b26c53407cc1af4f3f50a8ee7ab277963 (diff) | |
download | puppet-nodo-774c13638a06ef5a79a89dbe3f2a308f530a43be.tar.gz puppet-nodo-774c13638a06ef5a79a89dbe3f2a308f530a43be.tar.bz2 |
Feat: nodo::base::physical: allow managing the downtimed daemon
-rw-r--r-- | manifests/base/physical.pp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/manifests/base/physical.pp b/manifests/base/physical.pp index 2f63094..1c57388 100644 --- a/manifests/base/physical.pp +++ b/manifests/base/physical.pp @@ -5,10 +5,25 @@ class nodo::base::physical inherits nodo::base::host { class { 'smartmontools': } } - package { [ 'lm-sensors', ]: + package { [ + 'lm-sensors', + ]: ensure => present, } + $downtimed = lookup('nodo::downtimed', undef, undef, 'absent') + + # Useful to track downtimes + # + # Check https://tracker.debian.org/pkg/downtimed + # https://packages.debian.org/bookworm/downtimed + # https://dist.epipe.com/downtimed/ + package { [ + 'downtimed', + ]: + ensure => $downtimed, + } + # Deprecated package { [ 'hddtemp', |