diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-06-20 21:08:47 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-06-20 21:08:47 +0000 |
commit | cc1b4351781daaf90c997b88140a3c5b2b07a677 (patch) | |
tree | f4118569ee075afdb59b0a69799a2e4b500d1fa0 | |
parent | 7e3b83b8a4bfcdeb2c92f4b954e1fc020bb9b3f4 (diff) | |
download | puppet-cc1b4351781daaf90c997b88140a3c5b2b07a677.tar puppet-cc1b4351781daaf90c997b88140a3c5b2b07a677.tar.gz puppet-cc1b4351781daaf90c997b88140a3c5b2b07a677.tar.bz2 puppet-cc1b4351781daaf90c997b88140a3c5b2b07a677.tar.xz puppet-cc1b4351781daaf90c997b88140a3c5b2b07a677.zip |
add cron every 2 hours to update dashboard
-rw-r--r-- | modules/dashboard/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/dashboard/manifests/init.pp b/modules/dashboard/manifests/init.pp index db62714d..1c89b2f7 100644 --- a/modules/dashboard/manifests/init.pp +++ b/modules/dashboard/manifests/init.pp @@ -49,5 +49,11 @@ class dashboard { apache::vhost_base { "dashboard.$domain": location => $dashboard_wwwdir, } + + cron { "update dashboard": + command => "$dashboard_bindir/make_report", + user => $dashboard_login, + hour => "*/2", + } } } |