aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-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 860dade..4bd749a 100644
--- a/manifests/subsystems/tunnel.pp
+++ b/manifests/subsystems/tunnel.pp
@@ -6,7 +6,7 @@ class tunnel {
define setup($ensure = present, $user = $hostname, $host, $localport, $hostport, $sshport = '22', $keytype = 'dsa') {
$dir = "/var/backups/remote/$user"
- $tag = "autossh-$hostname"
+ $tag = "autossh-$host"
$ssh_dir = "$dir/.ssh"
autossh::tunnel { $name: