Sha256: d3a07aa146bc4e8704a4c77d472c8225283f09b817dedb6ba7439cc7e03358f9
Contents?: true
Size: 722 Bytes
Versions: 28
Compression:
Stored size: 722 Bytes
Contents
module Actions module Katello module Organization class ManifestDelete < Actions::AbstractAsyncTask middleware.use Actions::Middleware::PropagateCandlepinErrors def plan(organization) action_subject(organization) sequence do plan_action(Candlepin::Owner::DestroyImports, label: organization.label) if 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 _("Delete Manifest") end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems