Do not configure state matching when using GRE
authorBrent Eagles <beagles@redhat.com>
Wed, 23 Nov 2016 22:29:58 +0000 (18:59 -0330)
committerBrent Eagles <beagles@redhat.com>
Thu, 24 Nov 2016 12:24:48 +0000 (08:54 -0330)
commit688a79c6c68422c0f873074370b1bbc87c6d1007
tree1925f5a262adab08fddfacfe4e1eee7588c96d82
parent92f9c952d6cbb0c11c8457de0e49748f3adf667e
Do not configure state matching when using GRE

The firewall rule quite reasonably sets up a default state matching rule
but this is invalid for GRE. This patch conditionally adds the state
matching if the protocol is not GRE.

Closes-Bug: #1644360
Change-Id: Ie4ca41d0f36e79ba6822c358e21b827105736dd7
manifests/firewall/rule.pp
spec/classes/tripleo_firewall_spec.rb