inspec/test/resource/sshd_config.rb

10 lines
195 B
Ruby
Raw Normal View History

2015-09-25 17:16:07 +00:00
# encoding: utf-8
2015-10-06 16:55:44 +00:00
# author: Dominik Richter
# author: Christoph Hartmann
return unless command('sshd').exist?
describe sshd_config do
2015-09-25 17:16:07 +00:00
its('AcceptEnv') { should include('GORDON_SERVER') }
end