diff --git a/definitions/procedures/restore/candlepin_reset_migrations.rb b/definitions/procedures/restore/candlepin_reset_migrations.rb deleted file mode 100644 index bb5582017..000000000 --- a/definitions/procedures/restore/candlepin_reset_migrations.rb +++ /dev/null @@ -1,14 +0,0 @@ -module Procedures::Restore - class CandlepinResetMigrations < ForemanMaintain::Procedure - metadata do - description 'Ensure Candlepin runs all migrations after restoring the database' - confine do - feature(:candlepin_database) - end - end - - def run - FileUtils.rm_f('/var/lib/candlepin/.puppet-candlepin-rpm-version') - end - end -end diff --git a/definitions/scenarios/restore.rb b/definitions/scenarios/restore.rb index f3529d91f..99e2adac5 100644 --- a/definitions/scenarios/restore.rb +++ b/definitions/scenarios/restore.rb @@ -51,10 +51,7 @@ def compose add_step_with_context(Procedures::Restore::ReindexDatabases) end - add_steps_with_context( - Procedures::Pulpcore::Migrate, - Procedures::Restore::CandlepinResetMigrations - ) + add_steps_with_context(Procedures::Pulpcore::Migrate) add_steps_with_context(Procedures::Service::Start, Procedures::Service::DaemonReload)