Sha256: 08c7fa618ab2b64b21814e9ed77ccf57a5542216d787397c64e9967c5b922376
Contents?: true
Size: 488 Bytes
Versions: 16
Compression:
Stored size: 488 Bytes
Contents
require File.expand_path("../engine", File.dirname(__FILE__)) namespace :katello do desc "Runs a Pulp 3 migration of pulp3 hrefs to pulp ids for supported content types." task :pulp3_content_switchover => :environment do ActiveRecord::Base.transaction do switchover_service = Katello::Pulp3::MigrationSwitchover.new(SmartProxy.pulp_master) switchover_service.run end rescue Katello::Pulp3::SwitchoverError => e $stderr.print(e.message) exit 1 end end
Version data entries
16 entries across 16 versions & 1 rubygems