# this is usually pulled in by *-mirror or syncproxy roles
class roles::archvsync_base {
- file { '/srv/mirrors':
- ensure => directory,
- owner => root,
- group => 1176, # archvsync
- mode => '0775',
- # links => follow,
- }
+ file { '/srv/mirrors':
+ ensure => directory,
+ owner => root,
+ group => 1176, # archvsync
+ mode => '0775',
+ # links => follow,
+ }
- file { '/srv/mirrors/.nobackup':
- ensure => present,
- content => '',
- }
+ file { '/srv/mirrors/.nobackup':
+ ensure => present,
+ content => '',
+ }
- file { '/etc/ssh/userkeys/archvsync':
- ensure => 'link',
- target => '/home/archvsync/.ssh/authorized_keys',
- }
+ file { '/etc/ssh/userkeys/archvsync':
+ ensure => 'link',
+ target => '/home/archvsync/.ssh/authorized_keys',
+ }
}