Sha256: 229825265dc81fe74473fd7235dde4c5dfc5b2d0665322b2b156546ac4297a4d

Contents?: true

Size: 341 Bytes

Versions: 12

Compression:

Stored size: 341 Bytes

Contents

module VagrantPlugins
  module G5K
    module Action
      class WaitInstance
        def initialize(app, env)
          @app = app
        end

        def call(env)
          job_id = env[:machine].id
          conn = env[:g5k_connection]
          conn.wait_for_vm(job_id)
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vagrant-g5k-0.9.9 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.8 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.7 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.6 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.5 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.4 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.3 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.2 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.1 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.9.0 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.0.18 lib/vagrant-g5k/action/wait_instance.rb
vagrant-g5k-0.0.17 lib/vagrant-g5k/action/wait_instance.rb