Sha256: 8b99061a52d1cea49e6c99b308a6de32cec98e9d748d3fe35a00180d56d39d49

Contents?: true

Size: 717 Bytes

Versions: 85

Compression:

Stored size: 717 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class ContentUninstall < AbstractContentAction
        include Helpers::Presenter
        include Actions::Pulp::ExpectOneTask

        input_format do
          param :consumer_uuid, String
          param :type, %w(rpm package_group)
          param :args, array_of(String)
        end

        def invoke_external_task
          pulp_extensions.consumer.uninstall_content(input[:consumer_uuid],
                                                     input[:type],
                                                     parse_units_for_type)
        end

        def presenter
          Consumer::ContentPresenter.new(self)
        end
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
katello-3.18.5 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.4 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.3.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.3 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.2.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.3 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.1.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-4.0.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.16.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.0.rc2.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.18.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.0.rc2.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.17.0.rc2.1 app/lib/actions/pulp/consumer/content_uninstall.rb