switch weblogsync to other ssh facter
[mirror/dsa-puppet.git] / modules / roles / manifests / weblog_provider.pp
index c37a03a..bed4aac 100644 (file)
@@ -3,8 +3,8 @@ class roles::weblog_provider {
   ssh::keygen {'weblogsync': }
   ssh::authorized_key_add { 'weblongsync-provider::destination':
     target_user => 'weblogsync',
+    key         => dig($facts, 'ssh_keys_users', 'weblogsync', 'id_rsa.pub', 'line'),
     command     => "/srv/weblogs.debian.org/bin/ssh-wrap ${::fqdn}",
-    key         => $facts['weblogsync_key'],
     collect_tag => 'weblogsync',
   }