14
15
16
17
18
19
20
21
22
23
|
# File 'app/lib/actions/pulp3/content_view_version/create_exporter.rb', line 14
def run
cvv = ::Katello::ContentViewVersion.find(input[:content_view_version_id])
repository = ::Katello::Repository.find(input[:repository_id]) unless input[:repository_id].blank?
output[:exporter_data] = ::Katello::Pulp3::ContentViewVersion::Export.create(smart_proxy: smart_proxy,
content_view_version: cvv,
destination_server: input[:destination_server],
format: input[:format],
base_path: input[:base_path],
repository: repository).create_exporter
end
|