Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
sys
Commits
2f6db1f3
Commit
2f6db1f3
authored
Jul 01, 2022
by
Christopher Huhn
Browse files
Add journald.conf rendering
parent
921d1d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/systemd.rb
View file @
2f6db1f3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment