From: Helen Campbell Date: Wed, 6 Sep 2017 12:37:42 +0000 (+0100) Subject: Update for hashlimit tests to not run on RedHat5 or Scientific 5 X-Git-Tag: 1.10.0~16^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=91ec220b7673aa513898624ba1a4ab5beedf31db;p=puppet-modules%2Fpuppetlabs-firewall.git Update for hashlimit tests to not run on RedHat5 or Scientific 5 Hashlimit doesn't seem to be fully supported on these OS'es so I've put a check to skip the tests. --- diff --git a/spec/acceptance/hashlimit_spec.rb b/spec/acceptance/hashlimit_spec.rb index 27e8a75..89b1ff0 100644 --- a/spec/acceptance/hashlimit_spec.rb +++ b/spec/acceptance/hashlimit_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper_acceptance' -describe 'hashlimit property' do +describe 'hashlimit property', if: fact('operatingsystemmajrelease') != '5' && (fact('operatingsystem') != 'Scientific' || fact('operatingsystem') != 'RedHat') do before :all do iptables_flush_all_tables ip6tables_flush_all_tables