Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
rsyslog
Commits
4473304c
Commit
4473304c
authored
Jul 22, 2015
by
Tim Smith
Browse files
Add backwards compatibility for older rsyslog releases
parent
ecf4161e
Changes
1
Hide whitespace changes
Inline
Side-by-side
attributes/default.rb
View file @
4473304c
...
...
@@ -100,6 +100,11 @@ else
}
end
# rsyslog 3/4 do not support the new :omusrmsg:* format and need * instead
if
(
node
[
'platform'
]
==
'ubuntu'
&&
node
[
'platform_version'
].
to_i
<
12
)
||
(
node
[
'platform_family'
]
==
'rhel'
&&
node
[
'platform_version'
].
to_i
<
6
)
default
[
'rsyslog'
][
'default_facility_logs'
][
'*.emerg'
]
=
'*'
end
# platform specific attributes
case
node
[
'platform'
]
when
'ubuntu'
...
...
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