From: intrigeri Date: Sat, 16 Oct 2010 19:54:24 +0000 (+0200) Subject: bugfix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ef093cafffb764fbedb26f7b8ce84c75329b1b7b;p=puppet-sshd.git bugfix --- diff --git a/manifests/init.pp b/manifests/init.pp index abb1490..33c40e9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -196,7 +196,7 @@ class sshd { case $sshd_permit_empty_passwords { '': { $sshd_permit_empty_passwords = 'no' } } - if ( $sshd_port != '' ) && ( $sshd_ports != []) { + if ( $sshd_port != '' ) and ( $sshd_ports != []) { err("Cannot use sshd_port and sshd_ports at the same time.") } if $sshd_port != '' {