inspec/test/integration/default/apache_conf_spec.rb
2016-03-18 11:30:54 +01:00

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