Skip to content

Commit 0b5c5a5

Browse files
author
Colleen Murphy
committed
Only run ip6tables dst/src_type tests on platforms that support it
1 parent 27c9d55 commit 0b5c5a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/acceptance/firewall_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,8 @@ class { '::firewall': }
12251225
end
12261226
end
12271227

1228-
# ip6tables on el5 and el6 doesn't support addrtype
1229-
if default['platform'] !~ /el-[5-6]/
1228+
# ip6tables only support addrtype on a limited set of platforms
1229+
if default['platform'] =~ /el-7/ or default['platform'] =~ /debian-7/ or default['platform'] =~ /ubuntu-1404/
12301230
['dst_type', 'src_type'].each do |type|
12311231
describe "#{type}" do
12321232
context 'MULTICAST' do

0 commit comments

Comments
 (0)