Merge pull request #5 from mhaskel/rhel7
Need to flush iptables on rhel5.
This commit is contained in:
commit
636e693821
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue