From: Peter Palfrader Date: Mon, 24 Jun 2013 19:27:58 +0000 (+0200) Subject: fix template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=55a3c128c301b245a78905f794de915dab2f89eb;p=mirror%2Fdsa-puppet.git fix template --- diff --git a/modules/xinetd/templates/service.erb b/modules/xinetd/templates/service.erb index 9478c1d13..a0cc45a51 100644 --- a/modules/xinetd/templates/service.erb +++ b/modules/xinetd/templates/service.erb @@ -12,7 +12,7 @@ service <%= scope.lookupvar('port') %> protocol = <%= scope.lookupvar('protocol') %> <%- if scope.lookupvar('flags') != '' -%> flags = <%= scope.lookupvar('flags') %> -<%- elsif scope.lookupvar('bind') =~ ':' -%> +<%- elsif scope.lookupvar('bind') =~ /:/ -%> flags = IPv6 <%- end -%> wait = <%= scope.lookupvar('wait') %>