security_mirror -> hiera role; part 1
authorPeter Palfrader <peter@palfrader.org>
Sun, 22 Sep 2019 20:58:38 +0000 (22:58 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 22 Sep 2019 20:59:12 +0000 (22:59 +0200)
15 files changed:
data/nodes/lobos.debian.org.yaml [new file with mode: 0644]
data/nodes/mirror-accumu.debian.org.yaml
data/nodes/mirror-anu.debian.org.yaml
data/nodes/mirror-csail.debian.org.yaml
data/nodes/mirror-isc.debian.org.yaml
data/nodes/mirror-skroutz.debian.org.yaml
data/nodes/mirror-umn.debian.org.yaml
data/nodes/santoro.debian.org.yaml
data/nodes/schmelzer.debian.org.yaml
data/nodes/schumann.debian.org.yaml [new file with mode: 0644]
data/nodes/sechter.debian.org.yaml [new file with mode: 0644]
data/nodes/setoguchi.debian.org.yaml [new file with mode: 0644]
data/nodes/villa.debian.org.yaml [new file with mode: 0644]
data/nodes/wieck.debian.org.yaml [new file with mode: 0644]
modules/roles/manifests/init.pp

diff --git a/data/nodes/lobos.debian.org.yaml b/data/nodes/lobos.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
index 959e6ee..1cf2fa0 100644 (file)
@@ -3,6 +3,7 @@ classes:
   - roles::bgp
   - roles::debian_mirror
   - roles::debug_mirror
+  - roles::security_mirror
 
 roles::bgp::peers: ['2001:6b0:1e:2::1c6/128', '130.242.6.198/32']
 roles::debian_mirror::listen_addr: ['130.242.6.199', '2001:6b0:1e:2::1c7', '193.31.7.2', '2a02:158:ffff:deb::2']
index 8371255..02f0648 100644 (file)
@@ -1,4 +1,5 @@
 classes:
+  - roles::security_mirror
   - roles::static_mirror_web
   - roles::syncproxy
 
index 1a18dd4..03974ec 100644 (file)
@@ -1,2 +1,3 @@
 classes:
+  - roles::security_mirror
   - roles::static_mirror_web
index 2de09ca..cd3beca 100644 (file)
@@ -2,6 +2,7 @@
 classes:
   - roles::debian_mirror
   - roles::ports_mirror
+  - roles::security_mirror
   - roles::static_mirror_web
   - roles::syncproxy
 
index b62d707..f6cedad 100644 (file)
@@ -2,6 +2,7 @@
 classes:
   - roles::bgp
   - roles::debian_mirror
+  - roles::security_mirror
 
 roles::bgp::peers: ['2a03:e40:42:200::151:1/128', '2a03:e40:42:200::151:2/128', '154.57.0.249/32', '154.57.0.250/32']
 roles::debian_mirror::listen_addr: ['154.57.0.251', '2a03:e40:42:200::151:3', '193.31.7.2', '2a02:158:ffff:deb::2']
index f65560b..bca495b 100644 (file)
@@ -1,5 +1,6 @@
 ---
 classes:
+  - roles::security_mirror
   - roles::syncproxy
 
 roles::syncproxy::syncproxy_name: syncproxy.cna.debian.org
index 1a18dd4..03974ec 100644 (file)
@@ -1,2 +1,3 @@
 classes:
+  - roles::security_mirror
   - roles::static_mirror_web
index 4740e41..3a9537a 100644 (file)
@@ -3,6 +3,7 @@ classes:
   - roles::debian_mirror
   - roles::debug_mirror
   - roles::historical_mirror
+  - roles::security_mirror
   - roles::syncproxy
 
 roles::debian_mirror::listen_addr: ['217.196.149.232', '2a02:16a8:dc41:100::232']
diff --git a/data/nodes/schumann.debian.org.yaml b/data/nodes/schumann.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
diff --git a/data/nodes/sechter.debian.org.yaml b/data/nodes/sechter.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
diff --git a/data/nodes/setoguchi.debian.org.yaml b/data/nodes/setoguchi.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
diff --git a/data/nodes/villa.debian.org.yaml b/data/nodes/villa.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
diff --git a/data/nodes/wieck.debian.org.yaml b/data/nodes/wieck.debian.org.yaml
new file mode 100644 (file)
index 0000000..854f0ec
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::security_mirror
index 29416e8..9e5e649 100644 (file)
@@ -1,10 +1,6 @@
 # = Class: roles
 #
 class roles {
-  if has_role('security_mirror') {
-    include roles::security_mirror
-  }
-
   if has_role('postgres_backup_server') {
     include postgres::backup_server
   }