blob: ba575cd275e765ea9992559caddb6e063e3b5b37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
class buildsystem::pkgsubmit {
include buildsystem::scheduler::var
$sched_home_dir = $buildsystem::scheduler::var::homedir
$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/",
}
}
|