From 29ce6770a6757e8ea59ad7a9bb37c0cb441d3428 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 25 Aug 2013 13:58:01 +0100 Subject: [PATCH] skeleton for pubsub hosts Signed-off-by: Stephen Gran --- modules/debian-org/misc/local.yaml | 6 ++++++ modules/roles/manifests/init.pp | 4 ++++ modules/roles/manifests/pubsub.pp | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 modules/roles/manifests/pubsub.pp diff --git a/modules/debian-org/misc/local.yaml b/modules/debian-org/misc/local.yaml index edd2a6400..62228e158 100644 --- a/modules/debian-org/misc/local.yaml +++ b/modules/debian-org/misc/local.yaml @@ -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 diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index d13d45a29..f287ec0c3 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -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 index 000000000..b48097e0d --- /dev/null +++ b/modules/roles/manifests/pubsub.pp @@ -0,0 +1,2 @@ +class roles::pubsub { +} -- 2.20.1