summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/manifests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-15 03:16:59 -0700
committerelijah <elijah@riseup.net>2015-04-15 03:16:59 -0700
commit00ff465519e2ac6d6c1b9beddbe5e51937d4825a (patch)
treeb0bfd1a8a6a0e3304079cb5c7ddb91bd77744f0d /puppet/modules/site_webapp/manifests
parent1db40688123b681d2c0cd1d20140cacb2916c396 (diff)
disable 'rake cleanup:sessions' cron job.
Diffstat (limited to 'puppet/modules/site_webapp/manifests')
-rw-r--r--puppet/modules/site_webapp/manifests/cron.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/manifests/cron.pp b/puppet/modules/site_webapp/manifests/cron.pp
index bdf0fb74..d26ee312 100644
--- a/puppet/modules/site_webapp/manifests/cron.pp
+++ b/puppet/modules/site_webapp/manifests/cron.pp
@@ -14,11 +14,14 @@ class site_webapp::cron {
hour => 1,
minute => 1;
+ # there is no longer a need to remove expired sessions, since the database
+ # will get destroyed.
'remove_expired_sessions':
command => 'cd /srv/leap/webapp && bundle exec rake cleanup:sessions',
environment => 'RAILS_ENV=production',
hour => 2,
- minute => 30;
+ minute => 30,
+ ensure => absent;
'remove_expired_tokens':
command => 'cd /srv/leap/webapp && bundle exec rake cleanup:tokens',