Sha256: 1d9b6a43e07f4497498221a62b86ae7ce6a189af2518d006708671c0e26c260f
Contents?: true
Size: 679 Bytes
Versions: 53
Compression:
Stored size: 679 Bytes
Contents
module Actions module Katello module Product class Update < Actions::EntryAction def plan(product, product_params) action_subject product product.update_attributes!(product_params) if product.previous_changes.key?('gpg_key_id') plan_action(::Actions::Katello::Product::RepositoriesGpgReset, product) end if ::SETTINGS[:katello][:use_cp] && product.productContent_changed? plan_action(::Actions::Candlepin::Product::Update, product) end plan_action(::Actions::Pulp::Repos::Update, product) if ::SETTINGS[:katello][:use_pulp] end end end end end
Version data entries
53 entries across 53 versions & 1 rubygems