<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>manifests/client.pp</filename>
    </added>
    <added>
      <filename>plugins/facter/sshkeys.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -14,7 +14,7 @@
 # Deploy authorized_keys file with the define
 #     sshd::deploy_auth_key
 # 
-# shdd-config:
+# sshd-config:
 #
 # The configuration of the sshd is rather strict and
 # might not fit all needs. However there are a bunch 
@@ -45,6 +45,8 @@
 #
 
 class sshd {
+    include sshd::client 
+
     case $operatingsystem {
         gentoo: { include sshd::gentoo }
         redhat: { include sshd::redhat }
@@ -94,7 +96,19 @@ class sshd::base {
         ensure =&gt; running,
         hasstatus =&gt; true,
 		require =&gt; File[sshd_config],
-     }
+    }
+    # Now add the key, if we've got one
+    case $sshrsakey_key {
+        '': { info(&quot;no sshrsakey on $fqdn&quot;) }
+        default: {
+            @@sshkey{&quot;$hostname.$domain&quot;:
+                type =&gt; ssh-rsa,
+                key =&gt; $sshrsakey_key,
+                ensure =&gt; present,
+                require =&gt; Package[&quot;openssh-client&quot;],
+            }
+        }
+    }
 }
 
 class sshd::linux inherits sshd::base {</diff>
      <filename>manifests/init.pp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>260d4e2def6a04a2c14bc82472908b42ef60c9b4</id>
    </parent>
  </parents>
  <author>
    <name>mh</name>
    <email>mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279</email>
  </author>
  <url>http://github.com/duritong/puppet-sshd/commit/0fedba8b77ba634ed96d24bfb25bceb9216fbd23</url>
  <id>0fedba8b77ba634ed96d24bfb25bceb9216fbd23</id>
  <committed-date>2008-07-17T11:17:52-07:00</committed-date>
  <authored-date>2008-07-17T11:17:52-07:00</authored-date>
  <message>added exporting and collecting of ssh keys

Taken from David Schmitts ssh module: http://git.black.co.at/?p=module-ssh


git-svn-id: https://rfd.cronopios.org/ipuppet/trunk/modules/sshd@1877 d66ca3ae-40d7-4aa7-90d4-87d79ca94279</message>
  <tree>99f307de500553dda8a80cacee65a08beea50f48</tree>
  <committer>
    <name>mh</name>
    <email>mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279</email>
  </committer>
</commit>
