]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/apache2/manifests/init.pp
this should virtually work
[dsa-puppet.git] / modules / apache2 / manifests / init.pp
index fc2de44f5ab93baf4d7d2d434836e96d829ead2c..cd2a4e40add703b7b7b5c0957fe19c558970357e 100644 (file)
@@ -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"
+        }
 }