From: Peter Palfrader Date: Sun, 21 Feb 2010 14:18:19 +0000 (+0100) Subject: Manually cast X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4d204c88f0a0a81915d9db6e0ec59ae7b587cb0d;hp=765ca03e0a0d81d5f19ff16a4918be7d45b2acfb;p=dsa-puppet.git Manually cast --- diff --git a/modules/portforwarder/templates/xinetd.erb b/modules/portforwarder/templates/xinetd.erb index 6d4f1eac..179e7537 100644 --- a/modules/portforwarder/templates/xinetd.erb +++ b/modules/portforwarder/templates/xinetd.erb @@ -32,7 +32,7 @@ if config[fqdn] else p = template.clone p.gsub!('@@TARGET_HOST@@', target_host) - p.gsub!('@@TARGET_PORT@@', target_port) + p.gsub!('@@TARGET_PORT@@', target_port.to_s) p.gsub!('@@LOCLA_BIND@@', local_bind) lines << p end