Sha256: d5be32779d7fb35f2bad21971467811a446bda6242294516de7ad993a16f53e5
Contents?: true
Size: 636 Bytes
Versions: 14
Compression:
Stored size: 636 Bytes
Contents
namespace :katello do namespace :upgrades do namespace '3.6' do desc "Republish FILE repos with relative paths including organization name" task :republish_file_repos => %w(environment check_ping) do User.current = User.anonymous_admin Katello::Repository.where(:content_type => Katello::Repository::FILE_TYPE).each do |repo| puts "Republishing file repo #{repo.name} (#{repo.id})..." ForemanTasks.sync_task(::Actions::Pulp::Repository::Refresh, repo) ForemanTasks.sync_task(::Actions::Katello::Repository::MetadataGenerate, repo) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems