Sha256: 680057f3e1cf404ddff746e5c27b98633c7a3a077a77c1840d5c380c42e02503

Contents?: true

Size: 640 Bytes

Versions: 46

Compression:

Stored size: 640 Bytes

Contents

module Katello
  module Pulp
    class PuppetModule < PulpContentUnit
      include LazyAccessor

      CONTENT_TYPE = "puppet_module".freeze

      lazy_accessor :pulp_facts, :initializer => :backend_data

      lazy_accessor :_storage_path, :tag_list, :description, :license,
                    :_ns, :project_page, :source, :dependencies,
                    :_content_type_id, :checksums, :_id, :types,
                    :initializer => :pulp_facts

      def update_model(model)
        custom_json = backend_data.slice('name', 'author', 'title', 'version', 'summary')
        model.update!(custom_json)
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
katello-3.18.1 app/services/katello/pulp/puppet_module.rb
katello-3.18.0 app/services/katello/pulp/puppet_module.rb
katello-3.17.1 app/services/katello/pulp/puppet_module.rb
katello-3.16.2 app/services/katello/pulp/puppet_module.rb
katello-3.18.0.rc2.1 app/services/katello/pulp/puppet_module.rb
katello-3.18.0.rc2 app/services/katello/pulp/puppet_module.rb
katello-3.17.0 app/services/katello/pulp/puppet_module.rb
katello-3.18.0.rc1 app/services/katello/pulp/puppet_module.rb
katello-3.17.0.rc2.2 app/services/katello/pulp/puppet_module.rb
katello-3.17.0.rc2.1 app/services/katello/pulp/puppet_module.rb
katello-3.16.1.2 app/services/katello/pulp/puppet_module.rb
katello-3.16.1.1 app/services/katello/pulp/puppet_module.rb
katello-3.17.0.rc2 app/services/katello/pulp/puppet_module.rb
katello-3.16.1 app/services/katello/pulp/puppet_module.rb
katello-3.17.0.rc1 app/services/katello/pulp/puppet_module.rb
katello-3.16.0 app/services/katello/pulp/puppet_module.rb
katello-3.16.0.rc5.1 app/services/katello/pulp/puppet_module.rb
katello-3.16.0.rc5 app/services/katello/pulp/puppet_module.rb
katello-3.16.0.rc4.1 app/services/katello/pulp/puppet_module.rb
katello-3.16.0.rc4 app/services/katello/pulp/puppet_module.rb