aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/bs-webstatus.conf
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/templates/bs-webstatus.conf
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/templates/bs-webstatus.conf')
-rw-r--r--modules/buildsystem/templates/bs-webstatus.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/bs-webstatus.conf b/modules/buildsystem/templates/bs-webstatus.conf
index fdef02c5..bfb6c904 100644
--- a/modules/buildsystem/templates/bs-webstatus.conf
+++ b/modules/buildsystem/templates/bs-webstatus.conf
@@ -7,7 +7,7 @@ $g_webapp_dir = '<%= scope.lookupvar('buildsystem::var::webstatus::location') %>
$upload_dir = '<%= scope.lookupvar('buildsystem::var::scheduler::homedir') %>/uploads';
/** How long a history should we keep, in days. */
-$max_modified = 2;
+$max_modified = <%= scope.lookupvar('buildsystem::var::webstatus::max_modified') %>;
/** How many nodes are available. */
$g_nodes_count = 2;