aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/tunnel.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/tunnel.pp')
-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,