Merge pull request #5 from mhaskel/rhel7

Need to flush iptables on rhel5.
This commit is contained in:
Ashley Penney 2014-05-13 14:09:53 -04:00
commit 636e693821

View file

@ -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