From: Stephen Gran Date: Sun, 25 Aug 2013 12:58:01 +0000 (+0100) Subject: skeleton for pubsub hosts X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=29ce6770a6757e8ea59ad7a9bb37c0cb441d3428;p=mirror%2Fdsa-puppet.git skeleton for pubsub hosts Signed-off-by: Stephen Gran --- 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 { +}