From ceb1280177cf28edbe5a60cd4169a43870cd192f Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 18 Oct 2010 19:13:59 +0200 Subject: [PATCH] Bugfix --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 64d1be4..13cb359 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -202,7 +202,7 @@ class sshd { if $sshd_port != '' { $sshd_ports = [ $sshd_port ] } - elsif $sshd_port == [] { + elsif ! $sshd_ports { $sshd_ports = [ 22 ] } case $sshd_authorized_keys_file {