aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/valstar.pp
blob: 787b71c1b47162947af2f7ab5c68664b66ce490a (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
# 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 subversion::client
    include subversion::server
    include puppet::master
    include reports::ii

    include ssh::auth
    include ssh::auth::keymaster
    include buildsystem::mainnode
    include buildsystem::sync20101
    include buildsystem::release
    include buildsystem::maintdb
    include buildsystem::binrepo
    include softwarekey
    include mgasoft

    include access_classes::committers
    include restrictshell::allow_git
    include restrictshell::allow_svn
    include restrictshell::allow_pkgsubmit
    include restrictshell::allow_maintdb
    include restrictshell::allow_upload_bin
    # disabled the ldap key here instead of disabling for the
    # whole module ( see r698 )
    class { 'openssh::ssh_keys_from_ldap':
        symlink_users => ['schedbot', 'iurt']
    }

    include mirror::mdv2010spring

    include repositories::subversion
    include repositories::git
    include repositories::sparkleshare

    include websites::svn

    subversion::snapshot { '/etc/puppet':
        source => 'svn://svn.mageia.org/svn/adm/puppet/'
    }

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

    # TODO use a dns zone for that
    host { 'arm1':
        ensure       => present,
        ip           => '10.10.10.11',
        host_aliases => [ "arm1.$::domain" ],
    }

    host { 'arm2':
        ensure       => present,
        ip           => '10.10.10.12',
        host_aliases => [ "arm2.$::domain" ],
    }
}