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
7773c610
Commit
7773c610
authored
Feb 22, 2015
by
Tim Smith
Browse files
Rubocop fixes
parent
5feda536
Changes
2
Hide whitespace changes
Inline
Side-by-side
attributes/default.rb
View file @
7773c610
...
...
@@ -71,7 +71,7 @@ when 'rhel', 'fedora'
'local7.*'
=>
"
#{
node
[
'rsyslog'
][
'default_log_dir'
]
}
/boot.log"
}
# RHEL >= 7 and Fedora >= 19 use journald in systemd. Amazon Linux doesn't.
if
node
[
'platform'
]
!=
"
amazon
"
&&
(
node
[
'platform_version'
].
to_i
==
7
||
node
[
'platform_version'
].
to_i
>=
19
)
if
node
[
'platform'
]
!=
'
amazon
'
&&
(
node
[
'platform_version'
].
to_i
==
7
||
node
[
'platform_version'
].
to_i
>=
19
)
default
[
'rsyslog'
][
'modules'
]
=
%w(imuxsock imjournal)
default
[
'rsyslog'
][
'additional_directives'
]
=
{
'OmitLocalLogging'
=>
'on'
,
'IMJournalStateFile'
=>
'imjournal.state'
}
end
...
...
spec/default_spec.rb
View file @
7773c610
...
...
@@ -67,7 +67,6 @@ describe 'rsyslog::default' do
end
end
end
end
context
'/etc/rsyslog.d directory'
do
...
...
Write
Preview
Markdown
is supported
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