]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
moved package depency to the linux class, openbsd doesn't have this package
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Mon, 29 Sep 2008 22:48:35 +0000 (22:48 +0000)
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>
Mon, 29 Sep 2008 22:48:35 +0000 (22:48 +0000)
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2266 d66ca3ae-40d7-4aa7-90d4-87d79ca94279

manifests/init.pp

index 2a4c449e0afb8ee1a028163fde8bd0499483502a..4e10ac988c419f4632b8d47cdf8e380e1389bf05 100644 (file)
@@ -210,7 +210,6 @@ class sshd::base {
                 type => ssh-rsa,
                 key => $sshrsakey_key,
                 ensure => present,
-                require => Package["openssh-clients"],
             }
         }
     }
@@ -230,6 +229,9 @@ class sshd::linux inherits sshd::base {
     File[sshd_config]{
         require +> Package[openssh],
     }
+    Sshkey["$hostname.$domain"]{
+        require => Package["openssh-clients"],
+    }
 }
 
 class sshd::gentoo inherits sshd::linux {