Vagrant: Use lokkit to manage the firewall rules.

This commit is contained in:
Gunnar Beutner 2013-10-14 17:52:03 +02:00
parent bde4f112ad
commit a514d0d97f
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ package { 'icinga-web':
# enable http 80
exec { 'iptables-allow-http':
unless => 'grep -Fxqe "-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT" /etc/sysconfig/iptables',
command => 'iptables -I INPUT 5 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT && iptables-save > /etc/sysconfig/iptables'
command => 'lokkit --enabled --service=http'
}
# icinga 2 docs at /icinga2-doc