Commit 2f6db1f3 authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Add journald.conf rendering

parent 921d1d0f
......@@ -33,6 +33,21 @@ execute 'sys-systemd-reload' do
action :nothing
end
service 'systemd-journald' do
action :nothing
end
template '/etc/systemd/journald.conf' do
source 'systemd_unit_generic.erb'
variables(
config: {
'Journal' => node['sys']['systemd']['journald']
}
)
only_if { node['sys']['systemd']['journald'] }
notifies :restart, 'service[systemd-journald]'
end
if node['sys']['systemd']['networkd']['clean_legacy']
# This works for current usecases, but may be too radical. Probably needs
# to be changed again, when we understand, how to use systemd-networkd.service
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment