13 lines
220 B
Ruby
13 lines
220 B
Ruby
|
control 'Postfix service' do
|
||
|
title 'should be running'
|
||
|
|
||
|
describe service('postfix') do
|
||
|
it { should be_enabled }
|
||
|
it { should be_running }
|
||
|
end
|
||
|
|
||
|
describe port(25) do
|
||
|
it { should be_listening }
|
||
|
end
|
||
|
end
|