diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:07:35 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:07:35 +0000 |
commit | 8b103496e498d80de66305f364d3c9ff6cd1af9c (patch) | |
tree | 56a5364caf2bc36e5d8f8f51104eec87cba8fd4d /modules/buildsystem/manifests/var/webstatus.pp | |
parent | b7ad1c5f9dd244a7756ad691735a2e2d648f7920 (diff) | |
download | puppet-8b103496e498d80de66305f364d3c9ff6cd1af9c.tar puppet-8b103496e498d80de66305f364d3c9ff6cd1af9c.tar.gz puppet-8b103496e498d80de66305f364d3c9ff6cd1af9c.tar.bz2 puppet-8b103496e498d80de66305f364d3c9ff6cd1af9c.tar.xz puppet-8b103496e498d80de66305f364d3c9ff6cd1af9c.zip |
buildsystem: create config file for webstatus
Create /etc/bs-webstatus.conf config file using new parameters from
buildsystem::var::webstatus.
Diffstat (limited to 'modules/buildsystem/manifests/var/webstatus.pp')
-rw-r--r-- | modules/buildsystem/manifests/var/webstatus.pp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/var/webstatus.pp b/modules/buildsystem/manifests/var/webstatus.pp index 371db756..1d5ca526 100644 --- a/modules/buildsystem/manifests/var/webstatus.pp +++ b/modules/buildsystem/manifests/var/webstatus.pp @@ -4,9 +4,19 @@ # vhost name of the webstatus page # $location: # path of the directory where the webstatus files are located +# $package_commit_url: +# url to view a commit on a package. %d is replaced by the commit id. +# $theme_name: +# name of the webstatus theme +# $themes_dir: +# path of the directory where the themes are located. If you want +# to use a theme not included in webstatus, you need to change this. class buildsystem::var::webstatus( $svn_url = "svn://svn.mageia.org/soft/build_system/web/", $hostname = "pkgsubmit.$::domain", - $location = '/var/www/bs' + $location = '/var/www/bs', + $package_commit_url, + $theme_name = 'mageia', + $themes_dir = '/var/www/bs/themes/' ) { } |