aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/webstatus.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:53 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:07:53 +0000
commit62b42993b86e6fcedbe947d960e0b870d6b0f18f (patch)
tree2fe042cb0a7fa98f8239800b69078b74a37912d7 /modules/buildsystem/manifests/var/webstatus.pp
parentb2af3916f62085a298273392088f1c0d931dd49c (diff)
downloadpuppet-62b42993b86e6fcedbe947d960e0b870d6b0f18f.tar
puppet-62b42993b86e6fcedbe947d960e0b870d6b0f18f.tar.gz
puppet-62b42993b86e6fcedbe947d960e0b870d6b0f18f.tar.bz2
puppet-62b42993b86e6fcedbe947d960e0b870d6b0f18f.tar.xz
puppet-62b42993b86e6fcedbe947d960e0b870d6b0f18f.zip
buildsystem::var::webstatus: add max_modified option
Add an option to select how much history should be displayed.
Diffstat (limited to 'modules/buildsystem/manifests/var/webstatus.pp')
-rw-r--r--modules/buildsystem/manifests/var/webstatus.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/var/webstatus.pp b/modules/buildsystem/manifests/var/webstatus.pp
index 1d5ca526..993390db 100644
--- a/modules/buildsystem/manifests/var/webstatus.pp
+++ b/modules/buildsystem/manifests/var/webstatus.pp
@@ -6,6 +6,8 @@
# 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.
+# $max_modified:
+# how much history should we display, in days
# $theme_name:
# name of the webstatus theme
# $themes_dir:
@@ -16,6 +18,7 @@ class buildsystem::var::webstatus(
$hostname = "pkgsubmit.$::domain",
$location = '/var/www/bs',
$package_commit_url,
+ $max_modified = '2',
$theme_name = 'mageia',
$themes_dir = '/var/www/bs/themes/'
) {