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.2.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.1.0.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.1.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.1.0.rc2.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.5 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.1.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.4 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.3 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc7 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc5 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc4 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc3 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc2 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-3.0.0.rc1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.1 app/lib/actions/pulp/consumer/content_uninstall.rb
katello-2.4.0 app/lib/actions/pulp/consumer/content_uninstall.rb