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/templates/bs-webstatus.conf | |
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/templates/bs-webstatus.conf')
-rw-r--r-- | modules/buildsystem/templates/bs-webstatus.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/bs-webstatus.conf b/modules/buildsystem/templates/bs-webstatus.conf new file mode 100644 index 00000000..fdef02c5 --- /dev/null +++ b/modules/buildsystem/templates/bs-webstatus.conf @@ -0,0 +1,32 @@ +<?php + +/** Where is the current app located. */ +$g_webapp_dir = '<%= scope.lookupvar('buildsystem::var::webstatus::location') %>'; + +/** Full system path where packages are uploaded. */ +$upload_dir = '<%= scope.lookupvar('buildsystem::var::scheduler::homedir') %>/uploads'; + +/** How long a history should we keep, in days. */ +$max_modified = 2; + +/** How many nodes are available. */ +$g_nodes_count = 2; + +/** html > body > h1 title */ +$title = 'Build system status'; + +/** Should crawlers index this page or not? meta[robots] tag.*/ +$robots = 'index,nofollow,nosnippet,noarchive'; + +/** */ +$g_root_url = 'http://<%= scope.lookupvar('buildsystem::var::webstatus::hostname') %>/'; + +/** URL to view a package svn revision. %d is replaced by the revision */ +$package_commit_url = '<%= scope.lookupvar('buildsystem::var::webstatus::package_commit_url') %>'; + +/** name of the theme */ +$theme_name = '<%= scope.lookupvar('buildsystem::var::webstatus::theme_name') %>'; + +/** themes directory */ +$themes_dir = '<%= scope.lookupvar('buildsystem::var::webstatus::themes_dir') %>'; + |