projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
making for consistent names and descriptions
[mirror/dsa-puppet.git]
/
modules
/
xinetd
/
templates
/
service.erb
diff --git
a/modules/xinetd/templates/service.erb
b/modules/xinetd/templates/service.erb
index
bb71850
..
80e0c49
100644
(file)
--- a/
modules/xinetd/templates/service.erb
+++ b/
modules/xinetd/templates/service.erb
@@
-1,9
+1,11
@@
service <%= scope.lookupvar('port') %>
{
service <%= scope.lookupvar('port') %>
{
+<%- if scope.lookupvar('bind') != '' -%>
bind = <%= scope.lookupvar('bind') %>
bind = <%= scope.lookupvar('bind') %>
+<%- end -%>
id = <%= scope.lookupvar('id') %>
id = <%= scope.lookupvar('id') %>
- socket_type = <%= scope.lookupvar('s
tream
') %>
+ socket_type = <%= scope.lookupvar('s
ocket_type
') %>
protocol = <%= scope.lookupvar('protocol') %>
flags = <%= scope.lookupvar('flags') %>
wait = <%= scope.lookupvar('wait') %>
protocol = <%= scope.lookupvar('protocol') %>
flags = <%= scope.lookupvar('flags') %>
wait = <%= scope.lookupvar('wait') %>