aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/valstar.pp
blob: a96a0f9f8fa18459a8c761ab204a3a24fff3752f (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
# svn, big important server
node valstar {
# Location: IELO datacenter (marseille)
#
# TODO:
# - GIT server
# - setup maintainers database (with web interface)
#
    include common::default_mageia_server
    timezone::timezone { 'Europe/Paris': }
    include main_mirror
    include openldap::master
    include git::client
    include subversion::client
    include subversion::server
    include puppet::master
    include reports::ii

    include sshkeys::keymaster
    include mga_buildsystem::mainnode
    include softwarekey
    include mgasoft

    include access_classes::committers
    include restrictshell::allow_svn
    include restrictshell::allow_pkgsubmit
    include restrictshell::allow_maintdb
    include restrictshell::allow_upload_bin
    include openssh::ssh_keys_from_ldap

    include repositories::subversion

    # include irkerd

    include websites::svn
    include websites::git

    class { 'mga-advisories':
        vhost => "advisories.${::domain}",
    }

    git::snapshot { '/etc/puppet':
        source => "git://git.${::domain}/infrastructure/puppet/"
    }

    mirror_cleaner::orphans {  'cauldron':
        base => '/distrib/bootstrap/distrib/',
    }

    class { 'mgagit':
        ldap_server => "ldap.${::domain}",
        binddn      => 'cn=mgagit-valstar,ou=System Accounts,dc=mageia,dc=org',
        bindpw      => extlookup('mgagit_ldap','x'),
    }
}