/[adm]/puppet/deployment/repositories/manifests/subversion.pp
ViewVC logotype

Contents of /puppet/deployment/repositories/manifests/subversion.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2386 - (show annotations) (download)
Fri Feb 10 14:20:00 2012 UTC (9 years, 5 months ago) by misc
File size: 1974 byte(s)
make puppet-lint happy, and use topscope variable ( for puppet 2.8 )
1 class repositories::subversion {
2
3 Subversion::Repository {
4 cia_post => true,
5 cia_ignore_author => '^schedbot$',
6 }
7
8 subversion::repository { '/svn/adm/':
9 group => 'mga-sysadmin',
10 commit_mail => ["sysadmin-commits@ml.$::domain"],
11 syntax_check => ['check_puppet_templates','check_puppet'],
12 cia_module => 'sysadm',
13 }
14
15 sudo::sudoers_config { 'puppet_update':
16 content => template('repositories/puppet_update.sudoers')
17 }
18
19 subversion::hook::post_commit { '/svn/adm/|puppet_update':
20 content => template('repositories/puppet_update.sh')
21 }
22
23 subversion::repository { '/svn/soft/':
24 group => 'mga-packagers',
25 commit_mail => ["soft-commits@ml.$::domain"],
26 syntax_check => ['check_po'],
27 cia_module => 'soft',
28 i18n_mail => ["mageia-i18n@$::domain"],
29 }
30
31 subversion::repository { '/svn/soft_publish/':
32 group => 'mga-packagers',
33 commit_mail => ["soft-commits@ml.$::domain"],
34 cia_post => true,
35 cia_module => 'soft_publish',
36 }
37
38 subversion::repository { '/svn/web/':
39 group => 'mga-web',
40 syntax_check => ['check_php'],
41 cia_module => 'web',
42 }
43
44 subversion::repository { '/svn/packages/':
45 group => 'mga-packagers-committers',
46 no_binary => true,
47 commit_mail => ["packages-commits@ml.$::domain"],
48 cia_module => 'packages',
49 }
50
51 file { '/svn/binrepos/':
52 ensure => directory,
53 mode => '0700',
54 }
55
56 subversion::repository { '/svn/binrepos/cauldron/':
57 group => 'mga-packagers-committers',
58 cia_module => 'binrepos',
59 }
60
61 file { '/svn/binrepos/updates/':
62 ensure => directory
63 }
64
65 subversion::repository { '/svn/binrepos/updates/1/':
66 group => 'mga-packagers-committers',
67 cia_module => 'binrepos_1',
68 }
69 }

  ViewVC Help
Powered by ViewVC 1.1.28