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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [543] initial youri submit-todo conf
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B543%5D%20initial%20youri%20submit-todo%20conf&In-Reply-To=%3C20101208073319.1D33C3FE32%40valstar.mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="001060.html">
<LINK REL="Next" HREF="001062.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [543] initial youri submit-todo conf</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B543%5D%20initial%20youri%20submit-todo%20conf&In-Reply-To=%3C20101208073319.1D33C3FE32%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [543] initial youri submit-todo conf">root at mageia.org
</A><BR>
<I>Wed Dec 8 08:33:19 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="001060.html">[Mageia-sysadm] [542] remove class bind::bind_master, as this is already by the class dns_server
</A></li>
<LI>Next message: <A HREF="001062.html">[Mageia-sysadm] Puppet Report for valstar.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1061">[ date ]</a>
<a href="thread.html#1061">[ thread ]</a>
<a href="subject.html#1061">[ subject ]</a>
<a href="author.html#1061">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 543
Author: blino
Date: 2010-12-08 08:33:18 +0100 (Wed, 08 Dec 2010)
Log Message:
-----------
initial youri submit-todo conf
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
Added Paths:
-----------
puppet/modules/buildsystem/templates/submit-todo.conf
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-12-08 02:56:19 UTC (rev 542)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-12-08 07:33:18 UTC (rev 543)
@@ -128,6 +128,18 @@
mode => 440,
content => template("buildsystem/sudoers.youri")
}
+
+ file { "/etc/youri":
+ ensure => "directory",
+ require => File["/etc/youri"],
+ }
+
+ file { "/etc/youri/submit-todo.conf":
+ ensure => present,
+ mode => 644,
+ require => File["/etc/youri"],
+ content => template("buildsystem/submit-todo.conf")
+ }
}
define sshuser($homedir, $comment) {
Added: puppet/modules/buildsystem/templates/submit-todo.conf
===================================================================
--- puppet/modules/buildsystem/templates/submit-todo.conf (rev 0)
+++ puppet/modules/buildsystem/templates/submit-todo.conf 2010-12-08 07:33:18 UTC (rev 543)
@@ -0,0 +1,163 @@
+home: <%= sched_home_dir %>
+
+# repository declaration
+repository:
+ class: Youri::Repository::Mandriva_upload
+ options:
+ install_root: /mnt/BIG/dis/
+ upload_root: ${home}/uploads/
+ upload_state: todo done queue
+ queue: todo
+ noarch: i586
+ svn: svn+<A HREF="ssh://svn.mageia.org/svn/packages/cauldron/">ssh://svn.mageia.org/svn/packages/cauldron/</A>
+ 1.0:
+ arch: i586 x86_64
+ cauldron:
+ arch: i586 x86_64 sparc sparcv9 ppc
+
+# targets definition
+targets:
+ cauldron:
+ checks:
+ - source
+ - version
+ - svn
+ - tag
+ - acl
+ - host
+ - section
+ - rpmlint
+ - recency
+ #- history
+ - queue_recency
+ actions:
+ - send
+ - rpminfo
+
+ 1.0:
+ checks:
+ - source
+ - version
+ - svn
+ - tag
+ - acl
+ - host
+ - section
+ - rpmlint
+ - recency
+ #- history
+ - queue_recency
+ actions:
+ - send
+ - rpminfo
+
+# checks definition
+checks:
+ tag:
+ class: Youri::Submit::Check::Tag
+ options:
+ tags:
+ release: '(mnb\d+|mga..\..)$'
+ packager: '<\<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">S+ at mageia</A>\.org>$'
+ distribution: '^Mageia'
+ vendor: '^Mageia.Org$'
+
+ recency:
+ class: Youri::Submit::Check::Recency
+
+ queue_recency:
+ class: Youri::Submit::Check::Queue_recency
+
+ host:
+ class: Youri::Submit::Check::Host
+ options:
+ host_file: /etc/youri/host.conf
+
+ section:
+ class: Youri::Submit::Check::Section
+
+ rpmlint:
+ class: Youri::Submit::Check::Rpmlint
+ options:
+ config: /etc/rpmlint/config
+ results:
+ - buildprereq-use
+ - no-description-tag
+ - no-summary-tag
+ - non-standard-group
+ - non-xdg-migrated-menu
+ # it breaks dbus
+ #- patch-not-applied
+ - percent-in-conflicts
+ - percent-in-dependency
+ - percent-in-obsoletes
+ - percent-in-provides
+ - summary-ended-with-dot
+
+ svn:
+ class: Youri::Submit::Check::SVN
+
+ acl:
+ class: Youri::Submit::Check::ACL
+ options:
+ acl_file: /etc/youri/acl.conf
+
+ history:
+ class: Youri::Submit::Check::History
+
+ source:
+ class: Youri::Submit::Check::Source
+
+ precedence:
+ class: Youri::Submit::Check::Precedence
+ options:
+ target: cauldron
+
+ version:
+ class: Youri::Submit::Check::Version
+ options:
+ 1.0:
+ authorized_packages: none_package_authorized
+ authorized_sections: main/testing|main/backports|contrib/testing|contrib/updates|contrib/backports|non-free/testing|non-free/updates|non-free/backports
+ authorized_arches: none
+ mode: freeze
+
+ cauldron:
+# <mrl> Prior freeze
+ authorized_sections: ^[a-z]+/(release|testing)$
+ authorized_arches: .*
+ mode: normal
+## <blino> Version freeze
+# authorized_packages: ^$
+# authorized_sections: ^main/testing|contrib/testing$
+# authorized_arches: ^$
+# authorized_users: ^blino|ennael|nvigier$
+# mode: version_freeze
+# <mrl> Freeze config
+# authorized_packages: ^mdkonline|drakxtools|urpmi|ia_ora-gnome|ldetect|ldetect-lst|rpm-mageia-setup|perl-MDK-Common$
+# authorized_packages: none_package_authorized
+# authorized_sections: ^restricted/release|main/testing|contrib/testing$
+# authorized_arches: none
+# authorized_users: ^blino|ennael|nvigier$
+# mode: freeze
+
+# actions definitions
+actions:
+ send:
+ class: Youri::Submit::Action::Send
+ options:
+ user: <%= sched_login %>
+ keep_svn_release: yes
+ uphost: pkgsubmit.mageia.org
+ root: ${home}/uploads
+ ssh_key: ${home}/.ssh/id_rsa
+
+ rpminfo:
+ class: Youri::Submit::Action::Rpminfo
+ options:
+ user: <%= sched_login %>
+ uphost: pkgsubmit.mageia.org
+ root: ${home}/uploads
+ ssh_key: ${home}/.ssh/id_rsa
+
+# vim:ft=yaml:et:sw=4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101208/b04328a7/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001060.html">[Mageia-sysadm] [542] remove class bind::bind_master, as this is already by the class dns_server
</A></li>
<LI>Next message: <A HREF="001062.html">[Mageia-sysadm] Puppet Report for valstar.mageia.org
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1061">[ date ]</a>
<a href="thread.html#1061">[ thread ]</a>
<a href="subject.html#1061">[ subject ]</a>
<a href="author.html#1061">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>
|