Merge "Fix the expirer cron task to run correctly"
This commit is contained in:
commit
78fe1956c2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue