aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2010-11-04 16:34:59 +0000
committerDexter Morgan <dmorgan@mageia.org>2010-11-04 16:34:59 +0000
commit66d34973be7c62c342ef2c6c050e0dcb7b43753f (patch)
tree91f1d139e1a9b487ce71a78a1b456e906c3ca598 /modules
parentd11452a6d4553e0d9d411b8d1a37424cbe4daa55 (diff)
downloadpuppet-66d34973be7c62c342ef2c6c050e0dcb7b43753f.tar
puppet-66d34973be7c62c342ef2c6c050e0dcb7b43753f.tar.gz
puppet-66d34973be7c62c342ef2c6c050e0dcb7b43753f.tar.bz2
puppet-66d34973be7c62c342ef2c6c050e0dcb7b43753f.tar.xz
puppet-66d34973be7c62c342ef2c6c050e0dcb7b43753f.zip
Configure iurt on bs nodes and install conf files
Diffstat (limited to 'modules')
-rw-r--r--modules/iurt/manifests/init.pp21
-rw-r--r--modules/iurt/templates/.iurt.cauldron.conf30
2 files changed, 51 insertions, 0 deletions
diff --git a/modules/iurt/manifests/init.pp b/modules/iurt/manifests/init.pp
new file mode 100644
index 00000000..75a2f5ad
--- /dev/null
+++ b/modules/iurt/manifests/init.pp
@@ -0,0 +1,21 @@
+class default_mageia_buildnode {
+
+ # build node common settings
+ # we could have the following skip list to use less space:
+ # '/(drakx-installer-binaries|drakx-installer-advertising|gfxboot|drakx-installer-stage2|mandriva-theme)/'
+ $package_list = ['task-bs-cluster-chroot', 'iurt']
+ package { $package_list:
+ ensure => installed;
+ }
+
+ file { '/home/buildbot/.iurt.cauldron.conf':
+ ensure => present,
+ owner => buildbot,
+ group => buildbot,
+ mode => 644,
+ require => Package["iurt"],
+ content => "template("buildsystem/.iurt.cauldron.conf")"
+ }
+
+}
+
diff --git a/modules/iurt/templates/.iurt.cauldron.conf b/modules/iurt/templates/.iurt.cauldron.conf
new file mode 100644
index 00000000..5a7f047e
--- /dev/null
+++ b/modules/iurt/templates/.iurt.cauldron.conf
@@ -0,0 +1,30 @@
+{
+ supported_arch => [ 'i586', 'x86_64' ],
+ all_media => { 'main' => [ 'release' ], 'contrib' => [ 'release' ] },
+ upload => 'schedbot@pkgsubmit:~/uploads/',
+ upload_queue => 'schedbot@pkgsubmit:~/uploads/queue/',
+ unwanted_packages => '^monotone-',
+ repository => '/mnt/BIG/dis/',
+ rsync_to => 'schedbot@pkgsubmit:/mnt/BIG/dis/uploads/build/',
+ log_url => 'http://pkgsubmit.mageia.org/queue/build/',
+ admin => 'mageia-sysadm@mageia.org',
+ iurt_root_command => '/home/buildbot/iurt-trunk/iurt_root_command',
+ packager => 'Iurt the rebuild bot <mageia-sysadm@mageia.org>',
+ sendmail => 0,
+ build_timeout => {
+ 'default' => 18000,
+ 'gcc' => 57600,
+ 'paraview' => 115200,
+ 'salome' => 57600,
+ 'itk' => 115200,
+ 'wrapitk' => 115200,
+ 'kernel-rt' => 57600,
+ 'kernel-xen' => 57600,
+ 'kernel-tmb' => 57600,
+ 'openoffice.org' => 345600,
+ 'openoffice.org64' => 345600,
+ 'openoffice.org-go-ooo' => 345600,
+ 'openoffice.org64-go-ooo' => 345600
+ },
+}
+