Sha256: c5b955b9332a90778dbc4bdf9b9b8483c47ceb16a2e64cab184151d2488b4816

Contents?: true

Size: 453 Bytes

Versions: 9

Compression:

Stored size: 453 Bytes

Contents

module Actions
  module Pulp
    module Repository
      class AssociateDistributor < Pulp::Abstract
        input_format do
          param :repo_id
          param :type_id
          param :config
          param :hash
        end

        def run
          output[:response] = ::Katello.pulp_server.extensions.repository.
            associate_distributor(*input.values_at(:repo_id, :type_id, :config, :hash))
        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/repository/associate_distributor.rb
katello-2.4.4 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.3 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.2 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.1 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.0 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.0.rc3 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.0.rc2 app/lib/actions/pulp/repository/associate_distributor.rb
katello-2.4.0.rc1 app/lib/actions/pulp/repository/associate_distributor.rb