Merge "Enable DB purge cron job after database is initialized"

This commit is contained in:
Zuul
2021-12-30 22:40:36 +00:00
committed by Gerrit Code Review
4 changed files with 6 additions and 6 deletions

View File

@@ -90,6 +90,6 @@ class glance::cron::db_purge (
monthday => $monthday,
month => $month,
weekday => $weekday,
require => Anchor['glance::install::end'],
require => Anchor['glance::dbsync::end'],
}
}

View File

@@ -90,6 +90,6 @@ class glance::cron::db_purge_images_table (
monthday => $monthday,
month => $month,
weekday => $weekday,
require => Anchor['glance::install::end'],
require => Anchor['glance::dbsync::end'],
}
}

View File

@@ -27,7 +27,7 @@ describe 'glance::cron::db_purge_images_table' do
:monthday => params[:monthday],
:month => params[:month],
:weekday => params[:weekday],
:require => 'Anchor[glance::install::end]'
:require => 'Anchor[glance::dbsync::end]'
)}
end
@@ -47,7 +47,7 @@ describe 'glance::cron::db_purge_images_table' do
:monthday => params[:monthday],
:month => params[:month],
:weekday => params[:weekday],
:require => 'Anchor[glance::install::end]'
:require => 'Anchor[glance::dbsync::end]'
)}
end
end

View File

@@ -27,7 +27,7 @@ describe 'glance::cron::db_purge' do
:monthday => params[:monthday],
:month => params[:month],
:weekday => params[:weekday],
:require => 'Anchor[glance::install::end]'
:require => 'Anchor[glance::dbsync::end]'
)}
end
@@ -47,7 +47,7 @@ describe 'glance::cron::db_purge' do
:monthday => params[:monthday],
:month => params[:month],
:weekday => params[:weekday],
:require => 'Anchor[glance::install::end]'
:require => 'Anchor[glance::dbsync::end]'
)}
end
end