aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-18 19:13:59 +0200
committerintrigeri <intrigeri@boum.org>2010-10-18 19:13:59 +0200
commitceb1280177cf28edbe5a60cd4169a43870cd192f (patch)
tree89a5f88b0e68925740decaffbe4991b07852b61b /manifests
parent0d41016e4f40a5b9c80971f7f2280b236cb7e46a (diff)
downloadpuppet-sshd-ceb1280177cf28edbe5a60cd4169a43870cd192f.tar.gz
puppet-sshd-ceb1280177cf28edbe5a60cd4169a43870cd192f.tar.bz2
Bugfix
Diffstat (limited to 'manifests')
-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 {