]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/xinetd/templates/service.erb
This can default to bind to any
[dsa-puppet.git] / modules / xinetd / templates / service.erb
index bb71850ee5656c9a63c82e13cb173fad5040df99..8219f3933e4af069b851c2f7a78e590b3442b473 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') %>