aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r--modules/buildsystem/manifests/init.pp85
1 files changed, 0 insertions, 85 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 8a3a2d3c..fb6a8ff6 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -1,89 +1,4 @@
class buildsystem {
- class mainnode inherits base {
- include iurtuser
-
- sshuser { $sched_login:
- homedir => $sched_home_dir,
- comment => "System user used to schedule builds",
- }
-
- ssh::auth::client { $sched_login: }
-
- ssh::auth::server { [$sched_login, $build_login]: }
-
- # FIXME Add again task-bs-cluster-main when it will require mgarepo instead of repsys
- $package_list = ['iurt']
- package { $package_list: }
-
- $mirror_root = "/distrib/mirror"
- apache::vhost_other_app { "repository.$domain":
- vhost_file => "buildsystem/vhost_repository.conf",
- }
-
- $location = "/var/www/bs"
- file { ["$location","$location/data"]:
- ensure => directory,
- }
-
- apache::vhost_base { "pkgsubmit.$domain":
- aliases => { "/uploads" => "$sched_home_dir/uploads" },
- location => $location,
- content => template("buildsystem/vhost_pkgsubmit.conf"),
- }
-
- subversion::snapshot { $location:
- source => "svn://svn.$domain/soft/buildsystem/web/",
- }
-
- file { "$repository_root":
- ensure => directory,
- }
-
- define media_cfg() {
- $arch = $name
- file { "$repository_root/distrib/cauldron/$arch/media/media_info/media.cfg":
- owner => $sched_login,
- group => $sched_login,
- source => "puppet:///modules/buildsystem/$arch/media.cfg",
- }
- }
-
- media_cfg { ["i586","x86_64"]: }
-
- include scheduler
- include gatherer
- include buildsystem::mgarepo
- include buildsystem::signbot
- include youri_submit
-
- cron { "dispatch jobs":
- user => $sched_login,
- command => "ulri; emi",
- minute => "*",
- }
- }
-
- class buildnode inherits base {
- include buildsystem::iurt
- }
-
- class scheduler {
- # ulri
- include iurtupload
- }
-
- class gatherer {
- # emi
- include iurtupload
- }
-
- class iurtupload {
- file { "/etc/iurt/upload.conf":
- require => File["/etc/iurt"],
- content => template("buildsystem/upload.conf")
- }
- }
-
class youri_submit {
include sudo