diff --git a/spec/acceptance/server_spec.rb b/spec/acceptance/server_spec.rb index 96c1997..8430b42 100644 --- a/spec/acceptance/server_spec.rb +++ b/spec/acceptance/server_spec.rb @@ -208,6 +208,9 @@ describe 'server with firewall:', :unless => UNSUPPORTED_PLATFORMS.include?(fact } EOS + if fact('osfamily') == 'RedHat' and fact('operatingsystemmajrelease') == '5' + shell('iptables -F') + end apply_manifest(pp, :catch_failures => true) apply_manifest(pp, :catch_changes => true) end