Sha256: 0faa30350164bdb211da95b355ca4039f0e1040b0c6d5875af1b7ea5006a62ef

Contents?: true

Size: 408 Bytes

Versions: 9

Compression:

Stored size: 408 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class DeactivateNode < Pulp::Abstract
        input_format do
          param :uuid, String
        end

        def plan(system)
          plan_self(:uuid => system.uuid, :display_name => system.name)
        end

        def run
          ::Katello.pulp_server.extensions.consumer.deactivate_node(input[:uuid])
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.4 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.3 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.2 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.1 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.0 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.0.rc3 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.0.rc2 app/lib/actions/pulp/consumer/deactivate_node.rb
katello-2.4.0.rc1 app/lib/actions/pulp/consumer/deactivate_node.rb