Sha256: aebfd1093eee18951d500a3f297f13e754ad0e573462c3bd9b360e546454ccf5

Contents?: true

Size: 494 Bytes

Versions: 57

Compression:

Stored size: 494 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!(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

57 entries across 57 versions & 1 rubygems

Version Path
katello-4.1.0.rc1 app/lib/actions/katello/gpg_key/update.rb
katello-4.0.0 app/lib/actions/katello/gpg_key/update.rb
katello-4.0.0.rc3.1 app/lib/actions/katello/gpg_key/update.rb
katello-4.0.0.rc3 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.2.1 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.2 app/lib/actions/katello/gpg_key/update.rb
katello-3.17.3 app/lib/actions/katello/gpg_key/update.rb
katello-4.0.0.rc2 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.1.1 app/lib/actions/katello/gpg_key/update.rb
katello-3.17.2 app/lib/actions/katello/gpg_key/update.rb
katello-4.0.0.rc1 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.1 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.0 app/lib/actions/katello/gpg_key/update.rb
katello-3.17.1 app/lib/actions/katello/gpg_key/update.rb
katello-3.16.2 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.0.rc2.1 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.0.rc2 app/lib/actions/katello/gpg_key/update.rb
katello-3.17.0 app/lib/actions/katello/gpg_key/update.rb
katello-3.18.0.rc1 app/lib/actions/katello/gpg_key/update.rb
katello-3.17.0.rc2.2 app/lib/actions/katello/gpg_key/update.rb