this should virtually work
[mirror/dsa-puppet.git] / modules / ntp / manifests / init.pp
index f461735..ace2f8f 100644 (file)
@@ -25,4 +25,9 @@ class ntp {
                path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
                refreshonly => true,
        }
+        @ferm::rule { "dsa-ntp":
+                domain          => "(ip ip6)",
+                description     => "Allow ntp access",
+                rule            => "proto udp mod state state (NEW) dport (123) ACCEPT"
+        }
 }