Sha256: a1dc32ffa993081ce6db3c4057d6419f73727b6df618e3f376da51a4ee15d212

Contents?: true

Size: 566 Bytes

Versions: 9

Compression:

Stored size: 566 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class BindNodeDistributor < AbstractNodeDistributorTask
        input_format do
          param :consumer_uuid, String
          param :repo_id, String
          param :bind_options, Hash
        end

        def invoke_external_task
          pulp_resources.consumer.bind(input[:consumer_uuid],
                                       input[:repo_id],
                                       distributor['id'],
                                       input[:bind_options])
        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/bind_node_distributor.rb
katello-2.4.4 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.3 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.2 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.1 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.0 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.0.rc3 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.0.rc2 app/lib/actions/pulp/consumer/bind_node_distributor.rb
katello-2.4.0.rc1 app/lib/actions/pulp/consumer/bind_node_distributor.rb