Sha256: 517d82f31938e70e0db515b6a33e05548bff2764d5d1a3076087dc4312ed52a6
Contents?: true
Size: 1017 Bytes
Versions: 41
Compression:
Stored size: 1017 Bytes
Contents
module Actions module Katello module Repository class MetadataGenerate < Actions::Base include Actions::Katello::PulpSelector def plan(repository, options = {}) dependency = options.fetch(:dependency, nil) force = options.fetch(:force, false) source_repository = options.fetch(:source_repository, nil) source_repository ||= repository.target_repository if repository.link? smart_proxy = options.fetch(:smart_proxy, SmartProxy.pulp_primary) matching_content = options.fetch(:matching_content, false) plan_pulp_action([Pulp::Repository::DistributorPublish, Pulp3::Orchestration::Repository::GenerateMetadata], repository, smart_proxy, :force => force, :source_repository => source_repository, :matching_content => matching_content, :dependency => dependency) end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems