2019-11-09 08:17:33 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-08-26 00:00:11 +02:00
|
|
|
describe package('firewalld') do
|
|
|
|
it { should be_installed }
|
|
|
|
end
|
|
|
|
|
2017-03-10 19:30:39 +01:00
|
|
|
describe service('firewalld') do
|
2018-08-26 00:00:11 +02:00
|
|
|
it { should be_enabled }
|
2017-03-10 19:30:39 +01:00
|
|
|
it { should be_running }
|
|
|
|
end
|
2018-08-26 00:00:11 +02:00
|
|
|
|
|
|
|
describe service('iptables') do
|
|
|
|
it { should_not be_enabled }
|
|
|
|
it { should_not be_running }
|
|
|
|
end
|
|
|
|
|
|
|
|
describe service('ip6tables') do
|
|
|
|
it { should_not be_enabled }
|
|
|
|
it { should_not be_running }
|
|
|
|
end
|