Merge "Fix the expirer cron task to run correctly"

This commit is contained in:
Zuul 2017-11-13 22:23:47 +00:00 committed by Gerrit Code Review
commit 78fe1956c2
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ if str2bool(hiera('enable_telemetry', false)) {
-> Exec['ceilo-gnocchi-upgrade']
Cron <| title == 'ceilometer-expirer' |> { command =>
"sleep $((\$(od -A n -t d -N 3 /dev/urandom) % 86400)) && ${::ceilometer::params::expirer_command}" }
"sleep $((\$(od -A n -t d -N 3 /dev/urandom) \\% 86400)) && ${::ceilometer::params::expirer_command}" }
# Aodh
$aodh_dsn = match(hiera('aodh::db::database_connection'), $re_dsn)