Sha256: 7546fc6e2bb156347c85a6fb9f60c1c097c0d5234a7bbe89995461321c74a89f
Contents?: true
Size: 505 Bytes
Versions: 41
Compression:
Stored size: 505 Bytes
Contents
module Actions module Katello module GpgKey class Update < Actions::EntryAction def plan(gpg_key, gpg_key_params) action_subject gpg_key gpg_key.update_attributes!(gpg_key_params) gpg_key.repositories.each do |repository| if repository.content_type == ::Katello::Repository::DEB_TYPE plan_action(::Actions::Katello::Repository::RefreshRepository, repository) end end end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems