Sha256: 0965a06851662f924a9bc9a0bcbf00af2d4e11a7b6265c6c36a1dee7f0bfc13f
Contents?: true
Size: 658 Bytes
Versions: 75
Compression:
Stored size: 658 Bytes
Contents
module Actions module Katello module Repository class InstanceUpdate < Actions::EntryAction middleware.use Actions::Middleware::KeepCurrentUser def plan(repository) action_subject repository repository.save! plan_action(::Actions::Pulp3::Orchestration::Repository::RefreshIfNeeded, repository, SmartProxy.pulp_primary) plan_self(:repository_id => repository.id) end def run repository = ::Katello::Repository.find(input[:repository_id]) ForemanTasks.async_task(Katello::Repository::MetadataGenerate, repository) end end end end end
Version data entries
75 entries across 75 versions & 1 rubygems