diff options
Diffstat (limited to 'modules/buildsystem/manifests/webstatus.pp')
-rw-r--r-- | modules/buildsystem/manifests/webstatus.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/webstatus.pp b/modules/buildsystem/manifests/webstatus.pp new file mode 100644 index 00000000..9ed617ed --- /dev/null +++ b/modules/buildsystem/manifests/webstatus.pp @@ -0,0 +1,22 @@ +class buildsystem::webstatus { + include buildsystem::var::scheduler + $sched_home_dir = $buildsystem::var::scheduler::homedir + + $location = '/var/www/bs' + file { [$location,"$location/data"]: + ensure => directory, + } + + apache::vhost::base { "pkgsubmit.$::domain": + aliases => { + '/uploads' => "$sched_home_dir/uploads", + '/autobuild/cauldron/x86_64/core/log/status.core.log' => "$location/autobuild/broken.php" + }, + location => $location, + content => template('buildsystem/vhost_webstatus.conf'), + } + + subversion::snapshot { $location: + source => "svn://svn.$::domain/soft/buildsystem/web/", + } +} |