Sha256: ecd9aab694e92c876d8dd8574f2e30160328887c37c8a581e5b8c2451d6192ba

Contents?: true

Size: 414 Bytes

Versions: 9

Compression:

Stored size: 414 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class ActivateNode < 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.activate_node(input[:uuid], 'mirror')
        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/activate_node.rb
katello-2.4.4 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.3 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.2 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.1 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.0 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.0.rc3 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.0.rc2 app/lib/actions/pulp/consumer/activate_node.rb
katello-2.4.0.rc1 app/lib/actions/pulp/consumer/activate_node.rb