From: Peter Palfrader Date: Sat, 5 May 2012 13:21:22 +0000 (+0200) Subject: It does not break because of nat, but because of being on wheezy (maybe cf. 670662) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=96f778299e93b25a6fe1b158ace05c44f29a4f06;p=dsa-puppet.git It does not break because of nat, but because of being on wheezy (maybe cf. 670662) --- diff --git a/modules/ntp/templates/ntp.conf b/modules/ntp/templates/ntp.conf index 4672a85b..fdbde074 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