1 |
# svn, big important server |
2 |
node valstar { |
3 |
# Location: IELO datacenter (marseille) |
4 |
# |
5 |
# TODO: |
6 |
# - GIT server |
7 |
# - setup maintainers database (with web interface) |
8 |
# |
9 |
include common::default_mageia_server |
10 |
timezone::timezone { 'Europe/Paris': } |
11 |
include main_mirror |
12 |
include openldap::master |
13 |
include subversion::client |
14 |
include subversion::server |
15 |
include puppet::master |
16 |
include reports::ii |
17 |
|
18 |
include ssh::auth |
19 |
include ssh::auth::keymaster |
20 |
include buildsystem::mainnode |
21 |
include buildsystem::sync20101 |
22 |
include buildsystem::release |
23 |
include buildsystem::maintdb |
24 |
include buildsystem::binrepo |
25 |
include softwarekey::base |
26 |
include mgasoft |
27 |
|
28 |
include access_classes::committers |
29 |
include restrictshell::allow_git |
30 |
include restrictshell::allow_svn |
31 |
include restrictshell::allow_pkgsubmit |
32 |
include restrictshell::allow_maintdb |
33 |
include restrictshell::allow_upload_bin |
34 |
# disabled the ldap key here instead of disabling for the |
35 |
# whole module ( see r698 ) |
36 |
class { 'openssh::ssh_keys_from_ldap': |
37 |
symlink_users => ['schedbot', 'iurt'] |
38 |
} |
39 |
|
40 |
include mirror::mdv2010spring |
41 |
|
42 |
include repositories::subversion |
43 |
include repositories::git |
44 |
include repositories::sparkleshare |
45 |
|
46 |
include websites::svn |
47 |
|
48 |
subversion::snapshot { '/etc/puppet': |
49 |
source => 'svn://svn.mageia.org/svn/adm/puppet/' |
50 |
} |
51 |
|
52 |
mirror_cleaner::orphans { 'cauldron': |
53 |
base => '/distrib/bootstrap/distrib/', |
54 |
} |
55 |
|
56 |
# TODO use a dns zone for that |
57 |
host { 'arm1': |
58 |
ip => '10.10.10.11', |
59 |
host_aliases => [ "arm1.$::domain" ], |
60 |
ensure => present, |
61 |
} |
62 |
|
63 |
host { 'arm2': |
64 |
ip => '10.10.10.12', |
65 |
host_aliases => [ "arm2.$::domain" ], |
66 |
ensure => present, |
67 |
} |
68 |
} |