projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run postgres-make-base-backups every 10 minutes not only on Sunday
[mirror/dsa-puppet.git]
/
modules
/
portforwarder
/
templates
/
xinetd.erb
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 = 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']
target_port = service['target_port']
target_host = service['target_host']
local_bind = service['source_bind_port']