[Mageia-sysadm] [500] add repsys conf file (listing cauldron)
root at mageia.org
root at mageia.org
Sun Dec 5 21:59:00 CET 2010
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+ssh://svn.<%= domain %>/svn/packages/cauldron
+#url-map = svn\+ssh://svn\.mageia\.org/(.*) file:///\1
+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+ssh://svn.<%= 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+ssh://svn.<%= domain %>/svn/packages/cauldron svn+ssh://svn.<%= 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>
More information about the Mageia-sysadm
mailing list