/[adm]/puppet/deployment/mga_buildsystem/manifests/config.pp
ViewVC logotype

Contents of /puppet/deployment/mga_buildsystem/manifests/config.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3138 - (show annotations) (download)
Thu May 23 15:05:31 2013 UTC (10 years, 10 months ago) by boklm
File size: 2987 byte(s)
Add buildsystem::var::mgarepo.

The mgarepo.conf template is now using settings from
buildsystem::var::mgarepo.
1 class mga_buildsystem::config {
2 class { 'buildsystem::var::signbot':
3 keyid => '80420F66',
4 }
5
6 class { 'buildsystem::var::groups':
7 packagers => 'mga-packagers',
8 packagers_committers => 'mga-packagers-committers',
9 }
10
11 include buildsystem::var::scheduler
12 include buildsystem::var::repository
13 class { 'buildsystem::var::youri':
14 packages_archivedir => "${buildsystem::var::scheduler::homedir}/old",
15 }
16
17 class { 'buildsystem::var::binrepo':
18 uploadmail_from => "root@${::domain}",
19 uploadmail_to => "packages-commits@ml.${::domain}",
20 }
21
22 class { 'buildsystem::var::mgarepo':
23 submit_host => "pkgsubmit.${::domain}",
24 svn_hostname => "svn.$::domain",
25 svn_root_packages => "svn://svn.${::domain}/svn/packages",
26 oldurl => "svn+ssh://svn.${::domain}/svn/packages/misc",
27 conf => {
28 'global' => {
29 'ldap-server' => "ldap.${::domain}",
30 'ldap-base' => "ou=People,${::dc_suffix}",
31 'ldap-filterformat' => '(&(objectClass=inetOrgPerson)(uid=$username))',
32 'ldap-resultformat' => '$cn <$mail>',
33 }
34 }
35 }
36
37 $std_arch = ['i586', 'x86_64']
38 $std_repos = {
39 'release' => {
40 'media_types' => [ 'release' ],
41 },
42 'updates_testing' => {
43 'media_types' => [ 'testing' ],
44 'noauto' => '1',
45 },
46 'backports_testing' => {
47 'media_types' => [ 'testing' ],
48 'noauto' => '1',
49 },
50 'backports' => {
51 'media_types' => [ 'backports' ],
52 'noauto' => '1',
53 },
54 'updates' => {
55 'media_types' => [ 'updates' ],
56 'updates_for' => 'release',
57 },
58 }
59 $std_medias = {
60 'core' => {
61 'repos' => $std_repos,
62 'media_types' => [ 'official', 'free' ],
63 },
64 'nonfree' => {
65 'repos' => $std_repos,
66 'media_types' => [ 'official' ],
67 'noauto' => '1',
68 },
69 'tainted' => {
70 'repos' => $std_repos,
71 'media_types' => [ 'official' ],
72 'noauto' => '1',
73 },
74 }
75 $std_base_media = [ 'core/release', 'core/updates' ]
76 $infra_medias = {
77 'infra' => {
78 'repos' => {
79 'release' => {
80 'media_types' => [ 'release' ],
81 },
82 },
83 'media_types' => [ 'infra' ],
84 },
85 }
86 class { 'buildsystem::var::distros':
87 default_distro => 'cauldron',
88 distros => {
89 'cauldron' => {
90 'arch' => $std_arch,
91 'medias' => $std_medias,
92 'base_media' => $std_base_media,
93 'branch' => 'Devel',
94 'version' => '3',
95 },
96
97 '1' => {
98 'arch' => $std_arch,
99 'medias' => $std_medias,
100 'base_media' => $std_base_media,
101 'branch' => 'Official',
102 'version' => '1',
103 },
104
105 '2' => {
106 'arch' => $std_arch,
107 'medias' => $std_medias,
108 'base_media' => $std_base_media,
109 'branch' => 'Official',
110 'version' => '2',
111 },
112
113 'infra_1' => {
114 'arch' => $std_arch,
115 'medias' => $infra_medias,
116 'base_media' => $std_base_media,
117 'branch' => 'Official',
118 'version' => '1',
119 },
120
121 'infra_2' => {
122 'arch' => $std_arch,
123 'medias' => $infra_medias,
124 'base_media' => $std_base_media,
125 'branch' => 'Official',
126 'version' => '2',
127 },
128 }
129 }
130
131 }

  ViewVC Help
Powered by ViewVC 1.1.30