From 17a0a0c7d0ca80736e3d460fb2b90f10c7770f97 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 29 May 2010 15:18:17 -0300 Subject: Minor fix on tunnel (2) --- manifests/subsystems/tunnel.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/tunnel.pp b/manifests/subsystems/tunnel.pp index 4bd749a..cdf62e0 100644 --- a/manifests/subsystems/tunnel.pp +++ b/manifests/subsystems/tunnel.pp @@ -28,8 +28,8 @@ class tunnel { } } - if !defined(File["$sshdir"]) { - @@file { "$sshdir": + if !defined(File["$ssh_dir"]) { + @@file { "$ssh_dir": ensure => directory, mode => 0700, owner => $user, -- cgit v1.2.3