Enable trust flush cron job after database is initialized
The trust flush operation expects the keystone database is already initialized. This change ensures db sync is completed before cron job is enabled. Closes-Bug #1955829 Change-Id: I71380611c0075bd0d5a1dcedca621066559e1e9d
This commit is contained in:
parent
384771791a
commit
258bd8c5e9
|
@ -86,6 +86,6 @@ class keystone::cron::trust_flush (
|
|||
monthday => $monthday,
|
||||
month => $month,
|
||||
weekday => $weekday,
|
||||
require => Anchor['keystone::install::end'],
|
||||
require => Anchor['keystone::dbsync::end'],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ describe 'keystone::cron::trust_flush' do
|
|||
:monthday => '*',
|
||||
:month => '*',
|
||||
:weekday => '*',
|
||||
:require => 'Anchor[keystone::install::end]',
|
||||
:require => 'Anchor[keystone::dbsync::end]',
|
||||
)}
|
||||
end
|
||||
|
||||
|
@ -48,7 +48,7 @@ describe 'keystone::cron::trust_flush' do
|
|||
:monthday => params[:monthday],
|
||||
:month => params[:month],
|
||||
:weekday => params[:weekday],
|
||||
:require => 'Anchor[keystone::install::end]',
|
||||
:require => 'Anchor[keystone::dbsync::end]',
|
||||
)}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue