X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Farchvsync_base.pp;h=a92297b481973ffcd90a5c36fbf989b8587f57a3;hb=40ea2eb95b19f449abb6f60b04caccd8e4a7510b;hp=513c8fc0a2ac0e070ec75fdb673e2620f222bf81;hpb=0c233c7c9bb956a834516324dd4fff08b1770f16;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/archvsync_base.pp b/modules/roles/manifests/archvsync_base.pp index 513c8fc0a..a92297b48 100644 --- a/modules/roles/manifests/archvsync_base.pp +++ b/modules/roles/manifests/archvsync_base.pp @@ -1,15 +1,20 @@ +# this is usually pulled in by *-mirror or syncproxy roles class roles::archvsync_base { file { '/srv/mirrors': ensure => directory, - owner => 1176, - group => 1176, - mode => '0755', - links => follow, + owner => root, + group => 1176, # archvsync + mode => '0775', + # links => follow, } file { '/srv/mirrors/.nobackup': ensure => present, content => '', - mode => '0444', + } + + file { '/etc/ssh/userkeys/archvsync': + ensure => 'link', + target => '/home/archvsync/.ssh/authorized_keys', } }