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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [500] add repsys conf file (listing cauldron)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B500%5D%20add%20repsys%20conf%20file%20%28listing%20cauldron%29&In-Reply-To=%3C20101205205900.BBF523F8EE%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="001009.html">
<LINK REL="Next" HREF="001011.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [500] add repsys conf file (listing cauldron)</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B500%5D%20add%20repsys%20conf%20file%20%28listing%20cauldron%29&In-Reply-To=%3C20101205205900.BBF523F8EE%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [500] add repsys conf file (listing cauldron)">root at mageia.org
</A><BR>
<I>Sun Dec 5 21:59:00 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="001009.html">[Mageia-sysadm] [499] allow pkgsubmit on valstar
</A></li>
<LI>Next message: <A HREF="001011.html">[Mageia-sysadm] [501] trunk dir is cauldron, not hardcoded cooker from repsys
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1010">[ date ]</a>
<a href="thread.html#1010">[ thread ]</a>
<a href="subject.html#1010">[ subject ]</a>
<a href="author.html#1010">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 500
Author: blino
Date: 2010-12-05 21:59:00 +0100 (Sun, 05 Dec 2010)
Log Message:
-----------
add repsys conf file (listing cauldron)
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
Added Paths:
-----------
puppet/modules/buildsystem/templates/repsys.conf
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-12-05 20:28:13 UTC (rev 499)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-12-05 20:59:00 UTC (rev 500)
@@ -37,6 +37,7 @@
include scheduler
include gatherer
+ include repsys
}
class buildnode inherits base {
@@ -69,7 +70,13 @@
}
-
+ file { "repsys.conf":
+ path => "/etc/repsys.conf",
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("buildsystem/repsys.conf")
+ }
}
define sshuser($homedir, $comment) {
Added: puppet/modules/buildsystem/templates/repsys.conf
===================================================================
--- puppet/modules/buildsystem/templates/repsys.conf (rev 0)
+++ puppet/modules/buildsystem/templates/repsys.conf 2010-12-05 20:59:00 UTC (rev 500)
@@ -0,0 +1,59 @@
+[global]
+verbose = no
+default_parent = svn+<A HREF="ssh://svn.<%=">ssh://svn.<%=</A> domain %>/svn/packages/cauldron
+#url-map = svn\+<A HREF="ssh://svn\.mageia\.org/(.*">ssh://svn\.mageia\.org/(.*</A>) <A HREF="file:///\1">file:///\1</A>
+tempdir = /home/schedbot/repsys/tmp
+# ldap settings
+# ldap is searched first: if not found, then [users] is read
+# if ldap search matched, then [users] is not consulted
+# if ldap is down, [users] is not consulted either
+#
+# we should have a generic fqdn here to use round-robin DNS
+# enhancement for repsys: support multiple ldap servers here
+ldap-server = ldap.<%= domain %>
+ldap-base = ou=People,<%= dc_suffix %>
+ldap-filterformat = (&(objectClass=inetOrgPerson)(uid=$username))
+ldap-resultformat = $cn <$mail>
+
+[log]
+oldurl = svn+<A HREF="ssh://svn.<%=">ssh://svn.<%=</A> domain %>/svn/packages/misc
+# controls up to which revision the rpm changelog
+# will be constructed (default zero, i.e., oldest
+# commit)
+# revision-offset = 0
+# commit lines containing this string won't be shown in the changelog:
+ignore-string = SILENT
+
+[template]
+path = /usr/share/repsys/default.chlog
+
+[users]
+iurt = Mageia build bot <mageia-sysadm@<%= domain %>>
+
+[submit]
+default = cauldron
+host = pkgsubmit.<%= domain %>
+
+[submit cauldron]
+target = /home/schedbot/repsys/srpms
+allowed = svn+<A HREF="ssh://svn.<%=">ssh://svn.<%=</A> domain %>/svn/packages/cauldron svn+<A HREF="ssh://svn.<%=">ssh://svn.<%=</A> domain %>/svn/packages/branches/cauldron
+rpm-macros = global cauldron
+
+[macros global]
+distsuffix = mga
+
+[macros cauldron]
+distro_release = 1.0
+# 100 * major + minor
+mgaversion = 100
+manbo_release = 2
+mageia_branch = cauldron
+
+[helper]
+create-srpm = /usr/share/repsys/create-srpm
+upload-srpm = perl -I/usr/share/mdv-youri-core/lib -I/usr/share/mdv-youri-submit/lib /usr/share/mdv-youri-submit/bin/youri-submit
+# needed by mdvsys 2.0
+install-buildrequires = sudo rurpmi --auto --no-suggests
+
+[srpm]
+run-prep = yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101205/ed0abb51/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="001009.html">[Mageia-sysadm] [499] allow pkgsubmit on valstar
</A></li>
<LI>Next message: <A HREF="001011.html">[Mageia-sysadm] [501] trunk dir is cauldron, not hardcoded cooker from repsys
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#1010">[ date ]</a>
<a href="thread.html#1010">[ thread ]</a>
<a href="subject.html#1010">[ subject ]</a>
<a href="author.html#1010">[ 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>
|