]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/roles/manifests/init.pp
add ftp_master
[dsa-puppet.git] / modules / roles / manifests / init.pp
1 class roles {
2
3         if getfromhash($site::nodeinfo, 'puppetmaster') {
4                 include puppetmaster
5         }
6
7         if getfromhash($site::nodeinfo, 'muninmaster') {
8                 include munin::master
9         }
10
11         if getfromhash($site::nodeinfo, 'nagiosmaster') {
12                 include nagios::server
13         }
14
15         if getfromhash($site::nodeinfo, 'buildd') {
16                 include buildd
17         }
18
19         if getfromhash($site::nodeinfo, 'ftp_master') {
20                 include roles::ftp_master
21                 include roles::dakmaster
22         }
23
24         if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
25                 include roles::security_mirror
26         }
27
28         if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
29                 include roles::www_mirror
30         }
31
32         if getfromhash($site::nodeinfo, 'apache2_backports_mirror') {
33                 include roles::backports_mirror
34         }
35
36         if getfromhash($site::nodeinfo, 'ftp.d.o') {
37                 include roles::ftp
38         }
39
40         if getfromhash($site::nodeinfo, 'ftp.upload.d.o') {
41                 include roles::ftp_upload
42         }
43
44         if getfromhash($site::nodeinfo, 'backports_master') {
45                 include roles::backports_master
46                 include roles::dakmaster
47         }
48
49         if getfromhash($site::nodeinfo, 'security_master') {
50                 include roles::security_master
51                 include roles::dakmaster
52         }
53
54         if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') {
55                 include roles::ftp-upcoming_mirror
56         }
57 }