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-3.17.0.rc2.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.1.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.1.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.17.0.rc2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.17.0.rc1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc5.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc5 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc4.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.15.3.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.15.3 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc4 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc3.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.15.2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc3 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc2.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc2 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.15.1.1 app/lib/actions/katello/repository/refresh_repository.rb
katello-3.16.0.rc1.1 app/lib/actions/katello/repository/refresh_repository.rb