New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add logdir-check #81
add logdir-check #81
Conversation
@rndmh3ro thanks! I'll test it together with chef this week |
controls/os_spec.rb
Outdated
@@ -17,6 +17,13 @@ | |||
# author: Dominik Richter | |||
# author: Patrick Muench | |||
|
|||
when 'ubuntu', 'debian' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rndmh3ro here is a syntax error, probably you mean something like:
log_dir_group = case os[:family]
when 'debian', 'redhat', 'fedora'
'root'
when 'ubuntu'
os[:release] == '14.04' ? 'syslog' : 'root'
end
controls/os_spec.rb
Outdated
@@ -235,4 +242,13 @@ | |||
its(:content) { should match 'install udf /bin/true' } | |||
its(:content) { should match 'install vfat /bin/true' } | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one end
and empty line are missing here
Totally forgot about this one, sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @rndmh3ro
@rndmh3ro Thanks! |
Because we remove it here: dev-sec/mysql-baseline#38