Sha256: 54f3440d6c2694cae89251b2bb076d22d24bdc526a0425d5aa3636fa1da4d640
Contents?: true
Size: 852 Bytes
Versions: 111
Compression:
Stored size: 852 Bytes
Contents
module Actions module Candlepin module Product class ContentCreate < Candlepin::Abstract input_format do param :name param :type param :arches param :label param :content_url param :owner param :os_versions end def run output[:response] = ::Katello::Resources::Candlepin::Content. create(input[:owner], name: input[:name], contentUrl: input[:content_url], type: input[:type], arches: input[:arches], label: input[:label], requiredTags: input[:os_versions], metadataExpire: 1, vendor: ::Katello::Provider::CUSTOM) end end end end end
Version data entries
111 entries across 111 versions & 1 rubygems