X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fapache2%2Fmanifests%2Finit.pp;h=cd2a4e40add703b7b7b5c0957fe19c558970357e;hb=78ceca7ca6540a83d24a89016263235c923543db;hp=fc2de44f5ab93baf4d7d2d434836e96d829ead2c;hpb=85fb85cdc8c20b0285b44dc23cef761377a4fb21;p=mirror%2Fdsa-puppet.git diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index fc2de44f5..cd2a4e40a 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -129,4 +129,9 @@ class apache2 { command => "/etc/init.d/apache2 force-reload", refreshonly => true, } + @ferm::rule { "dsa-apache": + domain => "(ip ip6)", + description => "Allow web access", + rule => "proto tcp mod state state (NEW) dport (80) ACCEPT" + } }