aboutsummaryrefslogtreecommitdiffstats
path: root/modules/dashboard/templates/make_report
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-06-20 19:50:12 +0000
committerNicolas Vigier <boklm@mageia.org>2011-06-20 19:50:12 +0000
commitb5201df147d3aba0801a9ab43657ec418e888104 (patch)
tree9d7db9bd71f4657fca028af4563a0092d2bf289a /modules/dashboard/templates/make_report
parentb2ed0651b97c46b5a6654efc5bb6080a4f8231d9 (diff)
downloadpuppet-b5201df147d3aba0801a9ab43657ec418e888104.tar
puppet-b5201df147d3aba0801a9ab43657ec418e888104.tar.gz
puppet-b5201df147d3aba0801a9ab43657ec418e888104.tar.bz2
puppet-b5201df147d3aba0801a9ab43657ec418e888104.tar.xz
puppet-b5201df147d3aba0801a9ab43657ec418e888104.zip
add script to generate dashboard reports
Diffstat (limited to 'modules/dashboard/templates/make_report')
-rw-r--r--modules/dashboard/templates/make_report8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/dashboard/templates/make_report b/modules/dashboard/templates/make_report
new file mode 100644
index 00000000..25c2f316
--- /dev/null
+++ b/modules/dashboard/templates/make_report
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+dashboard_dir='<%= dashboard_dir %>'
+dashboard_wwwdir='<%= dashboard_wwwdir %>'
+
+cd "$dashboard_dir"
+/usr/bin/php ./make_report.php > "$dashboard_wwwdir/index.html"
+