Sha256: 0edb7ce1795ef0b82da5ec129067a484471d468e124a76b0df1643e942100923
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
module Actions module Pulp3 module Repository class CreatePublisher < Pulp3::Abstract def plan(repository, smart_proxy) plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id) end def run repo = ::Katello::Repository.find(input[:repository_id]) output[:response] = repo.backend_service(smart_proxy).create_publisher end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems