cleanup
[mirror/dsa-puppet.git] / modules / xinetd / templates / service.erb
index bb71850..8219f39 100644 (file)
@@ -1,6 +1,8 @@
 service <%= scope.lookupvar('port') %>
 {
+<%- if scope.lookupvar('bind') != '' -%>
        bind            = <%= scope.lookupvar('bind') %>
+<%- end -%>
        id              = <%= scope.lookupvar('id') %>
 
        socket_type     = <%= scope.lookupvar('stream') %>