/[adm]/puppet/manifests/nodes.pp
ViewVC logotype

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1250 - (show annotations) (download)
Thu Mar 3 11:13:58 2011 UTC (13 years ago) by buchan
File size: 4198 byte(s)
Run xymon server on alamut

1 # svn, big important server
2 node valstar {
3 # Location: IELO datacenter (marseille)
4 #
5 # TODO:
6 # - GIT server
7 # - setup youri
8 # - setup maintainers database (with web interface)
9 # - mirroring (Nanar)
10 #
11 include default_mageia_server
12 timezone::timezone { "Europe/Paris": }
13 include rsyncd
14 include main_mirror
15 include openldap::master
16 include subversion::client
17 include subversion::server
18 include puppet::master
19 include ssh::auth
20 include ssh::auth::keymaster
21 include buildsystem::mainnode
22 include buildsystem::mgacreatehome
23
24 include access_classes::committers
25 include restrictshell::allow_git
26 include restrictshell::allow_svn
27 include restrictshell::allow_pkgsubmit
28 # disabled the ldap key here instead of disabling for the
29 # whole module ( see r698 )
30 #include openssh::ssh_keys_from_ldap
31
32 include repositories::subversion
33 include repositories::git
34
35 include websites::svn
36
37 subversion::snapshot { "/etc/puppet":
38 source => "svn://svn.mageia.org/svn/adm/puppet/"
39 }
40 }
41
42 # web apps
43 node alamut {
44 # Location: IELO datacenter (marseille)
45 #
46 # TODO:
47 # - Review board
48 # - nagios
49 # - api
50 # - mail server
51 # - mailing list server
52 # - wiki
53 # - pastebin
54 # - LDAP slave
55 #
56 include default_mageia_server_no_smtp
57 include postgresql::server
58 timezone::timezone { "Europe/Paris": }
59
60 include catdap
61 include websites::donate
62 include mga-mirrors
63 include epoll
64 include transifex
65 include bugzilla
66 include sympa::server
67 include postfix::primary_smtp
68
69 # temporary, just the time the vm is running there
70 host { 'friteuse':
71 ip => '192.168.122.131',
72 host_aliases => [ "friteuse.$domain", "forums.$domain" ],
73 ensure => 'present',
74 }
75
76 apache::vhost_reverse_proxy { "forums.$domain":
77 url => "http://forums.$domain/",
78 }
79
80 # connect to ssl so the proxy do not shoke if trying to
81 # enforce ssl ( note that this has not been tested, maybe this
82 # is uneeded )
83 apache::vhost_reverse_proxy { "ssl_forums.$domain":
84 url => "https://forums.$domain/",
85 vhost => "forums.$domain",
86 use_ssl => true,
87 }
88
89
90 include libvirtd::kvm
91 include lists
92 include dns::server
93 include repositories::mirror
94 include viewvc
95 include xymon:server
96 }
97
98 # buildnode
99 node jonund {
100 # Location: IELO datacenter (marseille)
101 #
102 include default_mageia_server
103 include buildsystem::buildnode
104 timezone::timezone { "Europe/Paris": }
105 include shorewall
106 include shorewall::default_firewall
107 include testvm
108 }
109
110 node ecosse {
111 # Location: IELO datacenter (marseille)
112 #
113 include default_mageia_server
114 include buildsystem::buildnode
115 timezone::timezone { "Europe/Paris": }
116 }
117
118 # backup server
119 node fiona {
120 # Location: IELO datacenter (marseille)
121 #
122 # TODO:
123 # - buy the server
124 # - install the server in datacenter
125 # - install a backup system
126 include default_mageia_server
127 }
128
129 # gandi-vm
130 node krampouezh {
131 # Location: gandi VM
132 #
133 # TODO:
134 # - secondary MX
135 # - LDAP slave (for external traffic maybe)
136 #
137 #include default_mageia_server
138 include default_mageia_server_no_smtp
139 include postfix::secondary_smtp
140
141 include dns::server
142 timezone::timezone { "Europe/Paris": }
143 # Other services running on this server :
144 # - meetbot
145 }
146
147 node champagne {
148 # Location: gandi VM
149 #
150 # TODO:
151 # - setup mageia.org web site
152 # - setup blog
153 #
154 include default_mageia_server
155 timezone::timezone { "Europe/Paris": }
156 include blog
157 include planet
158 include websites::static
159 }
160
161 node friteuse {
162 # Location: VM hosted by nfrance (toulouse)
163 #
164 # TODO:
165 # - setup forum
166
167 include default_mageia_server
168 timezone::timezone { "Europe/Paris": }
169 include forums
170 }
171
172 node rabbit {
173 # Location: Server offered by Dedibox (paris)
174 #
175 # - used to create isos ( and live, and so on )
176 #
177 include default_mageia_server
178 timezone::timezone { "Europe/Paris": }
179 include bcd::base
180 include access_classes::iso_makers
181 include openssh::ssh_keys_from_ldap
182 include mirror::mirrormageia
183
184 # for testing iso quickly
185 include libvirtd::kvm
186 libvirtd::group_access { "mga-iso_makers": }
187 }

  ViewVC Help
Powered by ViewVC 1.1.30