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