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