Skip to content

Commit 047ff3a

Browse files
committed
Merge pull request #539 from DavidS/remove-unused-code
(maint) remove unused, wrong code
2 parents f0fb719 + e119160 commit 047ff3a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@ def ip6tables_flush_all_tables
1313
end
1414
end
1515

16-
def is_rhel7(osfamily, operatingsystem, operatingsystemrelease)
17-
if osfamily == 'RedHat'
18-
case operatingsystem
19-
when 'Amazon'
20-
false
21-
when 'Fedora'
22-
operatingsystemrelease >= '7.0'
23-
else
24-
operatingsystemrelease >= '15'
25-
end
26-
else
27-
false
28-
end
29-
end
30-
3116
run_puppet_install_helper
3217

3318
UNSUPPORTED_PLATFORMS = ['windows','Solaris','Darwin']

0 commit comments

Comments
 (0)