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 |
include openldap::master |
20 |
|
21 |
# for puppet svn checkout |
22 |
package {"subversion": |
23 |
ensure => "installed" |
24 |
} |
25 |
|
26 |
# svn spam log with |
27 |
# Oct 26 13:30:01 valstar svn: No worthy mechs found |
28 |
# without it, source http://mail-index.netbsd.org/pkgsrc-users/2008/11/23/msg008706.html |
29 |
# |
30 |
package {"lib64sasl2-plug-anonymous": |
31 |
ensure => "installed" |
32 |
} |
33 |
|
34 |
# update the puppet snapshot |
35 |
cron { puppet_update: |
36 |
command => "cd /etc/puppet && /usr/bin/svn update -q", |
37 |
user => root, |
38 |
minute => '*/5' |
39 |
} |
40 |
|
41 |
exec { puppet_etc: |
42 |
cwd => "/etc/", |
43 |
command => "/usr/bin/svn co svn://vm-gandi.mageia.org/adm/puppet/", |
44 |
user => "root", |
45 |
creates => "/etc/puppet/manifests/site.pp" |
46 |
} |
47 |
|
48 |
file { "extdata": |
49 |
path => "/etc/puppet/extdata", |
50 |
ensure => directory, |
51 |
owner => puppet, |
52 |
group => puppet, |
53 |
mode => 700, |
54 |
recurse => true |
55 |
} |
56 |
|
57 |
package {"puppet-server": |
58 |
ensure => "installed" |
59 |
} |
60 |
|
61 |
package {"task-bs-cluster-main": |
62 |
ensure => "installed" |
63 |
} |
64 |
} |
65 |
|
66 |
# web apps |
67 |
node alamut { |
68 |
# Location: IELO datacenter (marseille) |
69 |
# |
70 |
# TODO: |
71 |
# - bugzilla |
72 |
# - nagios |
73 |
# - api |
74 |
# - mail server |
75 |
# - mailing list server |
76 |
# - wiki |
77 |
# - pastbin |
78 |
# - LDAP slave |
79 |
# - transifex |
80 |
# - SQL server |
81 |
# |
82 |
include default_mageia_server |
83 |
include bind::bind_master |
84 |
include postgresql |
85 |
bind::zone_master { "mageia.org": } |
86 |
bind::zone_master { "mageia.fr": } |
87 |
timezone::timezone { "Europe/Paris": } |
88 |
} |
89 |
|
90 |
# buildnode |
91 |
node jonund { |
92 |
# Location: IELO datacenter (marseille) |
93 |
# |
94 |
include default_mageia_server |
95 |
include iurt |
96 |
timezone::timezone { "Europe/Paris": } |
97 |
} |
98 |
|
99 |
node ecosse { |
100 |
# Location: IELO datacenter (marseille) |
101 |
# |
102 |
include default_mageia_server |
103 |
include iurt |
104 |
timezone::timezone { "Europe/Paris": } |
105 |
} |
106 |
|
107 |
|
108 |
# backup server |
109 |
node fiona { |
110 |
# Location: IELO datacenter (marseille) |
111 |
# |
112 |
# TODO: |
113 |
# - buy the server |
114 |
# - install the server in datacenter |
115 |
# |
116 |
include default_mageia_server |
117 |
} |
118 |
|
119 |
# gandi-vm |
120 |
node krampouezh { |
121 |
# Location: gandi VM |
122 |
# |
123 |
# TODO: |
124 |
# - secondary MX |
125 |
# - LDAP slave (for external traffic maybe) |
126 |
# |
127 |
include default_mageia_server |
128 |
include bind::bind_master |
129 |
bind::zone_master { "mageia.org": } |
130 |
bind::zone_master { "mageia.fr": } |
131 |
timezone::timezone { "Europe/Paris": } |
132 |
# Other services running on this server : |
133 |
# - meetbot |
134 |
} |
135 |
|
136 |
node champagne { |
137 |
# Location: gandi VM |
138 |
# |
139 |
# TODO: |
140 |
# - setup mageia.org web site |
141 |
# - setup blog |
142 |
# |
143 |
include default_mageia_server |
144 |
include apache::base |
145 |
} |
146 |
|
147 |
|