Sha256: 68800365457fc688c27ef24c31e6fedd98b5054c4d2e2cc7d74c5a3cddb44815

Contents?: true

Size: 709 Bytes

Versions: 63

Compression:

Stored size: 709 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],
                                                     input[:args])
        end

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

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
katello-3.8.0.rc3 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.8.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.7.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.8.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.7.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.7.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.6.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.6.0.1.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.6.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.6.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.1.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.0.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.5.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.4.5 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.4.4 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.4.2 app/lib/actions/pulp/consumer/content_uninstall.rb