Sha256: 6165b2b2e5cba64429748199e9d3faaa64f8a34e9885a18f0bed2d49913ccec0

Contents?: true

Size: 432 Bytes

Versions: 78

Compression:

Stored size: 432 Bytes

Contents

module Actions
  module Katello
    module Host
      class Reassign < Actions::Base
        def plan(host, content_view_id, environment_id)
          host.content_facet.content_view = ::Katello::ContentView.find(content_view_id)
          host.content_facet.lifecycle_environment = ::Katello::KTEnvironment.find(environment_id)

          plan_action(::Actions::Katello::Host::Update, host)
        end
      end
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
katello-3.12.0.rc1 app/lib/actions/katello/host/reassign.rb
katello-3.10.1 app/lib/actions/katello/host/reassign.rb
katello-3.11.1 app/lib/actions/katello/host/reassign.rb
katello-3.11.0 app/lib/actions/katello/host/reassign.rb
katello-3.11.0.rc2 app/lib/actions/katello/host/reassign.rb
katello-3.11.0.rc1 app/lib/actions/katello/host/reassign.rb
katello-3.10.0 app/lib/actions/katello/host/reassign.rb
katello-3.10.0.rc1.1 app/lib/actions/katello/host/reassign.rb
katello-3.9.1 app/lib/actions/katello/host/reassign.rb
katello-3.10.0.rc1 app/lib/actions/katello/host/reassign.rb
katello-3.9.0 app/lib/actions/katello/host/reassign.rb
katello-3.8.1 app/lib/actions/katello/host/reassign.rb
katello-3.9.0.rc2 app/lib/actions/katello/host/reassign.rb
katello-3.9.0.rc1 app/lib/actions/katello/host/reassign.rb
katello-3.7.1.1 app/lib/actions/katello/host/reassign.rb
katello-3.7.1 app/lib/actions/katello/host/reassign.rb
katello-3.8.0 app/lib/actions/katello/host/reassign.rb
katello-3.8.0.rc3 app/lib/actions/katello/host/reassign.rb
katello-3.8.0.rc2 app/lib/actions/katello/host/reassign.rb
katello-3.7.0 app/lib/actions/katello/host/reassign.rb