mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
12 lines
326 B
Ruby
12 lines
326 B
Ruby
# encoding: utf-8
|
|
|
|
# TODO: do not run those tests on docker yet
|
|
return if ENV['DOCKER']
|
|
|
|
# postgres-server is installed on these platforms
|
|
if ['ubuntu', 'centos'].include? os['family']
|
|
postgres = postgres_session('postgres', 'inspec')
|
|
describe postgres.query('show ssl;') do
|
|
its('output') { should eq 'on' }
|
|
end
|
|
end
|