bugsmaster:
bugsmx:
- busoni.debian.org
- bugs_search:
+ bugs_mirror:
- glinka.debian.org
dbmaster:
- draghi.debian.org
--- /dev/null
+uid = nobody
+gid = nogroup
+max connections = 20
+syslog facility = daemon
+socket options = SO_KEEPALIVE
+timeout = 7200
+log file = /var/log/rsyncd/rsyncd.log
+
+[bts-spool-db]
+ comment = [bugs-mirror.debian.org] active bug spool
+ path = /srv/bugs.debian.org/spool/db-h
+ read only = true
+
+[bts-spool-archive]
+ comment = [bugs-mirror.debian.org] archived bug spool
+ path = /srv/bugs.debian.org/spool/archive
+ read only = true
+
+[bts-spool-index]
+ comment = [bugs-mirror.debian.org] bug index files
+ path = /srv/bugs.debian.org/spool
+ exclude = db-h archive
+ read only = true
+
+[bts-versions]
+ comment = [bugs-mirror.debian.org] bts package version information
+ path = /srv/bugs.debian.org/versions
+ exclude = archive cl-data lock queue bin
+ read only = true
+++ /dev/null
-uid = nobody
-gid = nogroup
-max connections = 20
-syslog facility = daemon
-socket options = SO_KEEPALIVE
-timeout = 7200
-log file = /var/log/rsyncd/rsyncd.log
-
-[bts-spool-db]
- comment = [bugs-mirror.debian.org] active bug spool
- path = /srv/bugs.debian.org/spool/db-h
- read only = true
-
-[bts-spool-archive]
- comment = [bugs-mirror.debian.org] archived bug spool
- path = /srv/bugs.debian.org/spool/archive
- read only = true
-
-[bts-spool-index]
- comment = [bugs-mirror.debian.org] bug index files
- path = /srv/bugs.debian.org/spool
- exclude = db-h archive
- read only = true
-
-[bts-versions]
- comment = [bugs-mirror.debian.org] bts package version information
- path = /srv/bugs.debian.org/versions
- exclude = archive cl-data lock queue bin
- read only = true
--- /dev/null
+class roles::bugs_mirror {
+
+ rsync::site { 'bugs_mirror':
+ source => 'puppet:///modules/roles/bugs_mirror/rsyncd.conf',
+ max_clients => 100,
+ }
+}
+++ /dev/null
-class roles::bugs_search {
-
- rsync::site { 'bugs_search':
- source => 'puppet:///modules/roles/bugs_search/rsyncd.conf',
- max_clients => 100,
- }
-}
include buildd
}
- if getfromhash($site::nodeinfo, 'bugs_search') {
- include roles::bugs_search
+ if getfromhash($site::nodeinfo, 'bugs_mirror') {
+ include roles::bugs_mirror
}
if getfromhash($site::nodeinfo, 'ftp_master') {