forked from evolix/ansible-roles
bind: add specs for service check
This commit is contained in:
parent
406657455e
commit
c4cd869218
|
@ -4,6 +4,11 @@ require 'uri'
|
|||
require 'serverspec'
|
||||
set :backend, :exec
|
||||
|
||||
describe service('bind9') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
describe port(53) do
|
||||
it { should be_listening }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue