ruby fix
authorPeter Palfrader <peter@palfrader.org>
Sat, 5 May 2012 13:25:59 +0000 (15:25 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 5 May 2012 13:25:59 +0000 (15:25 +0200)
modules/ntp/templates/ntp.conf

index 66615d4..bd14e58 100644 (file)
@@ -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