Enable aodh-expirer cron job after database is initialized
The aodh-expirer command expects the target database is already initialized. This change ensures db sync is completed before cron job is enabled. Closes-Bug #1955829 Change-Id: Ieff011ca2bd415d25df227fb7287c0878ec72220
This commit is contained in:
parent
16b730bd76
commit
0f02d2408a
@ -79,7 +79,7 @@ class aodh::expirer (
|
||||
monthday => $monthday,
|
||||
month => $month,
|
||||
weekday => $weekday,
|
||||
require => Anchor['aodh::install::end'],
|
||||
require => Anchor['aodh::dbsync::end'],
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ describe 'aodh::expirer' do
|
||||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*',
|
||||
:require => 'Anchor[aodh::install::end]'
|
||||
:require => 'Anchor[aodh::dbsync::end]'
|
||||
)}
|
||||
end
|
||||
|
||||
@ -64,7 +64,7 @@ describe 'aodh::expirer' do
|
||||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*',
|
||||
:require => 'Anchor[aodh::install::end]'
|
||||
:require => 'Anchor[aodh::dbsync::end]'
|
||||
)}
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user