aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/repositories/manifests/subversion.pp
blob: 28538ce7ad402b3b757a0e123e2de61794a5c8ba (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
class repositories::subversion {

    subversion::repository { '/svn/adm/':
        group        => 'mga-sysadmin',
        commit_mail  => ["sysadmin-commits@ml.$::domain"],
        syntax_check => ['check_puppet_templates','check_puppet'],
    }

    subversion::repository { '/svn/advisories':
        group        => 'mga-packagers',
        commit_mail  => ["qa-commits@ml.$::domain"],
    }

    sudo::sudoers_config { 'puppet_update':
        content => template('repositories/puppet_update.sudoers')
    }

    subversion::hook::post_commit { '/svn/adm/|puppet_update':
        content => template('repositories/puppet_update.sh')
    }

    subversion::repository { '/svn/org/':
        group        => 'mga-board',
        commit_mail  => ["board-commits@ml.$::domain"],
    }

    subversion::repository { '/svn/soft/':
        group        => 'mga-packagers',
        commit_mail  => ["soft-commits@ml.$::domain"],
        syntax_check => ['check_po'],
        i18n_mail    => ["i18n-reports@ml.$::domain"],
    }

    subversion::repository { '/svn/soft_publish/':
        group       => 'mga-packagers',
        commit_mail => ["soft-commits@ml.$::domain"],
    }

    subversion::repository { '/svn/web/':
        group        => 'mga-web',
        commit_mail  => ["atelier-commits@ml.$::domain"],
        syntax_check => ['check_php'],
    }

    subversion::repository { '/svn/packages/':
        group       => 'mga-packagers-committers',
        no_binary   => true,
        #commit_mail => ["packages-commits@ml.$::domain"],
        commit_mail => false,
        restricted_to_user => 'umeabot',
    }

    subversion::repository { '/svn/test-irker/':
        group       => 'mga-packagers',
        no_binary   => true,
        commit_mail => ['boklm@mageia.org'],
        irker_conf  => {
            project   => 'mageia',
            repo      => 'testrepo',
            tinyifier => 'http://is.gd/create.php?format=simple&url=',
            urlprefix => 'http://svnweb.mageia.org/%(repo)?view=revision&revision=',
            channels  => '{irc://chat.freenode.net/commits, irc://chat.freenode.net/test-irker}',
        },
    }

    subversion::repository { '/svn/treasurer/':
        group       => 'mga-treasurer',
	commit_mail => ["treasurer-commits@ml.$::domain"],
    }
}