aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
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 {