Browse Source

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
changes/97/279297/2
Matthew Treinish 3 years ago
parent
commit
a8e4c8322d
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      manifests/server.pp

+ 1
- 1
manifests/server.pp View File

@@ -63,7 +63,7 @@ class subunit2sql::server (
63 63
 
64 64
   cron { 'subunit2sql-prune':
65 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 67
     minute      => $expire_cron_minute,
68 68
     hour        => $expire_cron_hour,
69 69
     weekday     => $expire_cron_weekday,

Loading…
Cancel
Save