3 if getfromhash($site::nodeinfo, 'puppetmaster') {
7 if getfromhash($site::nodeinfo, 'muninmaster') {
11 #if getfromhash($site::nodeinfo, 'nagiosmaster') {
12 # include nagios::server
15 if getfromhash($site::nodeinfo, 'buildd') {
16 $foo = getfromhash($site::nodeinfo, 'buildd')
17 notice("Buildd is ${foo}")
21 if getfromhash($site::nodeinfo, 'bugs_mirror') {
22 include roles::bugs_mirror
25 if getfromhash($site::nodeinfo, 'ftp_master') {
26 include roles::ftp_master
27 include roles::dakmaster
30 if getfromhash($site::nodeinfo, 'apache2_security_mirror') {
31 include roles::security_mirror
34 if getfromhash($site::nodeinfo, 'apache2_www_mirror') {
35 include roles::www_mirror
38 if getfromhash($site::nodeinfo, 'apache2_backports_mirror') {
39 include roles::backports_mirror
42 if getfromhash($site::nodeinfo, 'ftp.d.o') {
46 if getfromhash($site::nodeinfo, 'ftp.upload.d.o') {
47 include roles::ftp_upload
50 if getfromhash($site::nodeinfo, 'backports_master') {
51 include roles::backports_master
52 include roles::dakmaster
55 if getfromhash($site::nodeinfo, 'security_master') {
56 include roles::security_master
57 include roles::dakmaster
60 if getfromhash($site::nodeinfo, 'www_master') {
61 include roles::www_master
64 if getfromhash($site::nodeinfo, 'keyring') {
65 include roles::keyring
68 if getfromhash($site::nodeinfo, 'apache2_ftp-upcoming_mirror') {
69 include roles::ftp-upcoming_mirror
72 if getfromhash($site::nodeinfo, 'static_master') {
73 include roles::static_master
76 if getfromhash($site::nodeinfo, 'static_mirror') {
77 include roles::static_mirror
78 } elsif getfromhash($site::nodeinfo, 'static_source') {
79 include roles::static_source