rename archive_master to historical_master to match _mirror name
authorPeter Palfrader <peter@palfrader.org>
Fri, 10 Feb 2017 20:52:32 +0000 (21:52 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 10 Feb 2017 20:53:01 +0000 (21:53 +0100)
hieradata/common.yaml
modules/roles/manifests/archive_master.pp [deleted file]
modules/roles/manifests/historical_master.pp [new file with mode: 0644]
modules/roles/manifests/init.pp

index bcfc622..bf9a3eb 100644 (file)
@@ -4,8 +4,6 @@ searchpaths: []
 resolvoptions: []
 allow_dns_query: []
 roles:
-  archive_master:
-    - sibelius.debian.org
   bugsmx:
     - buxtehude.debian.org
   bugs_master:
@@ -218,6 +216,8 @@ roles:
   debian_mirror_onion:
     - bilbao.debian.org
     - mirror-isc.debian.org
+  historical_master:
+    - sibelius.debian.org
   historical_mirror:
     - gretchaninov.debian.org
     - klecker.debian.org
diff --git a/modules/roles/manifests/archive_master.pp b/modules/roles/manifests/archive_master.pp
deleted file mode 100644 (file)
index a9f32ed..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-class roles::archive_master {
-       $sslname = 'archive-master.debian.org'
-
-       rsync::site_systemd { 'archive_master':
-               source      => 'puppet:///modules/roles/archive_master/rsyncd.conf',
-               max_clients => 100,
-               sslname     => $sslname,
-       }
-
-       ssl::service { $sslname:
-               key      => true,
-               tlsaport => [],
-       }
-}
diff --git a/modules/roles/manifests/historical_master.pp b/modules/roles/manifests/historical_master.pp
new file mode 100644 (file)
index 0000000..c0953f1
--- /dev/null
@@ -0,0 +1,14 @@
+class roles::historical_master {
+       $sslname = 'archive-master.debian.org'
+
+       rsync::site_systemd { 'archive_master':
+               source      => 'puppet:///modules/roles/historical_master/rsyncd.conf',
+               max_clients => 100,
+               sslname     => $sslname,
+       }
+
+       ssl::service { $sslname:
+               key      => true,
+               tlsaport => [],
+       }
+}
index ead009c..45708a2 100644 (file)
@@ -34,8 +34,8 @@ class roles {
                include porterbox
        }
 
-       if has_role('archive_master') {
-               include archive_master
+       if has_role('historical_master') {
+               include historical_master
        }
 
        if has_role('bugs_mirror') {