Sha256: 4847e06716613d459abf1ee0fb310e8463b0ba8cc351316b98262bbc7913837d

Contents?: true

Size: 276 Bytes

Versions: 72

Compression:

Stored size: 276 Bytes

Contents

def test
  connection = Fog::Compute.new({ :provider => "Google" })

  server = connection.servers.bootstrap
  server.wait_for { sshable? }

  raise "Could not bootstrap sshable server." unless server.ssh("whoami")
  raise "Could not delete server." unless server.destroy
end

Version data entries

72 entries across 70 versions & 7 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/examples/bootstrap.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/examples/bootstrap.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/examples/bootstrap.rb
fog-google-0.1.3 examples/bootstrap.rb
fog-google-0.1.2 examples/bootstrap.rb
fog-google-0.1.1 examples/bootstrap.rb
fog-google-0.1.0 examples/bootstrap.rb
fog-google-0.0.9 examples/bootstrap.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-google-0.0.7/examples/bootstrap.rb
fog-google-0.0.7 examples/bootstrap.rb
fog-google-0.0.6 examples/bootstrap.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/google/examples/bootstrap.rb
fog-google-0.0.5 examples/bootstrap.rb
fog-google-0.0.4 examples/bootstrap.rb
fog-google-0.0.3 examples/bootstrap.rb
fog-google-0.0.2 examples/bootstrap.rb
fog-1.29.0 lib/fog/google/examples/bootstrap.rb
fog-1.28.0 lib/fog/google/examples/bootstrap.rb
fog-1.27.0 lib/fog/google/examples/bootstrap.rb
fog-1.26.0 lib/fog/google/examples/bootstrap.rb