diff options
Diffstat (limited to 'modules/buildsystem/manifests/pkgsubmit.pp')
-rw-r--r-- | modules/buildsystem/manifests/pkgsubmit.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/pkgsubmit.pp b/modules/buildsystem/manifests/pkgsubmit.pp new file mode 100644 index 00000000..069fba84 --- /dev/null +++ b/modules/buildsystem/manifests/pkgsubmit.pp @@ -0,0 +1,16 @@ +class buildsystem::pkgsubmit { + $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/", + } +} |