Sha256: 6906cdc09dc215bd92633d49126cea5622951b8cfb8862e9ac27033db2e29309
Contents?: true
Size: 568 Bytes
Versions: 71
Compression:
Stored size: 568 Bytes
Contents
module Actions module Katello module Product class RepositoriesGpgReset < Actions::AbstractAsyncTask def plan(product) key_id = product.gpg_key_id # Plan Repository::Update only for repositories which have different gpg key product.repositories.each do |repo| if repo.gpg_key_id != key_id plan_action(::Actions::Katello::Repository::Update, repo, :gpg_key_id => key_id) end end end end end end end
Version data entries
71 entries across 71 versions & 1 rubygems