diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-16 22:46:19 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-16 22:46:19 +0000 |
commit | 8d7fd472cd88f51bb1bb15091dcd51e7dfe85989 (patch) | |
tree | 4f8e0b79fd1714fa0a62793d75af9c19e47d2403 /modules/buildsystem/manifests/init.pp | |
parent | d4d6388339cee0803b6abb55d2415261ea6d7053 (diff) | |
download | puppet-8d7fd472cd88f51bb1bb15091dcd51e7dfe85989.tar puppet-8d7fd472cd88f51bb1bb15091dcd51e7dfe85989.tar.gz puppet-8d7fd472cd88f51bb1bb15091dcd51e7dfe85989.tar.bz2 puppet-8d7fd472cd88f51bb1bb15091dcd51e7dfe85989.tar.xz puppet-8d7fd472cd88f51bb1bb15091dcd51e7dfe85989.zip |
split and clean lots of buildsystem submodule
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 85 |
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 |