Sha256: 4956dbaf78a070b0729b6c401153f747a54a4bdbcc6aa5fac364232ec8e4aac1

Contents?: true

Size: 631 Bytes

Versions: 226

Compression:

Stored size: 631 Bytes

Contents

module Actions
  module Katello
    module ContentViewEnvironment
      class ReassignObjects < Actions::Base
        def plan(content_view_environment, options)
          concurrence do
            content_view_environment.hosts.each do |host|
              plan_action(Host::Reassign, host, options[:system_content_view_id], options[:system_environment_id])
            end

            content_view_environment.activation_keys.each do |key|
              plan_action(ActivationKey::Reassign, key, options[:key_content_view_id], options[:key_environment_id])
            end
          end
        end
      end
    end
  end
end

Version data entries

226 entries across 226 versions & 1 rubygems

Version Path
katello-4.14.2 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.15.0 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.15.0.rc2 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.15.0.rc1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.0 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.0.rc3 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.0.rc2 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.0.rc1.1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.14.0.rc1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.13.1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.13.0 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.12.1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.13.0.rc1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.12.0 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.12.0.rc3 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.12.0.rc2 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.12.0.rc1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.11.1 app/lib/actions/katello/content_view_environment/reassign_objects.rb
katello-4.11.0 app/lib/actions/katello/content_view_environment/reassign_objects.rb