From: Julien Cristau Date: Sun, 19 Mar 2017 11:43:56 +0000 (+0100) Subject: Fix portforwarder inetd config for new puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=38f8942881ef880d23df1bbfbbf2f458d62acd47;p=mirror%2Fdsa-puppet.git Fix portforwarder inetd config for new puppet --- diff --git a/modules/portforwarder/templates/xinetd.erb b/modules/portforwarder/templates/xinetd.erb index 93ba0aff3..4f0d2fa53 100644 --- 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']