enable sysstat timer on debian
This commit is contained in:
parent
671b5f95df
commit
cb13190197
|
@ -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