]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
skeleton for pubsub hosts
authorStephen Gran <steve@lobefin.net>
Sun, 25 Aug 2013 12:58:01 +0000 (13:58 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 25 Aug 2013 12:58:01 +0000 (13:58 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/misc/local.yaml
modules/roles/manifests/init.pp
modules/roles/manifests/pubsub.pp [new file with mode: 0644]

index edd2a640094008cdeeee167da3193bf6b8673778..62228e158dd67e677d477acdc1610f3a0d724d6c 100644 (file)
@@ -184,6 +184,9 @@ services:
     - kaufmann.debian.org
   wiki:
     - wilder.debian.org
+  pubsub:
+    - rainier.debian.org
+    - rapoport.debian.org
 host_settings:
   heavy_exim:
     - buxtehude.debian.org
@@ -304,6 +307,9 @@ host_settings:
     - zandonai.debian.org
     - zappa.debian.org
     - zemlinsky.debian.org
+    # Not worth backing up
+    - rainier.debian.org
+    - rapoport.debian.org
   broken-rtc:
     - abel.debian.org
     - alain.debian.org
index d13d45a293cb3248cc4c6edb4c8dbe7abb378d1a..f287ec0c32c6c0fe059304199d9cd4649f8052f0 100644 (file)
@@ -84,6 +84,10 @@ class roles {
                include roles::mailrelay
        }
 
+       if getfromhash($site::nodeinfo, 'pubsub') {
+               include roles::pubsub
+       }
+
        if $::hostname in [ravel] {
                include roles::weblog_destination
        }
diff --git a/modules/roles/manifests/pubsub.pp b/modules/roles/manifests/pubsub.pp
new file mode 100644 (file)
index 0000000..b48097e
--- /dev/null
@@ -0,0 +1,2 @@
+class roles::pubsub {
+}