Merge "Restart collectd at the end of configuring cpu"

This commit is contained in:
Zuul 2019-07-25 19:17:01 +00:00 committed by Gerrit Code Review
commit 9873d8c626
1 changed files with 2 additions and 1 deletions

View File

@ -9,12 +9,13 @@ class platform::compute::params (
class platform::compute::config
inherits ::platform::compute::params {
include ::platform::collectd::restart
file { '/etc/platform/worker_reserved.conf':
ensure => 'present',
replace => true,
content => template('platform/worker_reserved.conf.erb')
}
-> Exec['collectd-restart']
if $::platform::params::system_type != 'All-in-one' {
file { '/etc/systemd/system.conf.d/platform-cpuaffinity.conf':