Sha256: 6f65ca3cb2beb1da50740ead947732909b3b76e05ccc258394d295052882a908
Contents?: true
Size: 526 Bytes
Versions: 80
Compression:
Stored size: 526 Bytes
Contents
module Actions module Pulp3 module Repository class Create < Pulp3::Abstract def plan(repository, smart_proxy, force = false) plan_self(:repository_id => repository.id, :smart_proxy_id => smart_proxy.id, :force => force) end def run repo = ::Katello::Repository.find(input[:repository_id]) force = input[:force] || false output[:response] = repo.backend_service(smart_proxy).with_mirror_adapter.create(force) end end end end end
Version data entries
80 entries across 80 versions & 1 rubygems