From a3ff70be6d9f75d1f7e47dbd0e30f41b4007419b Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 26 Oct 2023 21:46:42 +0200 Subject: [PATCH] install uptimed --- site/profiles/manifests/base.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/site/profiles/manifests/base.pp b/site/profiles/manifests/base.pp index 4bbfa428..b02b56fc 100644 --- a/site/profiles/manifests/base.pp +++ b/site/profiles/manifests/base.pp @@ -13,9 +13,14 @@ ensure => 'installed', } } - package { ['make', 'gcc', 'build-essential', 'htop', 'lsb-release', 'ctop', 'ca-certificates', 'apt-file', 'ccze', 'tree']: + package { ['make', 'gcc', 'build-essential', 'htop', 'lsb-release', 'ctop', 'ca-certificates', 'apt-file', 'ccze', 'tree', 'uptimed']: ensure => 'installed', } + service { 'uptimed': + ensure => 'running', + enable => true, + require => Package['uptimed'], + } exec { 'refresh apt-file cache': refreshonly => true, command => '/usr/bin/apt-file update',