2019-11-09 07:17:33 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-08-25 19:00:11 -03:00
|
|
|
describe package('firewalld') do
|
|
|
|
it { should be_installed }
|
|
|
|
end
|
|
|
|
|
2017-03-10 11:30:39 -07:00
|
|
|
describe service('firewalld') do
|
2018-08-25 19:00:11 -03:00
|
|
|
it { should be_enabled }
|
2017-03-10 11:30:39 -07:00
|
|
|
it { should be_running }
|
|
|
|
end
|
2018-08-25 19:00:11 -03: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
|