Sha256: 44a2d5c76785078b4a54cd017e1f2712f3ca55bdda44078c4bee5d68f3cf77bf

Contents?: true

Size: 659 Bytes

Versions: 13

Compression:

Stored size: 659 Bytes

Contents

module Actions
  module Katello
    module Host
      class Hypervisors < Actions::EntryAction
        def plan(environment, content_view, hypervisor_params)
          sequence do
            hypervisor_results = plan_action(::Actions::Candlepin::Consumer::Hypervisors, hypervisor_params)
            return if hypervisor_results.error

            plan_action(Katello::Host::HypervisorsUpdate, environment, content_view, hypervisor_results.output[:results])

            plan_self(:results => hypervisor_results.output[:results])
          end
        end

        def run
          output[:results] = input[:results]
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
katello-3.1.0.1 app/lib/actions/katello/host/hypervisors.rb
katello-3.1.0 app/lib/actions/katello/host/hypervisors.rb
katello-3.1.0.rc2.1 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.2 app/lib/actions/katello/host/hypervisors.rb
katello-3.1.0.rc1 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.1 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc7 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc5 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc4 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc3 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc2 app/lib/actions/katello/host/hypervisors.rb
katello-3.0.0.rc1 app/lib/actions/katello/host/hypervisors.rb