Saltstack Official FirewallD Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

firewalld_spec.rb 388B

1234567891011121314151617181920
  1. # frozen_string_literal: true
  2. describe package('firewalld') do
  3. it { should be_installed }
  4. end
  5. describe service('firewalld') do
  6. it { should be_enabled }
  7. it { should be_running }
  8. end
  9. describe service('iptables') do
  10. it { should_not be_enabled }
  11. it { should_not be_running }
  12. end
  13. describe service('ip6tables') do
  14. it { should_not be_enabled }
  15. it { should_not be_running }
  16. end