ssh_upload -> hiera role
authorPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 15:02:17 +0000 (17:02 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 15 Sep 2019 15:02:17 +0000 (17:02 +0200)
hieradata/common.yaml
hieradata/nodes/coccia.debian.org.yaml
hieradata/nodes/suchon.debian.org.yaml [new file with mode: 0644]
hieradata/nodes/usper.debian.org.yaml
modules/roles/manifests/init.pp

index 2e4b0e6..c63ec9a 100644 (file)
@@ -112,10 +112,6 @@ roles:
     - soriano.debian.org
   security_upload:
     - suchon.debian.org
-  ssh.upload.d.o:
-    - coccia.debian.org
-    - suchon.debian.org
-    - usper.debian.org
   sso:
     - diabelli.debian.org
   # single sign on relying party (host) - also required apache2 module enabled on that host via other means
index dfa719b..17868ed 100644 (file)
@@ -2,4 +2,5 @@
 classes:
   - roles::api_ftp_master
   - roles::ftp_upload
+  - roles::ssh_upload
   - roles::static_source
diff --git a/hieradata/nodes/suchon.debian.org.yaml b/hieradata/nodes/suchon.debian.org.yaml
new file mode 100644 (file)
index 0000000..49ef5b0
--- /dev/null
@@ -0,0 +1,3 @@
+---
+classes:
+  - roles::ssh_upload
index 7d70f59..3883d97 100644 (file)
@@ -1,3 +1,4 @@
 ---
 classes:
   - roles::ftp_upload
+  - roles::ssh_upload
index f1e24a7..83ddc6c 100644 (file)
@@ -34,9 +34,6 @@ class roles {
                include roles::dakmaster
                include roles::signing
        }
-       if has_role('ssh.upload.d.o') {
-               include roles::ssh_upload
-       }
        if has_role('security_upload') {
                include roles::security_upload
        }