enable sysstat timer on debian
This commit is contained in:
parent
a7fe6cecc7
commit
39384f7e40
|
@ -45,4 +45,10 @@ class sunetdrive::common {
|
||||||
require => Package['sysstat'],
|
require => Package['sysstat'],
|
||||||
notify => Service['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',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue