diff options
author | Michael Scherer <misc@mageia.org> | 2011-03-08 12:29:51 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-03-08 12:29:51 +0000 |
commit | 4920481b72cf1a608b0eb3c68f32e56f77a43d58 (patch) | |
tree | 0ecac7bcfaa53f659b36c8d64982d89bc5ea64ac /modules/buildsystem | |
parent | 6ea188dcf955d9eed1e1cfcd9867c49149155199 (diff) | |
download | puppet-4920481b72cf1a608b0eb3c68f32e56f77a43d58.tar puppet-4920481b72cf1a608b0eb3c68f32e56f77a43d58.tar.gz puppet-4920481b72cf1a608b0eb3c68f32e56f77a43d58.tar.bz2 puppet-4920481b72cf1a608b0eb3c68f32e56f77a43d58.tar.xz puppet-4920481b72cf1a608b0eb3c68f32e56f77a43d58.zip |
- automatically refresh the buildsystem web interface from svn
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
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 |