From: mh Date: Mon, 29 Sep 2008 22:48:35 +0000 (+0000) Subject: moved package depency to the linux class, openbsd doesn't have this package X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f7335624697bfedb6acada341b7e82a2e2966c2a;p=puppet-sshd.git moved package depency to the linux class, openbsd doesn't have this package git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2266 d66ca3ae-40d7-4aa7-90d4-87d79ca94279 --- diff --git a/manifests/init.pp b/manifests/init.pp index 2a4c449..4e10ac9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 {