X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fntp%2Fmanifests%2Finit.pp;h=018e5fcbc72b4188cb8bcc9bbe50e930d2e921a2;hb=3e5945324a388a3b0b4ac6bff81a88c30bba0fcf;hp=e180da195b12c246c71702a3cb859758aa290919;hpb=f7076c9c465c463a9aa82f33f6af3430b3bedcbe;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/manifests/init.pp b/modules/ntp/manifests/init.pp index e180da195..018e5fcbc 100644 --- a/modules/ntp/manifests/init.pp +++ b/modules/ntp/manifests/init.pp @@ -1,5 +1,4 @@ class ntp { - package { 'ntp': ensure => installed } @@ -9,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)' @@ -46,7 +45,7 @@ class ntp { ]: } - if getfromhash($site::nodeinfo, 'timeserver') { + if getfromhash($deprecated::nodeinfo, 'timeserver') { include ntp::timeserver } else { include ntp::client