Révision 2075a727
Correct NFS udp and tcp port matching
There was a missing `th` from rule which from the examples in the man
page is meant to be there.
Cannot find the docs for what `th` does.
spec/classes/rules/nfs3_spec.rb | ||
---|---|---|
7 | 7 |
|
8 | 8 |
context 'default options' do |
9 | 9 |
it { is_expected.to compile } |
10 |
it { is_expected.to contain_nftables__rule('default_in-nfs3').with_content('meta l4proto { tcp, udp } dport nfs accept comment "Accept NFS3"') } |
|
10 |
it { is_expected.to contain_nftables__rule('default_in-nfs3').with_content('meta l4proto { tcp, udp } th dport nfs accept comment "Accept NFS3"') }
|
|
11 | 11 |
end |
12 | 12 |
end |
13 | 13 |
end |
Formats disponibles : Unified diff