]> git.openstreetmap.org Git - chef.git/blob - test/integration/networking/inspec/nftables_spec.rb
Merge remote-tracking branch 'github/pull/704'
[chef.git] / test / integration / networking / inspec / nftables_spec.rb
1 describe package("nftables") do
2   it { should be_installed }
3 end
4
5 describe service("nftables") do
6   it { should be_enabled }
7   it { should be_running }
8 end
9
10 describe file("/etc/nftables.conf") do
11   it { should be_file }
12   its(:content) { should match(/echo-request.*accept/) }
13   its(:content) { should match(/http.*accept/) }
14   its(:content) { should match(/https.*accept/) }
15 end