It does not break because of nat, but because of being on wheezy (maybe cf. 670662)
[mirror/dsa-puppet.git] / modules / ntp / templates / ntp.conf
index 4672a85..fdbde07 100644 (file)
@@ -6,7 +6,7 @@
 driftfile /var/lib/ntp/ntp.drift
 statsdir /var/log/ntpstats/
 
-<% if scope.lookupvar('site::nodeinfo')['misc']['natted'] -%>
+<% if %w{wheezy}.include?(scope.lookupvar('::lsbdistcodename')) -%>
 statistics loopstats peerstats clockstats
 filegen loopstats file loopstats type day enable
 filegen peerstats file peerstats type day enable