Révision 283e1c3c
Fix syntax
spec/classes/rules/docker_ce_spec.rb | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
it { |
59 | 59 |
is_expected.to contain_nftables__rule('OUTPUT-jump_docker@ip-nat').with( |
60 |
rule_name: 'OUTPUT-jump_docker' |
|
60 |
rule_name: 'OUTPUT-jump_docker',
|
|
61 | 61 |
content: 'ip daddr != 127.0.0.0/8 fib daddr type local counter jump DOCKER', |
62 | 62 |
table: 'ip-nat', |
63 | 63 |
) |
... | ... | |
70 | 70 |
} |
71 | 71 |
it { |
72 | 72 |
is_expected.to contain_nftables__rule('INPUT-type@ip-nat').with( |
73 |
rulename: 'INPUT-type' |
|
73 |
rulename: 'INPUT-type',
|
|
74 | 74 |
content: 'type nat hook input priority 100', |
75 | 75 |
table: 'ip-nat', |
76 | 76 |
) |
77 | 77 |
} |
78 | 78 |
it { |
79 | 79 |
is_expected.to contain_nftables__rule('INPUT-policy@ip-nat').with( |
80 |
rulename: 'INPUT-policy' |
|
80 |
rulename: 'INPUT-policy',
|
|
81 | 81 |
content: 'policy accept', |
82 | 82 |
table: 'ip-nat', |
83 | 83 |
) |
Formats disponibles : Unified diff