ansible-role-certbot/test/integration/certbot/serverspec/certbot_spec.rb
2018-06-10 19:37:31 +02:00

15 lines
299 B
Ruby

require 'serverspec'
set :backend, :exec
describe package('certbot') do
it { should be_installed }
end
describe file('/var/www/acme') do
it { should exist }
it { should be_directory }
it { should be_mode 755 }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
end