]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
Fix inclusion for default os
authorGabriel Filion <lelutin@gmail.com>
Wed, 19 Jan 2011 21:41:18 +0000 (16:41 -0500)
committerGabriel Filion <lelutin@gmail.com>
Mon, 31 Jan 2011 02:15:35 +0000 (21:15 -0500)
When the os of a client is not one of those that use a specialized
class, (e.g. FreeBSD) the inclusion is currently broken: it tries to
include sshd::default which does not exist.

Change this to include sshd::base instead.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
manifests/init.pp

index 90b7c64ab2c267df3c858afaa69593038b760b21..f37a051d67a15524ee23f959dc00e5b37d0318f7 100644 (file)
@@ -251,7 +251,7 @@ class sshd {
     '': { $sshd_ensure_version = "present" }
   }
 
-  include sshd::client 
+  include sshd::client
 
   case $operatingsystem {
     gentoo: { include sshd::gentoo }
@@ -259,7 +259,7 @@ class sshd {
     centos: { include sshd::centos }
     openbsd: { include sshd::openbsd }
     debian,ubuntu: { include sshd::debian }
-    default: { include sshd::default }
+    default: { include sshd::base }
   }
 
   if $use_nagios {