Redirect www.d.o/support/ to /support since base-files used the wrong one.
[mirror/dsa-puppet.git] / modules / roles / manifests / dbmaster.pp
1 # = Class: roles::dbmaster
2 #
3 # Setup for db.debian.org master host
4 #
5 # == Sample Usage:
6 #
7 #   include roles::dbmaster
8 #
9 class roles::dbmaster {
10
11         include roles::pubsub::parameters
12
13         $rabbit_password = $roles::pubsub::parameters::rabbit_password
14
15         ssl::service { 'db.debian.org':
16                 notify => Service['apache2'],
17         }
18
19         roles::pubsub::config { 'generate':
20                 key      => 'dsa-udgenerate',
21                 exchange => dsa,
22                 topic    => 'dsa.ud.replicate',
23                 vhost    => dsa,
24                 username => $::fqdn,
25                 password => $rabbit_password
26         }
27 }