From 96f778299e93b25a6fe1b158ace05c44f29a4f06 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 5 May 2012 15:21:22 +0200 Subject: [PATCH] It does not break because of nat, but because of being on wheezy (maybe cf. 670662) --- modules/ntp/templates/ntp.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ntp/templates/ntp.conf b/modules/ntp/templates/ntp.conf index 4672a85bb..fdbde074c 100644 --- a/modules/ntp/templates/ntp.conf +++ b/modules/ntp/templates/ntp.conf @@ -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 -- 2.20.1