Sha256: ef07587e57076283f873b6e6331907ab3a0a384852c297e70e8a879a659642f6

Contents?: true

Size: 317 Bytes

Versions: 9

Compression:

Stored size: 317 Bytes

Contents

namespace :katello do
  namespace :upgrades do
    namespace '3.3' 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

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.4.5 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.4 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.2 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.1 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.0.2 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.0.1 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.0 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.0.rc2 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake
katello-3.4.0.rc1 lib/katello/tasks/upgrades/3.3/import_subscriptions.rake