--- /dev/null
+class roles::archvsync_base {
+ file { '/srv/mirrors':
+ ensure => directory,
+ owner => 1176,
+ group => 1176,
+ mode => '0755',
+ links => follow,
+ }
+
+ file { '/srv/mirrors/.nobackup':
+ ensure => present,
+ content => '',
+ mode => '0444',
+ }
+}
class roles::debug_mirror {
+ include roles::archvsync_base
+
$vhost_listen = $::hostname ? {
klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
class roles::ftp {
-
+ include roles::archvsync_base
include ferm::ftp_conntrack
$bind = $::hostname ? {
class roles::historical_mirror {
+ include roles::archvsync_base
include apache2::expires
$vhost_listen = $::hostname ? {
class roles::ports_mirror {
+ include roles::archvsync_base
+
$vhost_listen = $::hostname ? {
klecker => '130.89.148.14:80 [2001:610:1908:b000::148:14]:80',
mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
class roles::security_mirror {
+ include roles::archvsync_base
+
$rsync_bind = $::hostname ? {
mirror-anu => '150.203.164.61',
mirror-isc => '149.20.4.14',
bind6 => $rsync_bind6,
}
-
$onion_v4_addr = $::hostname ? {
mirror-anu => '150.203.164.61',
mirror-isc => '149.20.4.14',
class roles::syncproxy {
+ include roles::archvsync_base
+
$bind = $::hostname ? {
'milanollo' => '5.153.231.9',
'mirror-anu' => '150.203.164.60',