fog 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/Gemfile +1 -1
  2. data/Gemfile.lock +4 -4
  3. data/benchs/fog_vs.rb +8 -37
  4. data/fog.gemspec +6 -12
  5. data/lib/fog.rb +1 -1
  6. data/lib/fog/aws/requests/ec2/delete_key_pair.rb +4 -3
  7. data/lib/fog/aws/requests/ec2/describe_volumes.rb +2 -2
  8. data/lib/fog/aws/s3.rb +8 -4
  9. data/lib/fog/rackspace/models/servers/image.rb +5 -0
  10. data/tests/aws/helper.rb +33 -0
  11. data/tests/aws/requests/ec2/address_tests.rb +40 -47
  12. data/tests/aws/requests/ec2/availability_zone_tests.rb +23 -0
  13. data/tests/aws/requests/ec2/key_pair_tests.rb +44 -0
  14. data/tests/aws/requests/ec2/region_tests.rb +22 -0
  15. data/tests/aws/requests/ec2/security_group_tests.rb +112 -0
  16. data/tests/aws/requests/ec2/snapshot_tests.rb +14 -21
  17. data/tests/aws/requests/ec2/volume_tests.rb +26 -40
  18. data/tests/helper.rb +50 -35
  19. data/tests/rackspace/helper.rb +2 -0
  20. data/tests/rackspace/requests/servers/create_image_tests.rb +11 -13
  21. data/tests/rackspace/requests/servers/create_server_tests.rb +9 -11
  22. data/tests/rackspace/requests/servers/delete_image_tests.rb +9 -15
  23. data/tests/rackspace/requests/servers/delete_server_tests.rb +6 -10
  24. data/tests/rackspace/requests/servers/get_flavor_details_tests.rb +4 -10
  25. data/tests/rackspace/requests/servers/get_image_details_tests.rb +4 -10
  26. data/tests/rackspace/requests/servers/get_server_details_tests.rb +7 -14
  27. data/tests/rackspace/requests/servers/list_addresses_tests.rb +7 -14
  28. data/tests/rackspace/requests/servers/list_flavors_detail_tests.rb +2 -6
  29. data/tests/rackspace/requests/servers/list_flavors_tests.rb +2 -6
  30. data/tests/rackspace/requests/servers/list_images_detail_tests.rb +2 -6
  31. data/tests/rackspace/requests/servers/list_images_tests.rb +2 -6
  32. data/tests/rackspace/requests/servers/list_private_addresses_tests.rb +7 -14
  33. data/tests/rackspace/requests/servers/list_public_addresses_tests.rb +7 -14
  34. data/tests/rackspace/requests/servers/list_servers_detail_tests.rb +5 -10
  35. data/tests/rackspace/requests/servers/list_servers_tests.rb +5 -10
  36. data/tests/rackspace/requests/servers/reboot_server_tests.rb +11 -19
  37. data/tests/rackspace/requests/servers/update_server_tests.rb +7 -14
  38. data/tests/slicehost/requests/create_slice_tests.rb +6 -11
  39. data/tests/slicehost/requests/delete_slice_tests.rb +4 -9
  40. data/tests/slicehost/requests/get_backups_tests.rb +2 -6
  41. data/tests/slicehost/requests/get_flavor_tests.rb +4 -10
  42. data/tests/slicehost/requests/get_flavors_tests.rb +2 -6
  43. data/tests/slicehost/requests/get_image_tests.rb +4 -10
  44. data/tests/slicehost/requests/get_images_tests.rb +2 -6
  45. data/tests/slicehost/requests/get_slice_tests.rb +7 -15
  46. data/tests/slicehost/requests/get_slices_tests.rb +2 -6
  47. data/tests/slicehost/requests/reboot_slice_tests.rb +8 -16
  48. metadata +7 -13
  49. data/spec/aws/requests/ec2/authorize_security_group_ingress_spec.rb +0 -36
  50. data/spec/aws/requests/ec2/create_key_pair_spec.rb +0 -36
  51. data/spec/aws/requests/ec2/create_security_group_spec.rb +0 -34
  52. data/spec/aws/requests/ec2/delete_key_pair_spec.rb +0 -21
  53. data/spec/aws/requests/ec2/delete_security_group_spec.rb +0 -26
  54. data/spec/aws/requests/ec2/describe_availability_zones_spec.rb +0 -23
  55. data/spec/aws/requests/ec2/describe_key_pairs_spec.rb +0 -42
  56. data/spec/aws/requests/ec2/describe_regions_spec.rb +0 -21
  57. data/spec/aws/requests/ec2/describe_security_groups_spec.rb +0 -51
  58. data/spec/aws/requests/ec2/revoke_security_group_ingress_spec.rb +0 -32
@@ -1,28 +1,22 @@
1
1
  Shindo.tests('Rackspace::Servers#delete_image', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'fogdeleteimage').body['server']['id']
6
- @image_id = Rackspace[:servers].create_image(@server_id).body['image']['id']
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foggetserverdetails')
5
+ @server.wait_for { ready? }
6
+ @image = Rackspace[:servers].images.create(:server_id => @server.id)
7
+ @image.wait_for { ready? }
8
8
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
9
+ tests("#delete_image(#{@image.identity})").succeeds do
10
+ Rackspace[:servers].delete_image(@image.identity)
12
11
  end
13
12
 
14
- test('has proper output format') do
15
- Fog.wait_for { Rackspace[:servers].get_image_details(@image_id).body['image']['status'] == 'ACTIVE' }
16
- Rackspace[:servers].delete_image(@image_id)
17
- end
13
+ @server.destroy
18
14
 
19
15
  end
20
16
  tests('failure') do
21
17
 
22
- test('raises NotFound error if image does not exist') do
23
- has_error(Excon::Errors::NotFound) do
24
- Rackspace[:servers].delete_image(0)
25
- end
18
+ tests('#delete_image(0)').raises(Excon::Errors::BadRequest) do
19
+ Rackspace[:servers].delete_image(0)
26
20
  end
27
21
 
28
22
  end
@@ -1,22 +1,18 @@
1
1
  Shindo.tests('Rackspace::Servers#delete_server', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'fogdeleteserver').body['server']['id']
6
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foggetserverdetails')
5
+ @server.wait_for { ready? }
7
6
 
8
- test('has proper output format') do
9
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
10
- Rackspace[:servers].delete_server(@server_id)
7
+ tests("#delete_server(#{@server.id})").succeeds do
8
+ Rackspace[:servers].delete_server(@server.id)
11
9
  end
12
10
 
13
11
  end
14
12
  tests('failure') do
15
13
 
16
- test('raises NotFound error if server does not exist') do
17
- has_error(Excon::Errors::NotFound) do
18
- Rackspace[:servers].delete_server(0)
19
- end
14
+ tests('#delete_server(0)').raises(Excon::Errors::NotFound) do
15
+ Rackspace[:servers].delete_server(0)
20
16
  end
21
17
 
22
18
  end
@@ -1,21 +1,15 @@
1
1
  Shindo.tests('Rackspace::Servers#get_flavor_details', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].get_flavor_details(1).body['flavor']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, Rackspace::Servers::Formats::FLAVOR)
4
+ tests('#get_flavor_details(1)').formats(Rackspace::Servers::Formats::FLAVOR) do
5
+ Rackspace[:servers].get_flavor_details(1).body['flavor']
10
6
  end
11
7
 
12
8
  end
13
9
  tests('failure') do
14
10
 
15
- test('raises NotFound error if flavor does not exist') do
16
- has_error(Excon::Errors::NotFound) do
17
- Rackspace[:servers].get_flavor_details(0)
18
- end
11
+ tests('#get_flavor_details(0)').raises(Excon::Errors::NotFound) do
12
+ Rackspace[:servers].get_flavor_details(0)
19
13
  end
20
14
 
21
15
  end
@@ -1,21 +1,15 @@
1
1
  Shindo.tests('Rackspace::Servers#get_image_details', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].get_image_details(3).body['image']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, Rackspace::Servers::Formats::IMAGE)
4
+ tests('#get_image_details(19)').formats(Rackspace::Servers::Formats::IMAGE.reject {|key, value| ['progress', 'serverId'].include?(key)}) do
5
+ Rackspace[:servers].get_image_details(19).body['image']
10
6
  end
11
7
 
12
8
  end
13
9
  tests('failure') do
14
10
 
15
- test('raises NotFound error if image does not exist') do
16
- has_error(Excon::Errors::NotFound) do
17
- Rackspace[:servers].get_image_details(0)
18
- end
11
+ tests('#get_image_details(0)').raises(Excon::Errors::NotFound) do
12
+ Rackspace[:servers].get_image_details(0)
19
13
  end
20
14
 
21
15
  end
@@ -1,27 +1,20 @@
1
1
  Shindo.tests('Rackspace::Servers#get_server_details', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foggetserverdetails').body['server']['id']
6
- @data = Rackspace[:servers].get_server_details(@server_id).body['server']
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foggetserverdetails')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests("#get_server_details(#{@server.id})").formats(Rackspace::Servers::Formats::SERVER) do
7
+ Rackspace[:servers].get_server_details(@server.id).body['server']
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, Rackspace::Servers::Formats::SERVER)
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  tests('failure') do
20
15
 
21
- test('raises NotFound error if server does not exist') do
22
- has_error(Excon::Errors::NotFound) do
23
- Rackspace[:servers].get_server_details(0)
24
- end
16
+ tests('#get_server_details(0)').raises(Excon::Errors::NotFound) do
17
+ Rackspace[:servers].get_server_details(0)
25
18
  end
26
19
 
27
20
  end
@@ -1,27 +1,20 @@
1
1
  Shindo.tests('Rackspace::Servers#list_addresses', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foglistaddresses').body['server']['id']
6
- @data = Rackspace[:servers].list_addresses(@server_id).body
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistaddresses')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests("#list_addresses(#{@server.id})").formats({'addresses' => {'private' => [String], 'public' => [String]}}) do
7
+ Rackspace[:servers].list_addresses(@server.id).body
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, {'private' => [String], 'public' => [String]})
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  tests('failure') do
20
15
 
21
- test('raises NotFound error if server does not exist') do
22
- has_error(Excon::Errors::NotFound) do
23
- Rackspace[:servers].list_addresses(0)
24
- end
16
+ tests('#list_addresses(0)').raises(Excon::Errors::NotFound) do
17
+ Rackspace[:servers].list_addresses(0)
25
18
  end
26
19
 
27
20
  end
@@ -1,12 +1,8 @@
1
1
  Shindo.tests('Rackspace::Servers#list_flavors_detail', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].list_flavors_detail.body['flavors']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, [Rackspace::Servers::Formats::FLAVOR])
4
+ tests('#list_flavors_detail').formats({'flavors' => [Rackspace::Servers::Formats::FLAVOR]}) do
5
+ Rackspace[:servers].list_flavors_detail.body
10
6
  end
11
7
 
12
8
  end
@@ -1,12 +1,8 @@
1
1
  Shindo.tests('Rackspace::Servers#list_flavors', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].list_flavors.body['flavors']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, Rackspace::Servers::Formats::SUMMARY)
4
+ tests('#list_flavors').formats({'flavors' => [Rackspace::Servers::Formats::SUMMARY]}) do
5
+ Rackspace[:servers].list_flavors.body
10
6
  end
11
7
 
12
8
  end
@@ -1,12 +1,8 @@
1
1
  Shindo.tests('Rackspace::Servers#list_images_detail', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].list_images_detail.body['images']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, Rackspace::Servers::Formats::IMAGE)
4
+ tests('#list_images_detail').formats({'images' => [Rackspace::Servers::Formats::IMAGE]})
5
+ Rackspace[:servers].list_images_detail.body
10
6
  end
11
7
 
12
8
  end
@@ -1,12 +1,8 @@
1
1
  Shindo.tests('Rackspace::Servers#list_images', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @data = Rackspace[:servers].list_images.body['images']
6
- end
7
-
8
- test('has proper output format') do
9
- has_format(@data, Rackspace::Servers::Formats::SUMMARY)
4
+ tests('#list_images').formats({'images' => [Rackspace::Servers::Formats::SUMMARY]}) do
5
+ Rackspace[:servers].list_images.body
10
6
  end
11
7
 
12
8
  end
@@ -1,27 +1,20 @@
1
1
  Shindo.tests('Rackspace::Servers#list_private_addresses', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foglistprivateaddresses').body['server']['id']
6
- @data = Rackspace[:servers].list_private_addresses(@server_id).body
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistprivateaddresses')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests("#list_private_addresses(#{@server.id})").formats({'private' => [String]}) do
7
+ Rackspace[:servers].list_private_addresses(@server.id).body
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, [String])
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  tests('failure') do
20
15
 
21
- test('raises NotFound error if server does not exist') do
22
- has_error(Excon::Errors::NotFound) do
23
- Rackspace[:servers].list_private_addresses(0)
24
- end
16
+ tests('#list_private_addresses(0)').raises(Excon::Errors::NotFound) do
17
+ Rackspace[:servers].list_private_addresses(0)
25
18
  end
26
19
 
27
20
  end
@@ -1,27 +1,20 @@
1
1
  Shindo.tests('Rackspace::Servers#list_public_addresses', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foglistpublicaddresses').body['server']['id']
6
- @data = Rackspace[:servers].list_public_addresses(@server_id).body
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistpublicaddresses')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests("#list_public_addresses(#{@server.id})").formats({'public' => [String]}) do
7
+ Rackspace[:servers].list_public_addresses(@server.id).body
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, [String])
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  tests('failure') do
20
15
 
21
- test('raises NotFound error if server does not exist') do
22
- has_error(Excon::Errors::NotFound) do
23
- Rackspace[:servers].list_public_addresses(0)
24
- end
16
+ tests('#list_public_addresses(0)').raises(Excon::Errors::NotFound) do
17
+ Rackspace[:servers].list_public_addresses(0)
25
18
  end
26
19
 
27
20
  end
@@ -1,19 +1,14 @@
1
1
  Shindo.tests('Rackspace::Servers#list_servers_detail', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foglistserversdetail').body['server']['id']
6
- @data = Rackspace[:servers].list_servers_detail.body['servers']
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistserversdetail')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests('#list_servers_detail').formats({'servers' => [Rackspace::Servers::Formats::SERVER]}) do
7
+ Rackspace[:servers].list_servers_detail.body
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, Rackspace::Servers::Formats::SERVER)
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  end
@@ -1,19 +1,14 @@
1
1
  Shindo.tests('Rackspace::Servers#list_servers', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'foglistservers').body['server']['id']
6
- @data = Rackspace[:servers].list_servers.body['servers']
7
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'foglistservers')
8
5
 
9
- after do
10
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
11
- Rackspace[:servers].delete_server(@server_id)
6
+ tests('#list_servers').formats({'servers' => [Rackspace::Servers::Formats::SUMMARY]}) do
7
+ Rackspace[:servers].list_servers.body
12
8
  end
13
9
 
14
- test('has proper output format') do
15
- has_format(@data, Rackspace::Servers::Formats::SUMMARY)
16
- end
10
+ @server.wait_for { ready? }
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  end
@@ -1,36 +1,28 @@
1
1
  Shindo.tests('Rackspace::Servers#reboot_server', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'fogrebootserver')
5
+
4
6
  before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'fogrebootserver').body['server']['id']
7
+ @server.wait_for { ready? }
6
8
  end
7
9
 
8
- after do
9
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
10
- Rackspace[:servers].delete_server(@server_id)
10
+ tests("#reboot_server(#{@server.id}, 'HARD')").succeeds do
11
+ Rackspace[:servers].reboot_server(@server.id, 'HARD')
11
12
  end
12
13
 
13
- tests('HARD') do
14
- test('has proper output format') do
15
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
16
- Rackspace[:servers].reboot_server(@server_id, 'HARD')
17
- end
14
+ tests("#reboot_server(#{@server.id}, 'SOFT')").succeeds do
15
+ Rackspace[:servers].reboot_server(@server.id, 'SOFT')
18
16
  end
19
17
 
20
- tests('SOFT') do
21
- test('has proper output format') do
22
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
23
- Rackspace[:servers].reboot_server(@server_id, 'SOFT')
24
- end
25
- end
18
+ @server.wait_for { ready? }
19
+ @server.destroy
26
20
 
27
21
  end
28
22
  tests('failure') do
29
23
 
30
- test('raises NotFound error if server does not exist') do
31
- has_error(Excon::Errors::NotFound) do
32
- Rackspace[:servers].reboot_server(0)
33
- end
24
+ tests('#reboot_server(0)').raises(Excon::Errors::NotFound) do
25
+ Rackspace[:servers].reboot_server(0)
34
26
  end
35
27
 
36
28
  end
@@ -1,27 +1,20 @@
1
1
  Shindo.tests('Rackspace::Servers#update_server', 'rackspace') do
2
2
  tests('success') do
3
3
 
4
- before do
5
- @server_id = Rackspace[:servers].create_server(1, 3, 'fogupdateserver').body['server']['id']
6
- Fog.wait_for { Rackspace[:servers].get_server_details(@server_id).body['server']['status'] == 'ACTIVE' }
7
- @data = Rackspace[:servers].update_server(@server_id, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')
8
- end
4
+ @server = Rackspace[:servers].servers.create(:flavor_id => 1, :image_id => 19, :name => 'fogupdateserver')
5
+ @server.wait_for { ready? }
9
6
 
10
- after do
11
- Rackspace[:servers].delete_server(@server_id)
7
+ tests("#update_server(#{@server.id}, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')").succeeds do
8
+ Rackspace[:servers].update_server(@server.id, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')
12
9
  end
13
10
 
14
- test('has proper output format') do
15
- has_format(@data, {'name' => String, 'adminPass' => String})
16
- end
11
+ @server.destroy
17
12
 
18
13
  end
19
14
  tests('failure') do
20
15
 
21
- test('raises NotFound error if server does not exist') do
22
- has_error(Excon::Errors::NotFound) do
23
- Rackspace[:servers].update_server(0, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')
24
- end
16
+ tests("#update_server(0, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')").raises(Excon::Errors::NotFound) do
17
+ Rackspace[:servers].update_server(0, :name => 'fogupdatedserver', :adminPass => 'fogupdatedserver')
25
18
  end
26
19
 
27
20
  end