Sha256: 1e63f14dbea16b0eba85ed7434d385cccc885152a3ca05ec57dfe44ec39962c3

Contents?: true

Size: 520 Bytes

Versions: 9

Compression:

Stored size: 520 Bytes

Contents

module Actions
  module Katello
    module Repository
      class Clear < Actions::Base
        def plan(repo)
          [Pulp::Repository::RemoveRpm,
           Pulp::Repository::RemoveErrata,
           Pulp::Repository::RemovePackageGroup,
           Pulp::Repository::RemoveDistribution,
           Pulp::Repository::RemoveFile,
           Pulp::Repository::RemovePuppetModule].each do |action_class|
            plan_action(action_class, pulp_id: repo.pulp_id)
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.3.0.rc1.1 app/lib/actions/katello/repository/clear.rb
katello-3.3.0.rc1 app/lib/actions/katello/repository/clear.rb
katello-3.2.1.1 app/lib/actions/katello/repository/clear.rb
katello-3.2.1 app/lib/actions/katello/repository/clear.rb
katello-3.2.0 app/lib/actions/katello/repository/clear.rb
katello-3.2.0.rc3 app/lib/actions/katello/repository/clear.rb
katello-3.2.0.rc2 app/lib/actions/katello/repository/clear.rb
katello-3.2.0.rc1.1 app/lib/actions/katello/repository/clear.rb
katello-3.2.0.rc1 app/lib/actions/katello/repository/clear.rb