mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
16 lines
314 B
Ruby
16 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
|