projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4cbc6
)
fix template
author
Peter Palfrader
<peter@palfrader.org>
Mon, 24 Jun 2013 19:27:58 +0000
(21:27 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 24 Jun 2013 19:27:58 +0000
(21:27 +0200)
modules/xinetd/templates/service.erb
patch
|
blob
|
history
diff --git
a/modules/xinetd/templates/service.erb
b/modules/xinetd/templates/service.erb
index
9478c1d
..
a0cc45a
100644
(file)
--- 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') %>