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