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

Contents of /puppet/manifests/nodes.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1171 - (show annotations) (download)
Tue Feb 22 01:15:43 2011 UTC (13 years, 1 month ago) by misc
File size: 4173 byte(s)
- also connect to the ssl version of the forum on the reverse proxy ( so we
can safely force the usage of https for login with fiddling )

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 }
96
97 # buildnode
98 node jonund {
99 # Location: IELO datacenter (marseille)
100 #
101 include default_mageia_server
102 include buildsystem::buildnode
103 timezone::timezone { "Europe/Paris": }
104 include shorewall
105 include shorewall::default_firewall
106 include testvm
107 }
108
109 node ecosse {
110 # Location: IELO datacenter (marseille)
111 #
112 include default_mageia_server
113 include buildsystem::buildnode
114 timezone::timezone { "Europe/Paris": }
115 }
116
117 # backup server
118 node fiona {
119 # Location: IELO datacenter (marseille)
120 #
121 # TODO:
122 # - buy the server
123 # - install the server in datacenter
124 # - install a backup system
125 include default_mageia_server
126 }
127
128 # gandi-vm
129 node krampouezh {
130 # Location: gandi VM
131 #
132 # TODO:
133 # - secondary MX
134 # - LDAP slave (for external traffic maybe)
135 #
136 #include default_mageia_server
137 include default_mageia_server_no_smtp
138 include postfix::secondary_smtp
139
140 include dns::server
141 timezone::timezone { "Europe/Paris": }
142 # Other services running on this server :
143 # - meetbot
144 }
145
146 node champagne {
147 # Location: gandi VM
148 #
149 # TODO:
150 # - setup mageia.org web site
151 # - setup blog
152 #
153 include default_mageia_server
154 timezone::timezone { "Europe/Paris": }
155 include blog
156 include planet
157 include websites::static
158 }
159
160 node friteuse {
161 # Location: VM hosted by nfrance (toulouse)
162 #
163 # TODO:
164 # - setup forum
165
166 include default_mageia_server
167 timezone::timezone { "Europe/Paris": }
168 include forums
169 }
170
171 node rabbit {
172 # Location: Server offered by Dedibox (paris)
173 #
174 # - used to create isos ( and live, and so on )
175 #
176 include default_mageia_server
177 timezone::timezone { "Europe/Paris": }
178 include bcd::base
179 include access_classes::iso_makers
180 include openssh::ssh_keys_from_ldap
181 include mirror::mirrormageia
182
183 # for testing iso quickly
184 include libvirtd::kvm
185 libvirtd::group_access { "mga-iso_makers": }
186 }

  ViewVC Help
Powered by ViewVC 1.1.30