]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ntp/templates/ntp.conf
massive style guide fixups
[dsa-puppet.git] / modules / ntp / templates / ntp.conf
index 94787968fb1cf04451c99f3dfdb632434d7150d3..11c5c3c4cf5da286b3b8a31bf4eb7cd77bd9dd48 100644 (file)
@@ -14,7 +14,7 @@ filegen clockstats file clockstats type day enable
 crypto randfile /dev/urandom
 keysdir /etc/ntp.keys.d
 
-<% if nodeinfo['timeserver'] -%>
+<% if scope.lookupvar('site::nodeinfo')['timeserver'] -%>
 server 0.debian.pool.ntp.org iburst dynamic
 server 1.debian.pool.ntp.org iburst dynamic
 server 2.debian.pool.ntp.org iburst dynamic
@@ -26,7 +26,7 @@ server ntp.grnet.gr iburst
 <%   end -%>
 <% elsif fqdn == "ancina.debian.org" -%>
 server ntp.ugent.be iburst dynamic
-<% elsif nodeinfo['misc']['natted'] -%>
+<% elsif scope.lookupvar('site::nodeinfo')['misc']['natted'] -%>
 # autokey doesn't work behind nat
 
 # merikanto's and orff's ipv4 IP, hard coded for the benefit of hosts