From 774c13638a06ef5a79a89dbe3f2a308f530a43be Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 5 Jul 2024 02:06:24 -0300 Subject: Feat: nodo::base::physical: allow managing the downtimed daemon --- manifests/base/physical.pp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'manifests/base/physical.pp') 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', -- cgit v1.2.3