aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-25 14:45:13 +0000
committerGerrit Code Review <review@openstack.org>2016-11-25 14:45:13 +0000
commit8a7af075916ec66c7ebafb5dd91549c24d4a3166 (patch)
treec6d26232ca532d334ea1f8a492be357f83bd6305 /spec
parent7787653c89c89d14b65d1babc8f1abe8780ebedf (diff)
parent688a79c6c68422c0f873074370b1bbc87c6d1007 (diff)
Merge "Do not configure state matching when using GRE"
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/tripleo_firewall_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/classes/tripleo_firewall_spec.rb b/spec/classes/tripleo_firewall_spec.rb
index 1270aa7..3116a51 100644
--- a/spec/classes/tripleo_firewall_spec.rb
+++ b/spec/classes/tripleo_firewall_spec.rb
@@ -76,7 +76,8 @@ describe 'tripleo::firewall' do
'301 add custom application 2' => {'port' => '8081', 'proto' => 'tcp', 'action' => 'accept'},
'302 fwd custom cidr 1' => {'chain' => 'FORWARD', 'destination' => '192.0.2.0/24'},
'303 add custom application 3' => {'dport' => '8081', 'proto' => 'tcp', 'action' => 'accept'},
- '304 add custom application 4' => {'sport' => '1000', 'proto' => 'tcp', 'action' => 'accept'}
+ '304 add custom application 4' => {'sport' => '1000', 'proto' => 'tcp', 'action' => 'accept'},
+ '305 add gre rule' => {'proto' => 'gre'}
}
)
end
@@ -109,6 +110,7 @@ describe 'tripleo::firewall' do
:action => 'accept',
:state => ['NEW'],
)
+ is_expected.to contain_firewall('305 add gre rule').without(:state)
end
end