From eb8fbdada437b9a94828a0873f7db82a6ab25c6b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 5 May 2012 15:25:59 +0200 Subject: [PATCH] ruby fix --- 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 66615d41f..bd14e5894 100644 --- a/modules/ntp/templates/ntp.conf +++ b/modules/ntp/templates/ntp.conf @@ -37,7 +37,7 @@ server chronos.duth.gr iburst <% end -%> <% elsif fqdn == "ancina.debian.org" -%> server ntp.ugent.be iburst dynamic -<% elsif scope.lookupvar('site::nodeinfo')['misc']['natted'] or if %w{wheezy}.include?(scope.lookupvar('::lsbdistcodename')) -%> +<% elsif scope.lookupvar('site::nodeinfo')['misc']['natted'] or %w{wheezy}.include?(scope.lookupvar('::lsbdistcodename')) -%> # autokey doesn't work behind nat # merikanto's and orff's ipv4 IP, hard coded for the benefit of hosts -- 2.20.1