aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:37:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:37:08 -0300
commitaa646f8920d762107da284ac5494809deca65d92 (patch)
tree8c57216ee7c61a6daf275fbf203673d917e854ef
parent9ed5ad613aceb941f476d9ca0bb1601beb9a7c3e (diff)
downloadpuppet-nodo-aa646f8920d762107da284ac5494809deca65d92.tar.gz
puppet-nodo-aa646f8920d762107da284ac5494809deca65d92.tar.bz2
Setting correct dir for tunnel users
-rw-r--r--manifests/subsystems/tunnel.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystems/tunnel.pp b/manifests/subsystems/tunnel.pp
index da77d71..fb926fa 100644
--- a/manifests/subsystems/tunnel.pp
+++ b/manifests/subsystems/tunnel.pp
@@ -5,7 +5,7 @@ class tunnel {
Ssh_authorized_key <<| tag == "autossh-$fqdn" |>>
define setup($ensure = present, $user = $hostname, $host, $localport, $hostport, $sshport = '22', $keytype = 'dsa') {
- $dir = "/var/backups/remote/$user"
+ $dir = "/var/backups/remote/$user.$domain"
$tag = "autossh-$host"
$ssh_dir = "$dir/.ssh"