From aa646f8920d762107da284ac5494809deca65d92 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 29 May 2010 15:37:08 -0300 Subject: Setting correct dir for tunnel users --- manifests/subsystems/tunnel.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') 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" -- cgit v1.2.3