X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fntp%2Fmanifests%2Finit.pp;h=018e5fcbc72b4188cb8bcc9bbe50e930d2e921a2;hb=7733f6f9b0bc96b9b2fc45cc5c821994f5b42b5e;hp=6efd46984002ad67fcb88f2083aa2f9aaa1947be;hpb=0faf9685026413c4b14bc2baa512b27f51b3d65d;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/manifests/init.pp b/modules/ntp/manifests/init.pp index 6efd46984..018e5fcbc 100644 --- a/modules/ntp/manifests/init.pp +++ b/modules/ntp/manifests/init.pp @@ -8,7 +8,7 @@ class ntp { require => Package['ntp'] } - @ferm::rule { 'dsa-ntp': + ferm::rule { 'dsa-ntp': domain => '(ip ip6)', description => 'Allow ntp access', rule => '&SERVICE(udp, 123)' @@ -45,7 +45,7 @@ class ntp { ]: } - if getfromhash($site::nodeinfo, 'timeserver') { + if getfromhash($deprecated::nodeinfo, 'timeserver') { include ntp::timeserver } else { include ntp::client