]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ntp/manifests/init.pp
shorten up the typing
[dsa-puppet.git] / modules / ntp / manifests / init.pp
index 00b3340b8bb6d861c8d0fabbc3cd1cdda4fd8bdf..af086f6849edc5621f6c8d2fc621e3c7357c8af5 100644 (file)
@@ -25,8 +25,9 @@ class ntp {
                path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
                refreshonly => true,
        }
-        ferm::rule { "dsa-ntp":
+        @ferm::rule { "dsa-ntp":
+                domain          => "(ip ip6)",
                 description     => "Allow ntp access",
-                rule            => "proto udp mod state state (NEW) dport (123) ACCEPT"
+                rule            => "&SERVICE(udp, 123)"
         }
 }