enable sysstat timer on debian
This commit is contained in:
parent
6865d6833f
commit
a64b2533bb
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue