From: Peter Palfrader Date: Sat, 5 May 2012 13:25:59 +0000 (+0200) Subject: ruby fix X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=eb8fbdada437b9a94828a0873f7db82a6ab25c6b;p=mirror%2Fdsa-puppet.git ruby fix --- 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