Move hee from cosmos-sites.pp
This commit is contained in:
parent
d3d0807d43
commit
6365549250
|
@ -3,6 +3,7 @@
|
||||||
class sunetdrive::common {
|
class sunetdrive::common {
|
||||||
include sunet::tools
|
include sunet::tools
|
||||||
include sunet::motd
|
include sunet::motd
|
||||||
|
include sunet::ntp
|
||||||
include apt
|
include apt
|
||||||
include apparmor
|
include apparmor
|
||||||
include sunet::packages::jq
|
include sunet::packages::jq
|
||||||
|
@ -44,10 +45,4 @@ 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