X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fntp%2Ftemplates%2Fntp.conf;h=11c5c3c4cf5da286b3b8a31bf4eb7cd77bd9dd48;hb=462359acbb50393c48ff0c4ffd7b3a210b866636;hp=94787968fb1cf04451c99f3dfdb632434d7150d3;hpb=24409d094a53a1ef3c4abeaf707541a00c24f800;p=mirror%2Fdsa-puppet.git diff --git a/modules/ntp/templates/ntp.conf b/modules/ntp/templates/ntp.conf index 94787968f..11c5c3c4c 100644 --- a/modules/ntp/templates/ntp.conf +++ b/modules/ntp/templates/ntp.conf @@ -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