File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
# Open http api port to everything.
23
23
#
24
24
nftables::rule { 'default_in-nomad_http' :
25
- content => " tcp dport ${http} " ,
25
+ content => " tcp dport ${http} accept " ,
26
26
}
27
27
28
28
[' ip' ,' ip6' ].each | $_family | {
Original file line number Diff line number Diff line change 29
29
}
30
30
31
31
it {
32
- is_expected . to contain_nftables__rule ( 'default_in-nomad_http' ) . with_content ( 'tcp dport 4646' )
32
+ is_expected . to contain_nftables__rule ( 'default_in-nomad_http' ) . with_content ( 'tcp dport 4646 accept ' )
33
33
is_expected . to contain_nftables__rule ( 'default_in-nomad_rpc_ip6' ) . with_content ( 'tcp dport 4647 ip6 saddr @nomad_ip6 accept' )
34
34
is_expected . to contain_nftables__rule ( 'default_in-nomad_rpc_ip' ) . with_content ( 'tcp dport 4647 ip saddr @nomad_ip accept' )
35
35
is_expected . to contain_nftables__rule ( 'default_in-nomad_serf_tcp_ip6' ) . with_content ( 'tcp dport 4648 ip6 saddr @nomad_ip6 accept' )
You can’t perform that action at this time.
0 commit comments