vagrantup 0.5.2 → 0.5.3
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.
- checksums.yaml +4 -4
- data/.gitignore +10 -0
- data/CHANGELOG.md +48 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +49 -0
- data/README.md +2 -2
- data/Rakefile +22 -0
- data/bin/.gitignore +0 -0
- data/lib/vagrant/provisioners/chef_solo.rb +1 -1
- data/lib/vagrant/util/template_renderer.rb +2 -2
- data/lib/vagrant/version.rb +1 -1
- data/templates/Vagrantfile.erb +1 -1
- data/templates/nfs/exports.erb +4 -2
- data/test/test_helper.rb +128 -0
- data/test/vagrant/action/box/destroy_test.rb +30 -0
- data/test/vagrant/action/box/download_test.rb +141 -0
- data/test/vagrant/action/box/package_test.rb +25 -0
- data/test/vagrant/action/box/unpackage_test.rb +103 -0
- data/test/vagrant/action/box/verify_test.rb +39 -0
- data/test/vagrant/action/builder_test.rb +218 -0
- data/test/vagrant/action/env/error_halt_test.rb +21 -0
- data/test/vagrant/action/env/set_test.rb +24 -0
- data/test/vagrant/action/environment_test.rb +45 -0
- data/test/vagrant/action/exception_catcher_test.rb +30 -0
- data/test/vagrant/action/general/package_test.rb +254 -0
- data/test/vagrant/action/vm/boot_test.rb +83 -0
- data/test/vagrant/action/vm/check_box_test.rb +48 -0
- data/test/vagrant/action/vm/check_guest_additions_test.rb +9 -0
- data/test/vagrant/action/vm/clean_machine_folder_test.rb +82 -0
- data/test/vagrant/action/vm/clear_forwarded_ports_test.rb +72 -0
- data/test/vagrant/action/vm/clear_nfs_exports_test.rb +22 -0
- data/test/vagrant/action/vm/clear_shared_folders_test.rb +49 -0
- data/test/vagrant/action/vm/customize_test.rb +29 -0
- data/test/vagrant/action/vm/destroy_test.rb +26 -0
- data/test/vagrant/action/vm/destroy_unused_network_interfaces_test.rb +46 -0
- data/test/vagrant/action/vm/disable_networks_test.rb +39 -0
- data/test/vagrant/action/vm/discard_state_test.rb +36 -0
- data/test/vagrant/action/vm/export_test.rb +135 -0
- data/test/vagrant/action/vm/forward_ports_helpers_test.rb +70 -0
- data/test/vagrant/action/vm/forward_ports_test.rb +191 -0
- data/test/vagrant/action/vm/halt_test.rb +69 -0
- data/test/vagrant/action/vm/import_test.rb +50 -0
- data/test/vagrant/action/vm/match_mac_address_test.rb +28 -0
- data/test/vagrant/action/vm/network_test.rb +246 -0
- data/test/vagrant/action/vm/nfs_helpers_test.rb +23 -0
- data/test/vagrant/action/vm/nfs_test.rb +269 -0
- data/test/vagrant/action/vm/package_test.rb +25 -0
- data/test/vagrant/action/vm/package_vagrantfile_test.rb +46 -0
- data/test/vagrant/action/vm/persist_test.rb +50 -0
- data/test/vagrant/action/vm/provision_test.rb +134 -0
- data/test/vagrant/action/vm/resume_test.rb +35 -0
- data/test/vagrant/action/vm/share_folders_test.rb +215 -0
- data/test/vagrant/action/vm/suspend_test.rb +35 -0
- data/test/vagrant/action_test.rb +111 -0
- data/test/vagrant/active_list_test.rb +173 -0
- data/test/vagrant/box_test.rb +166 -0
- data/test/vagrant/command_test.rb +53 -0
- data/test/vagrant/commands/base_test.rb +139 -0
- data/test/vagrant/commands/box/add_test.rb +34 -0
- data/test/vagrant/commands/box/list_test.rb +32 -0
- data/test/vagrant/commands/box/remove_test.rb +41 -0
- data/test/vagrant/commands/box/repackage_test.rb +52 -0
- data/test/vagrant/commands/destroy_test.rb +44 -0
- data/test/vagrant/commands/halt_test.rb +50 -0
- data/test/vagrant/commands/init_test.rb +71 -0
- data/test/vagrant/commands/package_test.rb +97 -0
- data/test/vagrant/commands/provision_test.rb +60 -0
- data/test/vagrant/commands/reload_test.rb +47 -0
- data/test/vagrant/commands/resume_test.rb +44 -0
- data/test/vagrant/commands/ssh_config_test.rb +77 -0
- data/test/vagrant/commands/ssh_test.rb +129 -0
- data/test/vagrant/commands/status_test.rb +40 -0
- data/test/vagrant/commands/suspend_test.rb +44 -0
- data/test/vagrant/commands/up_test.rb +49 -0
- data/test/vagrant/config_test.rb +307 -0
- data/test/vagrant/downloaders/base_test.rb +28 -0
- data/test/vagrant/downloaders/file_test.rb +33 -0
- data/test/vagrant/downloaders/http_test.rb +70 -0
- data/test/vagrant/environment_test.rb +770 -0
- data/test/vagrant/hosts/base_test.rb +46 -0
- data/test/vagrant/hosts/bsd_test.rb +56 -0
- data/test/vagrant/hosts/linux_test.rb +56 -0
- data/test/vagrant/provisioners/base_test.rb +36 -0
- data/test/vagrant/provisioners/chef_server_test.rb +182 -0
- data/test/vagrant/provisioners/chef_solo_test.rb +197 -0
- data/test/vagrant/provisioners/chef_test.rb +178 -0
- data/test/vagrant/ssh_session_test.rb +46 -0
- data/test/vagrant/ssh_test.rb +317 -0
- data/test/vagrant/systems/linux_test.rb +179 -0
- data/test/vagrant/util/busy_test.rb +106 -0
- data/test/vagrant/util/plain_logger_test.rb +17 -0
- data/test/vagrant/util/platform_test.rb +18 -0
- data/test/vagrant/util/resource_logger_test.rb +145 -0
- data/test/vagrant/util/stacked_proc_runner_test.rb +43 -0
- data/test/vagrant/util/template_renderer_test.rb +145 -0
- data/test/vagrant/util/translator_test.rb +61 -0
- data/test/vagrant/util_test.rb +27 -0
- data/test/vagrant/vm_test.rb +228 -0
- data/vagrant.gemspec +34 -0
- metadata +130 -9
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
require "test_helper"
|
|
2
|
+
|
|
3
|
+
class TranslatorUtilTest < Test::Unit::TestCase
|
|
4
|
+
include Vagrant::Util
|
|
5
|
+
|
|
6
|
+
setup do
|
|
7
|
+
@klass = Translator
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
context "loading the errors from the YML" do
|
|
11
|
+
setup do
|
|
12
|
+
YAML.stubs(:load_file)
|
|
13
|
+
@klass.reset!
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
should "load the file initially, then never again unless reset" do
|
|
17
|
+
YAML.expects(:load_file).with(File.join(PROJECT_ROOT, "templates", "strings.yml")).once
|
|
18
|
+
@klass.strings
|
|
19
|
+
@klass.strings
|
|
20
|
+
@klass.strings
|
|
21
|
+
@klass.strings
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
should "reload if reset! is called" do
|
|
25
|
+
YAML.expects(:load_file).with(File.join(PROJECT_ROOT, "templates", "strings.yml")).twice
|
|
26
|
+
@klass.strings
|
|
27
|
+
@klass.reset!
|
|
28
|
+
@klass.strings
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
context "getting the string translated" do
|
|
33
|
+
setup do
|
|
34
|
+
@strings = {}
|
|
35
|
+
@strings[:foo] = "foo bar baz"
|
|
36
|
+
@klass.stubs(:strings).returns(@strings)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
should "render the error string" do
|
|
40
|
+
TemplateRenderer.expects(:render_string).with(@strings[:foo], anything).once
|
|
41
|
+
@klass.t(:foo)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
should "pass in any data entries" do
|
|
45
|
+
data = mock("data")
|
|
46
|
+
TemplateRenderer.expects(:render_string).with(@strings[:foo], data).once
|
|
47
|
+
@klass.t(:foo, data)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
should "return the result of the render" do
|
|
51
|
+
result = mock("result")
|
|
52
|
+
TemplateRenderer.expects(:render_string).returns(result)
|
|
53
|
+
assert_equal result, @klass.t(:foo)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
should "return an unknown if the key doesn't exist" do
|
|
57
|
+
result = @klass.t(:unknown)
|
|
58
|
+
assert result =~ /Unknown/i
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
require "test_helper"
|
|
2
|
+
|
|
3
|
+
class UtilTest < Test::Unit::TestCase
|
|
4
|
+
class UtilIncludeTest
|
|
5
|
+
include Vagrant::Util
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
setup do
|
|
9
|
+
@klass = UtilIncludeTest
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
context "with a class" do
|
|
13
|
+
should "have the util methods" do
|
|
14
|
+
assert @klass.respond_to?(:error_and_exit)
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
context "with an instance" do
|
|
19
|
+
setup do
|
|
20
|
+
@instance = @klass.new
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
should "have the util methods" do
|
|
24
|
+
assert @instance.respond_to?(:error_and_exit)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
require "test_helper"
|
|
2
|
+
|
|
3
|
+
class VMTest < Test::Unit::TestCase
|
|
4
|
+
setup do
|
|
5
|
+
@mock_vm = mock("vm")
|
|
6
|
+
|
|
7
|
+
@persisted_vm = mock("persisted_vm")
|
|
8
|
+
|
|
9
|
+
@env = mock_environment
|
|
10
|
+
@env.stubs(:vm).returns(@persisted_vm)
|
|
11
|
+
|
|
12
|
+
Net::SSH.stubs(:start)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
context "finding a VM" do
|
|
16
|
+
should "return return an uncreated VM object if the VM is not found" do
|
|
17
|
+
VirtualBox::VM.expects(:find).returns(nil)
|
|
18
|
+
result = Vagrant::VM.find("foo")
|
|
19
|
+
assert result.is_a?(Vagrant::VM)
|
|
20
|
+
assert !result.created?
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
should "return a Vagrant::VM object for that VM if found" do
|
|
24
|
+
VirtualBox::VM.expects(:find).with("foo").returns("bar")
|
|
25
|
+
result = Vagrant::VM.find("foo", mock_environment)
|
|
26
|
+
assert result.is_a?(Vagrant::VM)
|
|
27
|
+
assert_equal "bar", result.vm
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
context "vagrant VM instance" do
|
|
32
|
+
setup do
|
|
33
|
+
@vm_name = "foo"
|
|
34
|
+
@vm = Vagrant::VM.new(:env => @env, :vm => @mock_vm, :vm_name => @vm_name)
|
|
35
|
+
@mock_vm.stubs(:uuid).returns("foo")
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
context "checking if created" do
|
|
39
|
+
should "return true if the VM object is not nil" do
|
|
40
|
+
@vm.stubs(:vm).returns(:foo)
|
|
41
|
+
assert @vm.created?
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
should "return false if the VM object is nil" do
|
|
45
|
+
@vm.stubs(:vm).returns(nil)
|
|
46
|
+
assert !@vm.created?
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
context "accessing the SSH object" do
|
|
51
|
+
setup do
|
|
52
|
+
# Reset this to nil to force the reload
|
|
53
|
+
@vm.instance_variable_set(:@ssh, nil)
|
|
54
|
+
|
|
55
|
+
@ssh = mock("ssh")
|
|
56
|
+
Vagrant::SSH.stubs(:new).returns(@ssh)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
should "load it the first time" do
|
|
60
|
+
Vagrant::SSH.expects(:new).with(@vm.env).once.returns(@ssh)
|
|
61
|
+
@vm.ssh
|
|
62
|
+
@vm.ssh
|
|
63
|
+
@vm.ssh
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
should "use the same value once its loaded" do
|
|
67
|
+
result = @vm.ssh
|
|
68
|
+
assert_equal result, @vm.ssh
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
context "loading associated system" do
|
|
73
|
+
should "error and exit if system is not specified" do
|
|
74
|
+
@vm.env.config.vm.system = nil
|
|
75
|
+
|
|
76
|
+
@vm.expects(:error_and_exit).with(:system_unspecified).once
|
|
77
|
+
@vm.load_system!
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
context "with a class" do
|
|
81
|
+
class FakeSystemClass
|
|
82
|
+
def initialize(vm); end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
should "initialize class if given" do
|
|
86
|
+
@vm.env.config.vm.system = Vagrant::Systems::Linux
|
|
87
|
+
|
|
88
|
+
@vm.expects(:error_and_exit).never
|
|
89
|
+
@vm.load_system!
|
|
90
|
+
|
|
91
|
+
assert @vm.system.is_a?(Vagrant::Systems::Linux)
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
should "error and exit if class has invalid parent" do
|
|
95
|
+
@vm.env.config.vm.system = FakeSystemClass
|
|
96
|
+
@vm.expects(:error_and_exit).with(:system_invalid_class, :system => @vm.env.config.vm.system.to_s).once
|
|
97
|
+
@vm.load_system!
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
context "with a symbol" do
|
|
102
|
+
should "initialize proper symbols" do
|
|
103
|
+
valid = {
|
|
104
|
+
:linux => Vagrant::Systems::Linux
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
valid.each do |symbol, klass|
|
|
108
|
+
@vm.env.config.vm.system = symbol
|
|
109
|
+
@vm.expects(:error_and_exit).never
|
|
110
|
+
@vm.load_system!
|
|
111
|
+
|
|
112
|
+
assert @vm.system.is_a?(klass)
|
|
113
|
+
assert_equal @vm, @vm.system.vm
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
should "error and exit with invalid symbol" do
|
|
118
|
+
@vm.env.config.vm.system = :shall_never_exist
|
|
119
|
+
@vm.expects(:error_and_exit).with(:system_unknown_type, :system => @vm.env.config.vm.system.to_s).once
|
|
120
|
+
@vm.load_system!
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
context "uuid" do
|
|
126
|
+
should "call UUID on VM object" do
|
|
127
|
+
uuid = mock("uuid")
|
|
128
|
+
@mock_vm.expects(:uuid).once.returns(uuid)
|
|
129
|
+
assert_equal uuid, @vm.uuid
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
should "return nil if vm is nil" do
|
|
133
|
+
@vm.expects(:vm).returns(nil)
|
|
134
|
+
assert @vm.uuid.nil?
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
context "reloading" do
|
|
139
|
+
should "load the same VM and set it" do
|
|
140
|
+
new_vm = mock("vm")
|
|
141
|
+
VirtualBox::VM.expects(:find).with(@mock_vm.uuid).returns(new_vm)
|
|
142
|
+
@vm.reload!
|
|
143
|
+
assert_equal new_vm, @vm.vm
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
context "packaging" do
|
|
148
|
+
should "execute the package action" do
|
|
149
|
+
@vm.env.actions.expects(:run).with(:package, :foo => :bar).once
|
|
150
|
+
@vm.package(:foo => :bar)
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
context "upping" do
|
|
155
|
+
should "execute the up action" do
|
|
156
|
+
@vm.env.actions.expects(:run).with(:up, nil).once
|
|
157
|
+
@vm.up
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
context "halting" do
|
|
162
|
+
should "execute the halt action" do
|
|
163
|
+
@vm.env.actions.expects(:run).with(:halt, :foo => :bar).once
|
|
164
|
+
@vm.halt({:foo => :bar})
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
context "reloading action" do
|
|
169
|
+
should "execute the reload action" do
|
|
170
|
+
@vm.env.actions.expects(:run).with(:reload).once
|
|
171
|
+
@vm.reload
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
context "provisioning" do
|
|
176
|
+
should "execute the provision action" do
|
|
177
|
+
@vm.env.actions.expects(:run).with(:provision).once
|
|
178
|
+
@vm.provision
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
context "destroying" do
|
|
183
|
+
should "execute the destroy action" do
|
|
184
|
+
@vm.env.actions.expects(:run).with(:destroy).once
|
|
185
|
+
@vm.destroy
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
context "suspending" do
|
|
190
|
+
should "execute the suspend action" do
|
|
191
|
+
@vm.env.actions.expects(:run).with(:suspend).once
|
|
192
|
+
@vm.suspend
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
context "resuming" do
|
|
197
|
+
should "execute the resume action" do
|
|
198
|
+
@vm.env.actions.expects(:run).with(:resume).once
|
|
199
|
+
@vm.resume
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
context "starting" do
|
|
204
|
+
setup do
|
|
205
|
+
@mock_vm.stubs(:running?).returns(false)
|
|
206
|
+
@mock_vm.stubs(:saved?).returns(false)
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
should "not do anything if the VM is already running" do
|
|
210
|
+
@mock_vm.stubs(:running?).returns(true)
|
|
211
|
+
@vm.expects(:execute!).never
|
|
212
|
+
@vm.start
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
should "execute the resume action if saved" do
|
|
216
|
+
@mock_vm.expects(:saved?).returns(true)
|
|
217
|
+
@vm.expects(:resume).once
|
|
218
|
+
@vm.env.actions.expects(:run).with(:start).never
|
|
219
|
+
@vm.start
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
should "execute the start action" do
|
|
223
|
+
@vm.env.actions.expects(:run).with(:start).once
|
|
224
|
+
@vm.start
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
end
|
data/vagrant.gemspec
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
require File.expand_path("../lib/vagrant/version", __FILE__)
|
|
2
|
+
|
|
3
|
+
Gem::Specification.new do |s|
|
|
4
|
+
s.name = "vagrantup"
|
|
5
|
+
s.version = Vagrant::VERSION
|
|
6
|
+
s.platform = Gem::Platform::RUBY
|
|
7
|
+
s.authors = ["Mitchell Hashimoto", "John Bender"]
|
|
8
|
+
s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]
|
|
9
|
+
s.homepage = "http://vagrantup.com"
|
|
10
|
+
s.summary = "Build and distribute virtualized development environments."
|
|
11
|
+
s.description = "Vagrant is a tool for building and distributing virtualized development environments."
|
|
12
|
+
|
|
13
|
+
s.required_rubygems_version = ">= 1.3.6"
|
|
14
|
+
s.rubyforge_project = "vagrant"
|
|
15
|
+
|
|
16
|
+
s.add_dependency("virtualbox", "~> 0.7.3")
|
|
17
|
+
s.add_dependency("net-ssh", ">= 2.0.19")
|
|
18
|
+
s.add_dependency("net-scp", ">= 1.0.2")
|
|
19
|
+
s.add_dependency("json", ">= 1.4.3")
|
|
20
|
+
s.add_dependency("archive-tar-minitar", "= 0.5.2")
|
|
21
|
+
s.add_dependency("mario", "~> 0.0.6")
|
|
22
|
+
s.add_dependency("erubis", ">= 2.6.6")
|
|
23
|
+
|
|
24
|
+
s.add_development_dependency("rake")
|
|
25
|
+
s.add_development_dependency("contest", ">= 0.1.2")
|
|
26
|
+
s.add_development_dependency("mocha")
|
|
27
|
+
s.add_development_dependency("ruby-debug")
|
|
28
|
+
s.add_development_dependency("bundler", ">= 1.0.0.rc.5")
|
|
29
|
+
|
|
30
|
+
s.files = `git ls-files`.split("\n")
|
|
31
|
+
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
|
32
|
+
s.require_path = 'lib'
|
|
33
|
+
end
|
|
34
|
+
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrantup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mitchell Hashimoto
|
|
@@ -95,6 +95,20 @@ dependencies:
|
|
|
95
95
|
- - ~>
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
97
|
version: 0.0.6
|
|
98
|
+
- !ruby/object:Gem::Dependency
|
|
99
|
+
name: erubis
|
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - '>='
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: 2.6.6
|
|
105
|
+
type: :runtime
|
|
106
|
+
prerelease: false
|
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
108
|
+
requirements:
|
|
109
|
+
- - '>='
|
|
110
|
+
- !ruby/object:Gem::Version
|
|
111
|
+
version: 2.6.6
|
|
98
112
|
- !ruby/object:Gem::Dependency
|
|
99
113
|
name: rake
|
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -151,22 +165,47 @@ dependencies:
|
|
|
151
165
|
- - '>='
|
|
152
166
|
- !ruby/object:Gem::Version
|
|
153
167
|
version: '0'
|
|
168
|
+
- !ruby/object:Gem::Dependency
|
|
169
|
+
name: bundler
|
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
|
171
|
+
requirements:
|
|
172
|
+
- - '>='
|
|
173
|
+
- !ruby/object:Gem::Version
|
|
174
|
+
version: 1.0.0.rc.5
|
|
175
|
+
type: :development
|
|
176
|
+
prerelease: false
|
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
178
|
+
requirements:
|
|
179
|
+
- - '>='
|
|
180
|
+
- !ruby/object:Gem::Version
|
|
181
|
+
version: 1.0.0.rc.5
|
|
154
182
|
description: Vagrant is a tool for building and distributing virtualized development
|
|
155
183
|
environments.
|
|
156
184
|
email:
|
|
157
185
|
- mitchell.hashimoto@gmail.com
|
|
158
186
|
- john.m.bender@gmail.com
|
|
159
187
|
executables:
|
|
188
|
+
- .gitignore
|
|
160
189
|
- vagrant
|
|
161
190
|
extensions: []
|
|
162
191
|
extra_rdoc_files: []
|
|
163
192
|
files:
|
|
193
|
+
- .gitignore
|
|
194
|
+
- CHANGELOG.md
|
|
195
|
+
- Gemfile
|
|
196
|
+
- Gemfile.lock
|
|
197
|
+
- LICENSE
|
|
198
|
+
- README.md
|
|
199
|
+
- Rakefile
|
|
200
|
+
- bin/.gitignore
|
|
164
201
|
- bin/vagrant
|
|
165
202
|
- config/default.rb
|
|
166
203
|
- keys/README.md
|
|
167
204
|
- keys/vagrant
|
|
168
205
|
- keys/vagrant.ppk
|
|
169
206
|
- keys/vagrant.pub
|
|
207
|
+
- lib/vagrant.rb
|
|
208
|
+
- lib/vagrant/action.rb
|
|
170
209
|
- lib/vagrant/action/action_exception.rb
|
|
171
210
|
- lib/vagrant/action/box/destroy.rb
|
|
172
211
|
- lib/vagrant/action/box/download.rb
|
|
@@ -208,16 +247,15 @@ files:
|
|
|
208
247
|
- lib/vagrant/action/vm/resume.rb
|
|
209
248
|
- lib/vagrant/action/vm/share_folders.rb
|
|
210
249
|
- lib/vagrant/action/vm/suspend.rb
|
|
211
|
-
- lib/vagrant/action.rb
|
|
212
250
|
- lib/vagrant/active_list.rb
|
|
213
251
|
- lib/vagrant/box.rb
|
|
214
252
|
- lib/vagrant/command.rb
|
|
215
253
|
- lib/vagrant/commands/base.rb
|
|
254
|
+
- lib/vagrant/commands/box.rb
|
|
216
255
|
- lib/vagrant/commands/box/add.rb
|
|
217
256
|
- lib/vagrant/commands/box/list.rb
|
|
218
257
|
- lib/vagrant/commands/box/remove.rb
|
|
219
258
|
- lib/vagrant/commands/box/repackage.rb
|
|
220
|
-
- lib/vagrant/commands/box.rb
|
|
221
259
|
- lib/vagrant/commands/destroy.rb
|
|
222
260
|
- lib/vagrant/commands/halt.rb
|
|
223
261
|
- lib/vagrant/commands/init.rb
|
|
@@ -246,6 +284,7 @@ files:
|
|
|
246
284
|
- lib/vagrant/ssh.rb
|
|
247
285
|
- lib/vagrant/systems/base.rb
|
|
248
286
|
- lib/vagrant/systems/linux.rb
|
|
287
|
+
- lib/vagrant/util.rb
|
|
249
288
|
- lib/vagrant/util/busy.rb
|
|
250
289
|
- lib/vagrant/util/glob_loader.rb
|
|
251
290
|
- lib/vagrant/util/plain_logger.rb
|
|
@@ -254,10 +293,9 @@ files:
|
|
|
254
293
|
- lib/vagrant/util/stacked_proc_runner.rb
|
|
255
294
|
- lib/vagrant/util/template_renderer.rb
|
|
256
295
|
- lib/vagrant/util/translator.rb
|
|
257
|
-
- lib/vagrant/util.rb
|
|
258
296
|
- lib/vagrant/version.rb
|
|
259
297
|
- lib/vagrant/vm.rb
|
|
260
|
-
-
|
|
298
|
+
- templates/Vagrantfile.erb
|
|
261
299
|
- templates/chef_server_client.erb
|
|
262
300
|
- templates/chef_solo_solo.erb
|
|
263
301
|
- templates/network_entry.erb
|
|
@@ -268,9 +306,92 @@ files:
|
|
|
268
306
|
- templates/strings.yml
|
|
269
307
|
- templates/unison/crontab_entry.erb
|
|
270
308
|
- templates/unison/script.erb
|
|
271
|
-
-
|
|
272
|
-
-
|
|
273
|
-
-
|
|
309
|
+
- test/test_helper.rb
|
|
310
|
+
- test/vagrant/action/box/destroy_test.rb
|
|
311
|
+
- test/vagrant/action/box/download_test.rb
|
|
312
|
+
- test/vagrant/action/box/package_test.rb
|
|
313
|
+
- test/vagrant/action/box/unpackage_test.rb
|
|
314
|
+
- test/vagrant/action/box/verify_test.rb
|
|
315
|
+
- test/vagrant/action/builder_test.rb
|
|
316
|
+
- test/vagrant/action/env/error_halt_test.rb
|
|
317
|
+
- test/vagrant/action/env/set_test.rb
|
|
318
|
+
- test/vagrant/action/environment_test.rb
|
|
319
|
+
- test/vagrant/action/exception_catcher_test.rb
|
|
320
|
+
- test/vagrant/action/general/package_test.rb
|
|
321
|
+
- test/vagrant/action/vm/boot_test.rb
|
|
322
|
+
- test/vagrant/action/vm/check_box_test.rb
|
|
323
|
+
- test/vagrant/action/vm/check_guest_additions_test.rb
|
|
324
|
+
- test/vagrant/action/vm/clean_machine_folder_test.rb
|
|
325
|
+
- test/vagrant/action/vm/clear_forwarded_ports_test.rb
|
|
326
|
+
- test/vagrant/action/vm/clear_nfs_exports_test.rb
|
|
327
|
+
- test/vagrant/action/vm/clear_shared_folders_test.rb
|
|
328
|
+
- test/vagrant/action/vm/customize_test.rb
|
|
329
|
+
- test/vagrant/action/vm/destroy_test.rb
|
|
330
|
+
- test/vagrant/action/vm/destroy_unused_network_interfaces_test.rb
|
|
331
|
+
- test/vagrant/action/vm/disable_networks_test.rb
|
|
332
|
+
- test/vagrant/action/vm/discard_state_test.rb
|
|
333
|
+
- test/vagrant/action/vm/export_test.rb
|
|
334
|
+
- test/vagrant/action/vm/forward_ports_helpers_test.rb
|
|
335
|
+
- test/vagrant/action/vm/forward_ports_test.rb
|
|
336
|
+
- test/vagrant/action/vm/halt_test.rb
|
|
337
|
+
- test/vagrant/action/vm/import_test.rb
|
|
338
|
+
- test/vagrant/action/vm/match_mac_address_test.rb
|
|
339
|
+
- test/vagrant/action/vm/network_test.rb
|
|
340
|
+
- test/vagrant/action/vm/nfs_helpers_test.rb
|
|
341
|
+
- test/vagrant/action/vm/nfs_test.rb
|
|
342
|
+
- test/vagrant/action/vm/package_test.rb
|
|
343
|
+
- test/vagrant/action/vm/package_vagrantfile_test.rb
|
|
344
|
+
- test/vagrant/action/vm/persist_test.rb
|
|
345
|
+
- test/vagrant/action/vm/provision_test.rb
|
|
346
|
+
- test/vagrant/action/vm/resume_test.rb
|
|
347
|
+
- test/vagrant/action/vm/share_folders_test.rb
|
|
348
|
+
- test/vagrant/action/vm/suspend_test.rb
|
|
349
|
+
- test/vagrant/action_test.rb
|
|
350
|
+
- test/vagrant/active_list_test.rb
|
|
351
|
+
- test/vagrant/box_test.rb
|
|
352
|
+
- test/vagrant/command_test.rb
|
|
353
|
+
- test/vagrant/commands/base_test.rb
|
|
354
|
+
- test/vagrant/commands/box/add_test.rb
|
|
355
|
+
- test/vagrant/commands/box/list_test.rb
|
|
356
|
+
- test/vagrant/commands/box/remove_test.rb
|
|
357
|
+
- test/vagrant/commands/box/repackage_test.rb
|
|
358
|
+
- test/vagrant/commands/destroy_test.rb
|
|
359
|
+
- test/vagrant/commands/halt_test.rb
|
|
360
|
+
- test/vagrant/commands/init_test.rb
|
|
361
|
+
- test/vagrant/commands/package_test.rb
|
|
362
|
+
- test/vagrant/commands/provision_test.rb
|
|
363
|
+
- test/vagrant/commands/reload_test.rb
|
|
364
|
+
- test/vagrant/commands/resume_test.rb
|
|
365
|
+
- test/vagrant/commands/ssh_config_test.rb
|
|
366
|
+
- test/vagrant/commands/ssh_test.rb
|
|
367
|
+
- test/vagrant/commands/status_test.rb
|
|
368
|
+
- test/vagrant/commands/suspend_test.rb
|
|
369
|
+
- test/vagrant/commands/up_test.rb
|
|
370
|
+
- test/vagrant/config_test.rb
|
|
371
|
+
- test/vagrant/downloaders/base_test.rb
|
|
372
|
+
- test/vagrant/downloaders/file_test.rb
|
|
373
|
+
- test/vagrant/downloaders/http_test.rb
|
|
374
|
+
- test/vagrant/environment_test.rb
|
|
375
|
+
- test/vagrant/hosts/base_test.rb
|
|
376
|
+
- test/vagrant/hosts/bsd_test.rb
|
|
377
|
+
- test/vagrant/hosts/linux_test.rb
|
|
378
|
+
- test/vagrant/provisioners/base_test.rb
|
|
379
|
+
- test/vagrant/provisioners/chef_server_test.rb
|
|
380
|
+
- test/vagrant/provisioners/chef_solo_test.rb
|
|
381
|
+
- test/vagrant/provisioners/chef_test.rb
|
|
382
|
+
- test/vagrant/ssh_session_test.rb
|
|
383
|
+
- test/vagrant/ssh_test.rb
|
|
384
|
+
- test/vagrant/systems/linux_test.rb
|
|
385
|
+
- test/vagrant/util/busy_test.rb
|
|
386
|
+
- test/vagrant/util/plain_logger_test.rb
|
|
387
|
+
- test/vagrant/util/platform_test.rb
|
|
388
|
+
- test/vagrant/util/resource_logger_test.rb
|
|
389
|
+
- test/vagrant/util/stacked_proc_runner_test.rb
|
|
390
|
+
- test/vagrant/util/template_renderer_test.rb
|
|
391
|
+
- test/vagrant/util/translator_test.rb
|
|
392
|
+
- test/vagrant/util_test.rb
|
|
393
|
+
- test/vagrant/vm_test.rb
|
|
394
|
+
- vagrant.gemspec
|
|
274
395
|
homepage: http://vagrantup.com
|
|
275
396
|
licenses: []
|
|
276
397
|
metadata: {}
|
|
@@ -287,7 +408,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
287
408
|
requirements:
|
|
288
409
|
- - '>='
|
|
289
410
|
- !ruby/object:Gem::Version
|
|
290
|
-
version:
|
|
411
|
+
version: 1.3.6
|
|
291
412
|
requirements: []
|
|
292
413
|
rubyforge_project: vagrant
|
|
293
414
|
rubygems_version: 2.0.0
|