From 4920481b72cf1a608b0eb3c68f32e56f77a43d58 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 12:29:51 +0000 Subject: - automatically refresh the buildsystem web interface from svn --- modules/buildsystem/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/buildsystem') diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 712f2f72..2e600037 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -46,9 +46,14 @@ class buildsystem { vhost_file => "buildsystem/vhost_repository.conf", } + $location = "/var/www/bs" apache::vhost_base { "pkgsubmit.$domain": aliases => { "/uploads" => "$sched_home_dir/uploads" }, - location => "/var/www/bs/", + location => $location, + } + + subversion::snapshot { $location: + source => "svn://svn.$domain/soft/buildsystem/web/", } include scheduler -- cgit v1.2.1