Sha256: 89e364c145a7843ac599bc8badd3040b9dae8426b840587224914b35c67f72ea
Contents?: true
Size: 1009 Bytes
Versions: 28
Compression:
Stored size: 1009 Bytes
Contents
module Actions module Katello module Organization class ManifestImport < Actions::AbstractAsyncTask middleware.use Actions::Middleware::PropagateCandlepinErrors def plan(organization, path, force) action_subject organization manifest_update = organization.products.redhat.any? sequence do plan_action(Candlepin::Owner::Import, :label => organization.label, :path => path, :force => force) plan_action(Candlepin::Owner::ImportProducts, :organization_id => organization.id) if manifest_update && SETTINGS[:katello][:use_pulp] organization.products.redhat.flat_map(&:repositories).each do |repo| plan_action(Katello::Repository::RefreshRepository, repo) end end end end def humanized_name _("Import Manifest") end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems