Sha256: dd8dc4d88eb1c75a4d2df7cad4e3fbfd04fcd3defef38fc36d903a296fe78355

Contents?: true

Size: 623 Bytes

Versions: 35

Compression:

Stored size: 623 Bytes

Contents

require 'active_support/json'
require 'securerandom'

module Runcible
  module Models
    # Requires the pulp-katello-plugins
    #  https://github.com/Katello/pulp-katello-plugins
    class YumCloneDistributor < Distributor
      #optional
      attr_accessor 'source_repo_id', 'source_distributor_id', 'destination_distributor_id'

      def initialize(params = {})
        super(params)
      end

      def self.type_id
        'yum_clone_distributor'
      end

      def config
        to_ret = self.as_json
        to_ret.delete('auto_publish')
        to_ret.delete('id')
        to_ret
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
runcible-2.13.1 lib/runcible/models/yum_clone_distributor.rb
runcible-2.13.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.12.1 lib/runcible/models/yum_clone_distributor.rb
runcible-2.12.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.11.1 lib/runcible/models/yum_clone_distributor.rb
runcible-2.11.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.10.1 lib/runcible/models/yum_clone_distributor.rb
runcible-2.10.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.9.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.8.1 lib/runcible/models/yum_clone_distributor.rb
runcible-2.8.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.7.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.6.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.5.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.4.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.3.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.2.0 lib/runcible/models/yum_clone_distributor.rb
runcible-1.12.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.1.0 lib/runcible/models/yum_clone_distributor.rb
runcible-2.0.1 lib/runcible/models/yum_clone_distributor.rb