Enable shipping www.debian.org logs to www-master.debian.org [RT#5872]
[mirror/dsa-puppet.git] / modules / xinetd / templates / service.erb
index 9478c1d..d460f82 100644 (file)
@@ -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') =~  /:/ or scope.lookupvar('bind') == "" -%>
        flags           = IPv6
 <%- end -%>
        wait            = <%= scope.lookupvar('wait') %>