restart instead of just start
[mirror/dsa-puppet.git] / modules / roles / manifests / debian_mirror.pp
index 822e0ca..edf30a1 100644 (file)
@@ -1,4 +1,6 @@
 class roles::debian_mirror {
+       include roles::archvsync_base
+
        $vhost_listen = $::hostname ? {
                klecker    => '130.89.148.12:80 2001:610:1908:b000::148:12:80',
                mirror-isc => '149.20.4.15:80 [2001:4f8:1:c::15]:80',
@@ -10,6 +12,9 @@ class roles::debian_mirror {
                mirror-isc => '149.20.4.15',
                default    => undef,
        }
+       $archive_root = $::hostname ? {
+               default    => '/srv/mirrors/debian',
+       }
 
        apache2::site { '010-ftp.debian.org':
                site   => 'ftp.debian.org',