From e1191603b94c0b0f1d66e78ee7d088b0cf07a4a2 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Wed, 10 Jun 2015 13:03:59 +0100 Subject: [PATCH] (maint) remove unused, wrong code --- spec/spec_helper_acceptance.rb | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 942332e1d..1de3e2cdc 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -13,21 +13,6 @@ def ip6tables_flush_all_tables end end -def is_rhel7(osfamily, operatingsystem, operatingsystemrelease) - if osfamily == 'RedHat' - case operatingsystem - when 'Amazon' - false - when 'Fedora' - operatingsystemrelease >= '7.0' - else - operatingsystemrelease >= '15' - end - else - false - end -end - run_puppet_install_helper UNSUPPORTED_PLATFORMS = ['windows','Solaris','Darwin']