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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.2385  
changed lines
  Added in v.2386

  ViewVC Help
Powered by ViewVC 1.1.28