Sha256: db11e4a70bf518a2889c477f189c893b9faad25d9addd5bcc06e490b85456921

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

namespace :katello do
  namespace :upgrades do
    namespace '3.0' do
      task :add_export_distributor => ["environment"]  do
        User.current = User.anonymous_api_admin
        puts _("Refreshing existing repositories to add export distributor")

        Katello::Repository.find_each do |repo|
          ForemanTasks.sync_task(::Actions::Katello::Repository::RefreshRepository, repo)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.1 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc7 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc5 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc4 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc3 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc2 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake
katello-3.0.0.rc1 lib/katello/tasks/upgrades/3.0/add_export_distributor.rake