mirror of
https://github.com/inspec/inspec
synced 2024-11-30 16:39:20 +00:00
15 lines
314 B
Ruby
15 lines
314 B
Ruby
# encoding: utf-8
|
|
|
|
if os.linux?
|
|
|
|
# direct access to params of apache conf
|
|
describe apache_conf do
|
|
its('LogLevel') { should eq 'warn' }
|
|
its('MaxKeepAliveRequests') { should eq '100' }
|
|
end
|
|
|
|
# only read one param
|
|
describe apache_conf.params('LogLevel') do
|
|
it { should include 'warn' }
|
|
end
|
|
end
|