vagrant-aws 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. data/.gitignore +11 -2
  2. data/CHANGELOG.md +3 -0
  3. data/Gemfile +8 -2
  4. data/LICENSE +8 -0
  5. data/README.md +192 -65
  6. data/Rakefile +18 -7
  7. data/dummy.box +0 -0
  8. data/example_box/README.md +13 -0
  9. data/example_box/metadata.json +3 -0
  10. data/lib/vagrant-aws.rb +17 -13
  11. data/lib/vagrant-aws/action.rb +107 -0
  12. data/lib/vagrant-aws/action/connect_aws.rb +38 -0
  13. data/lib/vagrant-aws/action/is_created.rb +18 -0
  14. data/lib/vagrant-aws/action/message_already_created.rb +16 -0
  15. data/lib/vagrant-aws/action/message_not_created.rb +16 -0
  16. data/lib/vagrant-aws/action/read_ssh_info.rb +47 -0
  17. data/lib/vagrant-aws/action/read_state.rb +38 -0
  18. data/lib/vagrant-aws/action/run_instance.rb +148 -0
  19. data/lib/vagrant-aws/action/sync_folders.rb +57 -0
  20. data/lib/vagrant-aws/action/terminate_instance.rb +26 -0
  21. data/lib/vagrant-aws/action/timed_provision.rb +21 -0
  22. data/lib/vagrant-aws/action/warn_networks.rb +19 -0
  23. data/lib/vagrant-aws/config.rb +253 -38
  24. data/lib/vagrant-aws/errors.rb +15 -25
  25. data/lib/vagrant-aws/plugin.rb +73 -0
  26. data/lib/vagrant-aws/provider.rb +50 -0
  27. data/lib/vagrant-aws/util/timer.rb +17 -0
  28. data/lib/vagrant-aws/version.rb +4 -2
  29. data/locales/en.yml +65 -61
  30. data/spec/vagrant-aws/config_spec.rb +161 -0
  31. data/vagrant-aws.gemspec +54 -25
  32. metadata +79 -86
  33. data/lib/vagrant-aws/action/create.rb +0 -56
  34. data/lib/vagrant-aws/action/create_image.rb +0 -106
  35. data/lib/vagrant-aws/action/create_sshkey.rb +0 -39
  36. data/lib/vagrant-aws/action/deregister_image.rb +0 -27
  37. data/lib/vagrant-aws/action/populate_ssh.rb +0 -41
  38. data/lib/vagrant-aws/action/prepare_provisioners.rb +0 -127
  39. data/lib/vagrant-aws/action/resume.rb +0 -20
  40. data/lib/vagrant-aws/action/suspend.rb +0 -20
  41. data/lib/vagrant-aws/action/terminate.rb +0 -21
  42. data/lib/vagrant-aws/box.rb +0 -20
  43. data/lib/vagrant-aws/box_collection.rb +0 -15
  44. data/lib/vagrant-aws/command.rb +0 -186
  45. data/lib/vagrant-aws/environment.rb +0 -79
  46. data/lib/vagrant-aws/middleware.rb +0 -53
  47. data/lib/vagrant-aws/system.rb +0 -24
  48. data/lib/vagrant-aws/vm.rb +0 -94
  49. data/lib/vagrant_init.rb +0 -4
  50. data/test/test_helper.rb +0 -24
  51. data/test/vagrant-aws/action/create_image_test.rb +0 -63
  52. data/test/vagrant-aws/action/create_ssh_key_test.rb +0 -43
  53. data/test/vagrant-aws/action/create_test.rb +0 -65
  54. data/test/vagrant-aws/action/terminate_test.rb +0 -20
  55. data/test/vagrant-aws/command_test.rb +0 -21
  56. data/test/vagrant-aws/config_test.rb +0 -14
@@ -0,0 +1,17 @@
1
+ module VagrantPlugins
2
+ module AWS
3
+ module Util
4
+ class Timer
5
+ # A basic utility method that times the execution of the given
6
+ # block and returns it.
7
+ def self.time
8
+ start_time = Time.now.to_f
9
+ yield
10
+ end_time = Time.now.to_f
11
+
12
+ end_time - start_time
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -1,3 +1,5 @@
1
- module VagrantAWS
2
- VERSION = "0.0.1"
1
+ module VagrantPlugins
2
+ module AWS
3
+ VERSION = "0.1.0"
4
+ end
3
5
  end
data/locales/en.yml CHANGED
@@ -1,64 +1,68 @@
1
1
  en:
2
- vagrant:
3
- plugins:
4
- aws:
5
- general:
6
- getting_status: "Getting latest environment status..."
7
- errors:
8
- not_yet_supported: This feature is not yet supported in Vagrant AWS.
9
- key_name_not_specified: An AWS key name was not specified. Set `aws.key_name` in Vagrantfile.
10
- private_key_file_not_specified: |-
11
- Private key file was not specified. Set `aws.private_key_file` to
12
- point to key file associated with the specified AWS key name.
13
- ebs_device_required: |-
14
- %{command} requires an EBS-backed instance. Please Amazon AWS documentation for
15
- more information about EBS vs. instance store backed instances.
16
- vm_create_failure: VM creation failed.
17
- commands:
18
- status:
19
- running: |-
20
- The VM is running. To stop this VM, you can run `vagrant aws suspend` to
21
- stop but not destroy this VM (you only pay for the backing EBS volume,
22
- not the hourly EC2 server cost) or `vagrant aws destroy` to destroy
23
- the VM entirely.
24
- stopping: |-
25
- The VM is in the process of stopping (suspending). To resume this VM
26
- after it has completely stopped, simply run `vagrant aws resume`.
27
- stopped: To resume this VM, simply run `vagrant resume`.
28
- pending: The VM is in the process of resuming.
29
- not_created: |-
30
- The environment has not yet been created. Run `vagrant aws resume` to
31
- create the environment.
32
- listing: |-
33
- This environment represents multiple VMs. The VMs are all listed
34
- above with their current state. For more information about a specific
35
- VM, run `vagrant aws status NAME`.
36
- actions:
37
- create:
38
- creating: "Creating VM ..."
39
- created: |-
40
- Created EC2 server %{id}. Waiting for server to become ready
41
- (this may take a few minutes).
42
- available: |-
43
- Server available at %{dns}.
44
- Waiting for SSH to become available. When ready run `vagrant aws ssh_config`
45
- for more detailed connection information.
46
- prepare_provisioners:
47
- chef_not_detected: |-
48
- %{binary} not detected. Bootstrapping %{binary} installation. This may
49
- take a few minutes.
50
- uploading_chef_resources: Uploading chef resources to VM.
51
- create_image:
52
- creating: |-
53
- Creating AWS AMI. This make take a few minutes. The VM will not be available
54
- during this period.
55
- deregister_image:
56
- deregistering:
57
- Deregistering image %{image} with AWS.
58
- create_ssh_key:
59
- created: |-
60
- No key pairs specified. Created AWS key pair named %{name}.
2
+ vagrant_aws:
3
+ already_created: |-
4
+ The machine is already created.
5
+ launching_instance: |-
6
+ Launching an instance with the following settings...
7
+ launch_no_keypair: |-
8
+ Warning! You didn't specify a keypair to launch your instance with.
9
+ This can sometimes result in not being able to access your instance.
10
+ launch_vpc_warning: |-
11
+ Warning! You're launching this instance into a VPC without an
12
+ elastic IP. Please verify you're properly connected to a VPN so
13
+ you can access this machine, otherwise Vagrant will not be able
14
+ to SSH into it.
15
+ not_created: |-
16
+ Instance is not created. Please run `vagrant up` first.
17
+ ready: |-
18
+ Machine is booted and ready for use!
19
+ rsync_folder: |-
20
+ Rsyncing folder: %{hostpath} => %{guestpath}
21
+ terminating: |-
22
+ Terminating the instance...
23
+ waiting_for_ready: |-
24
+ Waiting for instance to become "ready"...
25
+ waiting_for_ssh: |-
26
+ Waiting for SSH to become available...
27
+ warn_networks: |-
28
+ Warning! The AWS provider doesn't support any of the Vagrant
29
+ high-level network configurations (`config.vm.network`). They
30
+ will be silently ignored.
61
31
 
32
+ config:
33
+ access_key_id_required: |-
34
+ An access key ID must be specified via "access_key_id"
35
+ ami_required: |-
36
+ An AMI must be configured via "ami"
37
+ private_key_missing: |-
38
+ The specified private key for AWS could not be found
39
+ region_required: |-
40
+ A region must be specified via "region"
41
+ secret_access_key_required: |-
42
+ A secret access key is required via "secret_access_key"
62
43
 
63
-
64
-
44
+ errors:
45
+ fog_error: |-
46
+ There was an error talking to AWS. The error message is shown
47
+ below:
48
+
49
+ %{message}
50
+ rsync_error: |-
51
+ There was an error when attemping to rsync a share folder.
52
+ Please inspect the error message below for more info.
53
+
54
+ Host path: %{hostpath}
55
+ Guest path: %{guestpath}
56
+ Error: %{stderr}
57
+
58
+ states:
59
+ short_not_created: |-
60
+ not created
61
+ long_not_created: |-
62
+ The EC2 instance is not created. Run `vagrant up` to create it.
63
+
64
+ short_running: |-
65
+ running
66
+ long_running: |-
67
+ The EC2 instance is running. To stop this machine, you can run
68
+ `vagrant halt`. To destroy the machine, you can run `vagrant destroy`.
@@ -0,0 +1,161 @@
1
+ require "vagrant-aws/config"
2
+
3
+ describe VagrantPlugins::AWS::Config do
4
+ let(:instance) { described_class.new }
5
+
6
+ describe "defaults" do
7
+ subject do
8
+ instance.tap do |o|
9
+ o.finalize!
10
+ end
11
+ end
12
+
13
+ its("access_key_id") { should be_nil }
14
+ its("ami") { should be_nil }
15
+ its("availability_zone") { should be_nil }
16
+ its("instance_type") { should == "m1.small" }
17
+ its("keypair_name") { should be_nil }
18
+ its("private_ip_address") { should be_nil }
19
+ its("region") { should == "us-east-1" }
20
+ its("secret_access_key") { should be_nil }
21
+ its("security_groups") { should == [] }
22
+ its("ssh_private_key_path") { should be_nil }
23
+ its("ssh_username") { should be_nil }
24
+ its("subnet_id") { should be_nil }
25
+ its("tags") { should == {} }
26
+ end
27
+
28
+ describe "overriding defaults" do
29
+ # I typically don't meta-program in tests, but this is a very
30
+ # simple boilerplate test, so I cut corners here. It just sets
31
+ # each of these attributes to "foo" in isolation, and reads the value
32
+ # and asserts the proper result comes back out.
33
+ [:access_key_id, :ami, :availability_zone, :instance_type,
34
+ :keypair_name,
35
+ :region, :secret_access_key, :security_groups,
36
+ :ssh_private_key_path, :ssh_username, :subnet_id, :tags].each do |attribute|
37
+
38
+ it "should not default #{attribute} if overridden" do
39
+ instance.send("#{attribute}=".to_sym, "foo")
40
+ instance.finalize!
41
+ instance.send(attribute).should == "foo"
42
+ end
43
+ end
44
+ end
45
+
46
+ describe "region config" do
47
+ let(:config_access_key_id) { "foo" }
48
+ let(:config_ami) { "foo" }
49
+ let(:config_instance_type) { "foo" }
50
+ let(:config_keypair_name) { "foo" }
51
+ let(:config_region) { "foo" }
52
+ let(:config_secret_access_key) { "foo" }
53
+
54
+ def set_test_values(instance)
55
+ instance.access_key_id = config_access_key_id
56
+ instance.ami = config_ami
57
+ instance.instance_type = config_instance_type
58
+ instance.keypair_name = config_keypair_name
59
+ instance.region = config_region
60
+ instance.secret_access_key = config_secret_access_key
61
+ end
62
+
63
+ it "should raise an exception if not finalized" do
64
+ expect { instance.get_region_config("us-east-1") }.
65
+ to raise_error
66
+ end
67
+
68
+ context "with no specific config set" do
69
+ subject do
70
+ # Set the values on the top-level object
71
+ set_test_values(instance)
72
+
73
+ # Finalize so we can get the region config
74
+ instance.finalize!
75
+
76
+ # Get a lower level region
77
+ instance.get_region_config("us-east-1")
78
+ end
79
+
80
+ its("access_key_id") { should == config_access_key_id }
81
+ its("ami") { should == config_ami }
82
+ its("instance_type") { should == config_instance_type }
83
+ its("keypair_name") { should == config_keypair_name }
84
+ its("region") { should == config_region }
85
+ its("secret_access_key") { should == config_secret_access_key }
86
+ end
87
+
88
+ context "with a specific config set" do
89
+ let(:region_name) { "hashi-region" }
90
+
91
+ subject do
92
+ # Set the values on a specific region
93
+ instance.region_config region_name do |config|
94
+ set_test_values(config)
95
+ end
96
+
97
+ # Finalize so we can get the region config
98
+ instance.finalize!
99
+
100
+ # Get the region
101
+ instance.get_region_config(region_name)
102
+ end
103
+
104
+ its("access_key_id") { should == config_access_key_id }
105
+ its("ami") { should == config_ami }
106
+ its("instance_type") { should == config_instance_type }
107
+ its("keypair_name") { should == config_keypair_name }
108
+ its("region") { should == region_name }
109
+ its("secret_access_key") { should == config_secret_access_key }
110
+ end
111
+
112
+ describe "inheritance of parent config" do
113
+ let(:region_name) { "hashi-region" }
114
+
115
+ subject do
116
+ # Set the values on a specific region
117
+ instance.region_config region_name do |config|
118
+ config.ami = "child"
119
+ end
120
+
121
+ # Set some top-level values
122
+ instance.access_key_id = "parent"
123
+ instance.ami = "parent"
124
+
125
+ # Finalize and get the region
126
+ instance.finalize!
127
+ instance.get_region_config(region_name)
128
+ end
129
+
130
+ its("access_key_id") { should == "parent" }
131
+ its("ami") { should == "child" }
132
+ end
133
+
134
+ describe "shortcut configuration" do
135
+ subject do
136
+ # Use the shortcut configuration to set some values
137
+ instance.region_config "us-east-1", :ami => "child"
138
+ instance.finalize!
139
+ instance.get_region_config("us-east-1")
140
+ end
141
+
142
+ its("ami") { should == "child" }
143
+ end
144
+
145
+ describe "merging" do
146
+ let(:first) { described_class.new }
147
+ let(:second) { described_class.new }
148
+
149
+ it "should merge the tags" do
150
+ first.tags["one"] = "one"
151
+ second.tags["two"] = "two"
152
+
153
+ third = first.merge(second)
154
+ third.tags.should == {
155
+ "one" => "one",
156
+ "two" => "two"
157
+ }
158
+ end
159
+ end
160
+ end
161
+ end
data/vagrant-aws.gemspec CHANGED
@@ -1,29 +1,58 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
1
+ $:.unshift File.expand_path("../lib", __FILE__)
3
2
  require "vagrant-aws/version"
4
3
 
5
4
  Gem::Specification.new do |s|
6
- s.name = "vagrant-aws"
7
- s.version = VagrantAWS::VERSION
8
- s.authors = ["Michael Linderman"]
9
- s.email = ["michael.d.linderman@gmail.com"]
10
- s.homepage = ""
11
- s.summary = %q{A vagrant plugin for working with AWS}
12
- s.description = %q{A vagrant plugin for working with AWS}
13
-
14
- s.rubyforge_project = "vagrant-aws"
15
-
16
- s.add_dependency "vagrant", ">= 0.6.0"
17
- s.add_dependency "fog", ">= 0.9.0"
18
- s.add_dependency "archive-tar-minitar", ">= 0.5.2"
19
- s.add_dependency "macaddr", "~> 1.0.0"
20
-
21
- s.add_development_dependency "bundler", ">= 1.0.0"
22
- s.add_development_dependency "contest", "~> 0.1.3"
23
- s.add_development_dependency "mocha", "~> 0.9.8"
24
-
25
- s.files = `git ls-files`.split("\n")
26
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
27
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
28
- s.require_path = "lib"
5
+ s.name = "vagrant-aws"
6
+ s.version = VagrantPlugins::AWS::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = "Mitchell Hashimoto"
9
+ s.email = "mitchell@hashicorp.com"
10
+ s.homepage = "http://www.vagrantup.com"
11
+ s.summary = "Enables Vagrant to manage machines in EC2 and VPC."
12
+ s.description = "Enables Vagrant to manage machines in EC2 and VPC."
13
+
14
+ s.required_rubygems_version = ">= 1.3.6"
15
+ s.rubyforge_project = "vagrant-aws"
16
+
17
+ s.add_runtime_dependency "fog", "~> 1.9.0"
18
+
19
+ s.add_development_dependency "rake"
20
+ s.add_development_dependency "rspec-core", "~> 2.12.2"
21
+ s.add_development_dependency "rspec-expectations", "~> 2.12.1"
22
+ s.add_development_dependency "rspec-mocks", "~> 2.12.1"
23
+
24
+ # The following block of code determines the files that should be included
25
+ # in the gem. It does this by reading all the files in the directory where
26
+ # this gemspec is, and parsing out the ignored files from the gitignore.
27
+ # Note that the entire gitignore(5) syntax is not supported, specifically
28
+ # the "!" syntax, but it should mostly work correctly.
29
+ root_path = File.dirname(__FILE__)
30
+ all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
31
+ all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
32
+ gitignore_path = File.join(root_path, ".gitignore")
33
+ gitignore = File.readlines(gitignore_path)
34
+ gitignore.map! { |line| line.chomp.strip }
35
+ gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
36
+
37
+ unignored_files = all_files.reject do |file|
38
+ # Ignore any directories, the gemspec only cares about files
39
+ next true if File.directory?(file)
40
+
41
+ # Ignore any paths that match anything in the gitignore. We do
42
+ # two tests here:
43
+ #
44
+ # - First, test to see if the entire path matches the gitignore.
45
+ # - Second, match if the basename does, this makes it so that things
46
+ # like '.DS_Store' will match sub-directories too (same behavior
47
+ # as git).
48
+ #
49
+ gitignore.any? do |ignore|
50
+ File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
51
+ File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
52
+ end
53
+ end
54
+
55
+ s.files = unignored_files
56
+ s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
57
+ s.require_path = 'lib'
29
58
  end
metadata CHANGED
@@ -1,137 +1,134 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Michael Linderman
8
+ - Mitchell Hashimoto
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-07-15 00:00:00.000000000 -07:00
13
- default_executable:
12
+ date: 2013-03-14 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- name: vagrant
17
- requirement: &2164900000 !ruby/object:Gem::Requirement
15
+ name: fog
16
+ requirement: !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
- - - ! '>='
19
+ - - ~>
21
20
  - !ruby/object:Gem::Version
22
- version: 0.6.0
21
+ version: 1.9.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2164900000
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.9.0
26
30
  - !ruby/object:Gem::Dependency
27
- name: fog
28
- requirement: &2164899460 !ruby/object:Gem::Requirement
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
29
33
  none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
- version: 0.9.0
34
- type: :runtime
37
+ version: '0'
38
+ type: :development
35
39
  prerelease: false
36
- version_requirements: *2164899460
37
- - !ruby/object:Gem::Dependency
38
- name: archive-tar-minitar
39
- requirement: &2164898900 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
40
41
  none: false
41
42
  requirements:
42
43
  - - ! '>='
43
44
  - !ruby/object:Gem::Version
44
- version: 0.5.2
45
- type: :runtime
46
- prerelease: false
47
- version_requirements: *2164898900
45
+ version: '0'
48
46
  - !ruby/object:Gem::Dependency
49
- name: macaddr
50
- requirement: &2164898440 !ruby/object:Gem::Requirement
47
+ name: rspec-core
48
+ requirement: !ruby/object:Gem::Requirement
51
49
  none: false
52
50
  requirements:
53
51
  - - ~>
54
52
  - !ruby/object:Gem::Version
55
- version: 1.0.0
56
- type: :runtime
53
+ version: 2.12.2
54
+ type: :development
57
55
  prerelease: false
58
- version_requirements: *2164898440
59
- - !ruby/object:Gem::Dependency
60
- name: bundler
61
- requirement: &2164897940 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
62
57
  none: false
63
58
  requirements:
64
- - - ! '>='
59
+ - - ~>
65
60
  - !ruby/object:Gem::Version
66
- version: 1.0.0
67
- type: :development
68
- prerelease: false
69
- version_requirements: *2164897940
61
+ version: 2.12.2
70
62
  - !ruby/object:Gem::Dependency
71
- name: contest
72
- requirement: &2164897460 !ruby/object:Gem::Requirement
63
+ name: rspec-expectations
64
+ requirement: !ruby/object:Gem::Requirement
73
65
  none: false
74
66
  requirements:
75
67
  - - ~>
76
68
  - !ruby/object:Gem::Version
77
- version: 0.1.3
69
+ version: 2.12.1
78
70
  type: :development
79
71
  prerelease: false
80
- version_requirements: *2164897460
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.12.1
81
78
  - !ruby/object:Gem::Dependency
82
- name: mocha
83
- requirement: &2164896980 !ruby/object:Gem::Requirement
79
+ name: rspec-mocks
80
+ requirement: !ruby/object:Gem::Requirement
84
81
  none: false
85
82
  requirements:
86
83
  - - ~>
87
84
  - !ruby/object:Gem::Version
88
- version: 0.9.8
85
+ version: 2.12.1
89
86
  type: :development
90
87
  prerelease: false
91
- version_requirements: *2164896980
92
- description: A vagrant plugin for working with AWS
93
- email:
94
- - michael.d.linderman@gmail.com
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 2.12.1
94
+ description: Enables Vagrant to manage machines in EC2 and VPC.
95
+ email: mitchell@hashicorp.com
95
96
  executables: []
96
97
  extensions: []
97
98
  extra_rdoc_files: []
98
99
  files:
99
- - .gitignore
100
+ - CHANGELOG.md
101
+ - dummy.box
102
+ - example_box/metadata.json
103
+ - example_box/README.md
100
104
  - Gemfile
101
- - README.md
102
- - Rakefile
103
- - lib/vagrant-aws.rb
104
- - lib/vagrant-aws/action/create.rb
105
- - lib/vagrant-aws/action/create_image.rb
106
- - lib/vagrant-aws/action/create_sshkey.rb
107
- - lib/vagrant-aws/action/deregister_image.rb
108
- - lib/vagrant-aws/action/populate_ssh.rb
109
- - lib/vagrant-aws/action/prepare_provisioners.rb
110
- - lib/vagrant-aws/action/resume.rb
111
- - lib/vagrant-aws/action/suspend.rb
112
- - lib/vagrant-aws/action/terminate.rb
113
- - lib/vagrant-aws/box.rb
114
- - lib/vagrant-aws/box_collection.rb
115
- - lib/vagrant-aws/command.rb
105
+ - lib/vagrant-aws/action/connect_aws.rb
106
+ - lib/vagrant-aws/action/is_created.rb
107
+ - lib/vagrant-aws/action/message_already_created.rb
108
+ - lib/vagrant-aws/action/message_not_created.rb
109
+ - lib/vagrant-aws/action/read_ssh_info.rb
110
+ - lib/vagrant-aws/action/read_state.rb
111
+ - lib/vagrant-aws/action/run_instance.rb
112
+ - lib/vagrant-aws/action/sync_folders.rb
113
+ - lib/vagrant-aws/action/terminate_instance.rb
114
+ - lib/vagrant-aws/action/timed_provision.rb
115
+ - lib/vagrant-aws/action/warn_networks.rb
116
+ - lib/vagrant-aws/action.rb
116
117
  - lib/vagrant-aws/config.rb
117
- - lib/vagrant-aws/environment.rb
118
118
  - lib/vagrant-aws/errors.rb
119
- - lib/vagrant-aws/middleware.rb
120
- - lib/vagrant-aws/system.rb
119
+ - lib/vagrant-aws/plugin.rb
120
+ - lib/vagrant-aws/provider.rb
121
+ - lib/vagrant-aws/util/timer.rb
121
122
  - lib/vagrant-aws/version.rb
122
- - lib/vagrant-aws/vm.rb
123
- - lib/vagrant_init.rb
123
+ - lib/vagrant-aws.rb
124
+ - LICENSE
124
125
  - locales/en.yml
125
- - test/test_helper.rb
126
- - test/vagrant-aws/action/create_image_test.rb
127
- - test/vagrant-aws/action/create_ssh_key_test.rb
128
- - test/vagrant-aws/action/create_test.rb
129
- - test/vagrant-aws/action/terminate_test.rb
130
- - test/vagrant-aws/command_test.rb
131
- - test/vagrant-aws/config_test.rb
126
+ - Rakefile
127
+ - README.md
128
+ - spec/vagrant-aws/config_spec.rb
132
129
  - vagrant-aws.gemspec
133
- has_rdoc: true
134
- homepage: ''
130
+ - .gitignore
131
+ homepage: http://www.vagrantup.com
135
132
  licenses: []
136
133
  post_install_message:
137
134
  rdoc_options: []
@@ -143,23 +140,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
143
140
  - - ! '>='
144
141
  - !ruby/object:Gem::Version
145
142
  version: '0'
143
+ segments:
144
+ - 0
145
+ hash: -678205219636091140
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
149
149
  - - ! '>='
150
150
  - !ruby/object:Gem::Version
151
- version: '0'
151
+ version: 1.3.6
152
152
  requirements: []
153
153
  rubyforge_project: vagrant-aws
154
- rubygems_version: 1.6.2
154
+ rubygems_version: 1.8.23
155
155
  signing_key:
156
156
  specification_version: 3
157
- summary: A vagrant plugin for working with AWS
158
- test_files:
159
- - test/test_helper.rb
160
- - test/vagrant-aws/action/create_image_test.rb
161
- - test/vagrant-aws/action/create_ssh_key_test.rb
162
- - test/vagrant-aws/action/create_test.rb
163
- - test/vagrant-aws/action/terminate_test.rb
164
- - test/vagrant-aws/command_test.rb
165
- - test/vagrant-aws/config_test.rb
157
+ summary: Enables Vagrant to manage machines in EC2 and VPC.
158
+ test_files: []