]> 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 fb564641f51d6887accdd6492a39ecd4e583bd38..af086f6849edc5621f6c8d2fc621e3c7357c8af5 100644 (file)
@@ -25,9 +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)"
         }
 }