1 |
# svn, big important server |
2 |
node valstar { |
3 |
# Location: IELO datacenter (marseille) |
4 |
# |
5 |
# TODO: |
6 |
# - SVN server |
7 |
# - GIT server |
8 |
# - setup urli build scheduler |
9 |
# - setup youri |
10 |
# - setup restricted shell access to allow "mdvsys submit" to work |
11 |
# - setup maintainers database (with web interface) |
12 |
# - mirroring (Nanar) |
13 |
# - LDAP master |
14 |
# |
15 |
include default_mageia_server |
16 |
timezone::timezone { "Europe/Paris": } |
17 |
include rsyncd |
18 |
include mirror |
19 |
|
20 |
# for puppet svn checkout |
21 |
package {"subversion": |
22 |
ensure => "installed" |
23 |
} |
24 |
|
25 |
# svn spam log with |
26 |
# Oct 26 13:30:01 valstar svn: No worthy mechs found |
27 |
# without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html |
28 |
# |
29 |
package {"lib64sasl2-plug-anonymous": |
30 |
ensure => "installed" |
31 |
} |
32 |
|
33 |
# update the puppet snapshot |
34 |
cron { puppet_update: |
35 |
command => "cd /etc/puppet && /usr/bin/svn update -q", |
36 |
user => root, |
37 |
minute => '*/5' |
38 |
} |
39 |
|
40 |
exec { puppet_etc: |
41 |
cwd => "/etc/", |
42 |
command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/", |
43 |
user => "root", |
44 |
creates => "/etc/puppet/manifests/site.pp" |
45 |
} |
46 |
|
47 |
package {"puppet-server": |
48 |
ensure => "installed" |
49 |
} |
50 |
} |
51 |
|
52 |
# web apps |
53 |
node alamut { |
54 |
# Location: IELO datacenter (marseille) |
55 |
# |
56 |
# TODO: |
57 |
# - bugzilla |
58 |
# - nagios |
59 |
# - api |
60 |
# - mail server |
61 |
# - mailing list server |
62 |
# - wiki |
63 |
# - pastbin |
64 |
# - LDAP slave |
65 |
# - transifex |
66 |
# - SQL server |
67 |
# |
68 |
include default_mageia_server |
69 |
include bind::bind_master |
70 |
bind::zone_master { "mageia.org": } |
71 |
bind::zone_master { "mageia.fr": } |
72 |
timezone::timezone { "Europe/Paris": } |
73 |
} |
74 |
|
75 |
# buildnode |
76 |
node jonund { |
77 |
# Location: IELO datacenter (marseille) |
78 |
# |
79 |
# TODO: |
80 |
# - iurt |
81 |
# |
82 |
include default_mageia_server |
83 |
timezone::timezone { "Europe/Paris": } |
84 |
} |
85 |
|
86 |
node ecosse { |
87 |
# Location: IELO datacenter (marseille) |
88 |
# |
89 |
# TODO: |
90 |
# - iurt |
91 |
# |
92 |
include default_mageia_server |
93 |
timezone::timezone { "Europe/Paris": } |
94 |
} |
95 |
|
96 |
|
97 |
# backup server |
98 |
node fiona { |
99 |
# Location: IELO datacenter (marseille) |
100 |
# |
101 |
# TODO: |
102 |
# - buy the server |
103 |
# - install the server in datacenter |
104 |
# |
105 |
include default_mageia_server |
106 |
} |
107 |
|
108 |
# gandi-vm |
109 |
node krampouezh { |
110 |
# Location: gandi VM |
111 |
# |
112 |
# TODO: |
113 |
# - secondary MX |
114 |
# - LDAP slave (for external traffic maybe) |
115 |
# |
116 |
include default_mageia_server |
117 |
include bind::bind_slave |
118 |
timezone::timezone { "Europe/Paris": } |
119 |
# Other services running on this server : |
120 |
# - meetbot |
121 |
} |
122 |
|
123 |
node champagne { |
124 |
# Location: gandi VM |
125 |
# |
126 |
# TODO: |
127 |
# - setup mageia.org web site |
128 |
# - setup blog |
129 |
# |
130 |
include default_mageia_server |
131 |
} |
132 |
|
133 |
|