Sha256: e03f527ba04356e4bfc75cb72c748c047cf5573046b3df4b34ab9ffab307771e

Contents?: true

Size: 691 Bytes

Versions: 69

Compression:

Stored size: 691 Bytes

Contents

module Actions
  module Katello
    module Repository
      class RefreshRepository < Actions::Base
        include Actions::Katello::PulpSelector

        def plan(repo, options = {})
          User.as_anonymous_admin do
            repo = ::Katello::Repository.find(repo.id)
            plan_pulp_action([Actions::Pulp3::Orchestration::Repository::RefreshIfNeeded,
                              Actions::Pulp::Orchestration::Repository::RefreshIfNeeded],
                             repo, SmartProxy.default_capsule!, :dependency => options[:dependency])
            plan_self(:name => repo.name, :dependency => options[:dependency])
          end
        end
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
katello-4.1.4 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.3 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.18.5 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.3 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.2.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.2.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.18.4 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.0 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.1.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.18.3.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.0.rc2.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.0.rc2.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.1.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.18.3 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.0.rc2 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.0.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-4.1.0.rc1.1 app/lib/actions/katello/repository/refresh_repository.rb