Sha256: 24dd5426eff9157fa2f19a696b530ae45834795aa87c6bc6ce325c8a78f005e6
Contents?: true
Size: 1.17 KB
Versions: 4
Compression:
Stored size: 1.17 KB
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) repository_creation = options.fetch(:repository_creation, false) source_repository = options.fetch(:source_repository, nil) source_repository ||= repository.target_repository if repository.link? if repository_creation matching_content = false else matching_content = options.fetch(:matching_content, false) end plan_pulp_action([Pulp::Repository::DistributorPublish, Pulp3::Orchestration::Repository::GenerateMetadata], repository, SmartProxy.pulp_master, :force => force, :source_repository => source_repository, :matching_content => matching_content, :dependency => dependency, :repository_creation => repository_creation) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems