Sha256: cf7766e66a41cb4e00eca449213180d4202f12e07e897f51659611e1323dbf52
Contents?: true
Size: 481 Bytes
Versions: 13
Compression:
Stored size: 481 Bytes
Contents
module Actions module Katello module System class Reassign < Actions::Base def plan(system, content_view_id, environment_id) system.foreman_host.content_facet.content_view = ::Katello::ContentView.find(content_view_id) system.foreman_host.content_facet.lifecycle_environment = ::Katello::KTEnvironment.find(environment_id) plan_action(::Actions::Katello::Host::Update, system.foreman_host) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems