aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-24 09:51:55 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-02-24 09:59:57 -0500
commitfcad3473dd09ae8a42b5095001d721da1dd24f1a (patch)
tree565dbe6826b1aaae9b57b9a10992cd59be3f96b7 /templates
parent8d9bded5e977016d13e6521ee383cb3d5918506f (diff)
downloadpuppet-autossh-fcad3473dd09ae8a42b5095001d721da1dd24f1a.tar.gz
puppet-autossh-fcad3473dd09ae8a42b5095001d721da1dd24f1a.tar.bz2
add remote_user parameter
Diffstat (limited to 'templates')
-rw-r--r--templates/autossh-tunnel.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/autossh-tunnel.erb b/templates/autossh-tunnel.erb
index f19cb51..e89bc2a 100644
--- a/templates/autossh-tunnel.erb
+++ b/templates/autossh-tunnel.erb
@@ -26,7 +26,7 @@ SCRIPTNAME=/etc/init.d/$NAME
#
# AutoSSH configuration
#
-AUTOSSH_ARGS="-M <%= real_monitor_port %> -N -L <%= bind_address %>:<%= port %>:<%= host %>:<%= hostport %> <%= ssh_extra_options %> <%= remote_host %>"
+AUTOSSH_ARGS="-M <%= real_monitor_port %> -N -L <%= bind_address %>:<%= port %>:<%= host %>:<%= hostport %> <%= ssh_extra_options %> <%= real_remote_user %>@<%= remote_host %>"
<% if gatetime != 'absent' -%>
AUTOSSH_GATETIME=<%= gatetime %>
<% end -%>