Sha256: 55bc90f5470b14e6b5cae48301dbff23b4d9db4df3109e2ae85b2c828b1f4731

Contents?: true

Size: 319 Bytes

Versions: 18

Compression:

Stored size: 319 Bytes

Contents

namespace :katello do
  namespace :upgrades do
    namespace '2.4' do
      task :import_subscriptions => ["environment"]  do

        User.current = User.anonymous_api_admin
        puts _("Importing Subscriptions")
        Katello::Subscription.import_all
        Katello::Pool.import_all
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
katello-3.0.2 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.5 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.1 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.4 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.3 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc7 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc5 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.2 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc4 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc3 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc2 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-3.0.0.rc1 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.1 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.0 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.0.rc3 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.0.rc2 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake
katello-2.4.0.rc1 lib/katello/tasks/upgrades/2.4/import_subscriptions.rake