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',
}
}