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
This commit is contained in:
Matthew Treinish 2016-02-11 17:48:38 -05:00
parent 429e7fe60c
commit a8e4c8322d
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class subunit2sql::server (
cron { 'subunit2sql-prune':
ensure => present,
command => 'subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age $expire_age >> /var/log/subunit2sql_migration.log 2>&1 & ',
command => "subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age ${expire_age} >> /var/log/subunit2sql_migration.log 2>&1 & ",
minute => $expire_cron_minute,
hour => $expire_cron_hour,
weekday => $expire_cron_weekday,