Révision c8e93806
Fix nat hooks
spec/classes/ip_nat_spec.rb | ||
---|---|---|
31 | 31 |
)} |
32 | 32 |
it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-PREROUTING-rule-type').with( |
33 | 33 |
:target => 'nftables-ip-nat-chain-PREROUTING', |
34 |
:content => /^ type filter hook prerouting priority -100$/,
|
|
34 |
:content => /^ type nat hook prerouting priority -100$/,
|
|
35 | 35 |
:order => '01', |
36 | 36 |
)} |
37 | 37 |
it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-PREROUTING-footer').with( |
... | ... | |
56 | 56 |
)} |
57 | 57 |
it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-POSTROUTING-rule-type').with( |
58 | 58 |
:target => 'nftables-ip-nat-chain-POSTROUTING', |
59 |
:content => /^ type filter hook postrouting priority 100$/,
|
|
59 |
:content => /^ type nat hook postrouting priority 100$/,
|
|
60 | 60 |
:order => '01', |
61 | 61 |
)} |
62 | 62 |
it { is_expected.to contain_concat__fragment('nftables-ip-nat-chain-POSTROUTING-footer').with( |
Formats disponibles : Unified diff