summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Treinish <mtreinish@kortar.org>2016-02-11 17:48:38 -0500
committerMatthew Treinish <mtreinish@kortar.org>2016-02-12 14:46:54 -0500
commita8e4c8322d89fae7edf25fc502ed833f8ea682de (patch)
tree28000673f3e11fd8ad0f69ae0e0c0ec5e640e088
parent429e7fe60c109480c16bd598e2e8e9b28b05f3f2 (diff)
Fix the expiration cron job
This commit fixes the incorrect usage of '' in the command for the expiration cron job to use the proper "" instead. This should hopefully fix the cron job so we actually expire old data. Change-Id: I58a640f804313e1e4b80680f0e39b86d76cb29da
Notes
Notes (review): Code-Review+2: Elizabeth K. Joseph <lyz@princessleia.com> Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Workflow+1: Jeremy Stanley <fungi@yuggoth.org> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 12 Feb 2016 21:56:25 +0000 Reviewed-on: https://review.openstack.org/279297 Project: openstack-infra/puppet-subunit2sql Branch: refs/heads/master
-rw-r--r--manifests/server.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index b88c508..bbb165d 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -63,7 +63,7 @@ class subunit2sql::server (
63 63
64 cron { 'subunit2sql-prune': 64 cron { 'subunit2sql-prune':
65 ensure => present, 65 ensure => present,
66 command => 'subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age $expire_age >> /var/log/subunit2sql_migration.log 2>&1 & ', 66 command => "subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age ${expire_age} >> /var/log/subunit2sql_migration.log 2>&1 & ",
67 minute => $expire_cron_minute, 67 minute => $expire_cron_minute,
68 hour => $expire_cron_hour, 68 hour => $expire_cron_hour,
69 weekday => $expire_cron_weekday, 69 weekday => $expire_cron_weekday,