inspec/test/resource/sshd_config.rb

10 lines
195 B
Ruby
Raw Normal View History

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