aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bugzilla/manifests/init.pp
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-18 23:01:54 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-18 23:01:54 +0200
commit7ea0c2a088a0a84f5b442998a1f0cb5dc889edac (patch)
tree0905f6919f379c1cce443fec2082dd8875989e7f /modules/bugzilla/manifests/init.pp
parent71c1435da7a2ce21a593ab63efe541ffd36fd539 (diff)
downloadpuppet-7ea0c2a088a0a84f5b442998a1f0cb5dc889edac.tar
puppet-7ea0c2a088a0a84f5b442998a1f0cb5dc889edac.tar.gz
puppet-7ea0c2a088a0a84f5b442998a1f0cb5dc889edac.tar.bz2
puppet-7ea0c2a088a0a84f5b442998a1f0cb5dc889edac.tar.xz
puppet-7ea0c2a088a0a84f5b442998a1f0cb5dc889edac.zip
Bugzilla: Add a crontab to execute clean-bug-user-last-visit.pl every day
Diffstat (limited to 'modules/bugzilla/manifests/init.pp')
-rwxr-xr-xmodules/bugzilla/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp
index 373187d7..4d221e2a 100755
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -178,4 +178,11 @@ class bugzilla {
hour => 2,
minute => 30,
}
+
+ cron { 'clean-bug-user-last-visit':
+ command => "$bugzilla_location/clean-bug-user-last-visit.pl",
+ user => 'apache',
+ hour => 22,
+ minute => 0,
+ }
}