ansible-role-diffie-hellman/test/integration/diffie-hellman/serverspec/bind_spec.rb

16 lines
330 B
Ruby
Raw Permalink Normal View History

2018-06-10 14:54:13 +00:00
require 'serverspec'
set :backend, :exec
puts
puts '================================'
puts %x(ansible --version)
puts '================================'
describe file('/etc/ssl/dh4096.pem') do
it { should be_file }
it { should be_mode 640 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'www-data' }
end