Sha256: 6932f0af5eb3733071fbfcbd823d9146c0aae258441c6726e24b0e0f999cf645
Contents?: true
Size: 525 Bytes
Versions: 11
Compression:
Stored size: 525 Bytes
Contents
namespace :katello do namespace :upgrades do namespace '2.2' do task :update_metadata_expire => ["environment"] do User.current = User.anonymous_api_admin puts _("Updating Expire Metadata for Custom Content") Katello::Product.find_each do |product| unless product.redhat? product.repositories.each do |repo| ForemanTasks.sync_task(::Actions::Katello::Repository::Update, repo, {}) end end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems