Move hee from cosmos-sites.pp

This commit is contained in:
Micke Nordin 2024-09-23 17:03:26 +02:00
parent d3d0807d43
commit 6365549250
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -3,6 +3,7 @@
class sunetdrive::common {
include sunet::tools
include sunet::motd
include sunet::ntp
include apt
include apparmor
include sunet::packages::jq
@ -44,10 +45,4 @@ class sunetdrive::common {
require => Package['sysstat'],
notify => Service['sysstat'],
}
if $::facts['os']['distro']['id'] == 'Debian' {
exec { 'sysstat_systemd_timer':
command => 'systemctl enable --now sysstat-collect.timer',
unless => 'systemctl is-enabled --quiet sysstat-collect.timer',
}
}
}