aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:09:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-29 15:09:57 -0300
commitd17678569659d93fa763e6e6f1bef89e8d090670 (patch)
tree167bd48f4d3f57640b44ae0c42df21496e065aa2
parentb12016cac6d5445bd27c1d6abbdff88a4efc3d62 (diff)
downloadpuppet-nodo-d17678569659d93fa763e6e6f1bef89e8d090670.tar.gz
puppet-nodo-d17678569659d93fa763e6e6f1bef89e8d090670.tar.bz2
Minor fix on tunnel
-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: