mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
16 lines
372 B
Ruby
16 lines
372 B
Ruby
# encoding: utf-8
|
|
|
|
# TODO: do not run those tests on docker yet
|
|
return if ENV['DOCKER']
|
|
return unless os.linux?
|
|
|
|
# direct access to params of apache conf
|
|
describe apache_conf do
|
|
its('LogLevel') { should cmp 'warn' }
|
|
its('MaxKeepAliveRequests') { should cmp 100 }
|
|
end
|
|
|
|
# only read one param
|
|
describe apache_conf.params('LogLevel') do
|
|
it { should include 'warn' }
|
|
end
|