X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fntp%2Fmanifests%2Finit.pp;h=dfc1517906ef3a1b01877a89e95e868a02d5f5e7;hb=9beaf0ec40f9e6496afe34c4391b7913ecee33ee;hp=fb564641f51d6887accdd6492a39ecd4e583bd38;hpb=8e9a688dd67c65c08c9c4f90bf0f5a7df15549a5;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/manifests/init.pp b/modules/ntp/manifests/init.pp index fb564641f..dfc151790 100644 --- a/modules/ntp/manifests/init.pp +++ b/modules/ntp/manifests/init.pp @@ -25,9 +25,12 @@ 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)" } } +# vim:set et: +# vim:set sts=4 ts=4: +# vim:set shiftwidth=4: