aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:42:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:42:13 -0300
commit76a74f3423f831469b16b928685dafe80732c262 (patch)
treef58d5cd856015ceb42b70106b9536adb1f0d30ba /manifests
parentaa646f8920d762107da284ac5494809deca65d92 (diff)
downloadpuppet-nodo-76a74f3423f831469b16b928685dafe80732c262.tar.gz
puppet-nodo-76a74f3423f831469b16b928685dafe80732c262.tar.bz2
Setting remote_user for tunnels
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/tunnel.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystems/tunnel.pp b/manifests/subsystems/tunnel.pp
index fb926fa..70822ea 100644
--- a/manifests/subsystems/tunnel.pp
+++ b/manifests/subsystems/tunnel.pp
@@ -11,7 +11,8 @@ class tunnel {
autossh::tunnel { $name:
ensure => $ensure,
- user => $user,
+ user => 'root',
+ remote_user => $user,
port => $localport,
hostport => $hostport,
host => $host,