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:
0808c55
)
Fix portforwarder inetd config for new puppet
author
Julien Cristau
<jcristau@debian.org>
Sun, 19 Mar 2017 11:43:56 +0000
(12:43 +0100)
committer
Julien Cristau
<jcristau@debian.org>
Sun, 19 Mar 2017 11:45:30 +0000
(12:45 +0100)
modules/portforwarder/templates/xinetd.erb
patch
|
blob
|
history
diff --git
a/modules/portforwarder/templates/xinetd.erb
b/modules/portforwarder/templates/xinetd.erb
index
93ba0af
..
4f0d2fa
100644
(file)
--- a/
modules/portforwarder/templates/xinetd.erb
+++ b/
modules/portforwarder/templates/xinetd.erb
@@
-26,7
+26,7
@@
template = 'service @@TARGET_HOST@@@@TARGET_PORT@@
config = YAML.load(File.open('/etc/puppet/modules/portforwarder/misc/config.yaml').read)
if config[@fqdn]
- config[fqdn].each do |service|
+ config[
@
fqdn].each do |service|
target_port = service['target_port']
target_host = service['target_host']
local_bind = service['source_bind_port']