Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / ntp / manifests / init.pp
index 6efd469..018e5fc 100644 (file)
@@ -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