hiera -> hiera role; explicitly include apache2
[mirror/dsa-puppet.git] / modules / roles / manifests / archvsync_base.pp
index 9e9176a..a92297b 100644 (file)
@@ -1,3 +1,4 @@
+# this is usually pulled in by *-mirror or syncproxy roles
 class roles::archvsync_base {
        file { '/srv/mirrors':
                ensure => directory,
@@ -11,4 +12,9 @@ class roles::archvsync_base {
                ensure  => present,
                content => '',
        }
+
+       file { '/etc/ssh/userkeys/archvsync':
+               ensure => 'link',
+               target => '/home/archvsync/.ssh/authorized_keys',
+       }
 }