enable sysstat timer on debian
This commit is contained in:
parent
df6557a91b
commit
a69ae092d1
|
@ -45,4 +45,10 @@ 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',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue