Sha256: 6301568d7189a480d72ee0c6c6cad872c0dbeac35b5bce4967650e30e247e5f4
Contents?: true
Size: 447 Bytes
Versions: 37
Compression:
Stored size: 447 Bytes
Contents
module Actions module Katello module Host class Reassign < Actions::Base def plan(host, content_view_id, environment_id) host.content_facet.assign_single_environment( content_view: ::Katello::ContentView.find(content_view_id), lifecycle_environment: ::Katello::KTEnvironment.find(environment_id) ) host.update_candlepin_associations end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems