vagrant 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/config/default.rb +6 -6
- data/lib/vagrant.rb +6 -3
- data/lib/vagrant/action.rb +77 -0
- data/lib/vagrant/action/action_exception.rb +16 -0
- data/lib/vagrant/action/box/destroy.rb +19 -0
- data/lib/vagrant/action/box/download.rb +78 -0
- data/lib/vagrant/action/box/unpackage.rb +58 -0
- data/lib/vagrant/action/box/verify.rb +23 -0
- data/lib/vagrant/action/builder.rb +151 -0
- data/lib/vagrant/action/builtin.rb +114 -0
- data/lib/vagrant/action/env/error_halt.rb +16 -0
- data/lib/vagrant/action/env/set.rb +18 -0
- data/lib/vagrant/action/environment.rb +98 -0
- data/lib/vagrant/action/exception_catcher.rb +14 -0
- data/lib/vagrant/action/vm/boot.rb +54 -0
- data/lib/vagrant/action/vm/check_box.rb +27 -0
- data/lib/vagrant/action/vm/check_guest_additions.rb +32 -0
- data/lib/vagrant/action/vm/clean_machine_folder.rb +43 -0
- data/lib/vagrant/action/vm/clear_forwarded_ports.rb +39 -0
- data/lib/vagrant/action/vm/clear_nfs_exports.rb +20 -0
- data/lib/vagrant/action/vm/clear_shared_folders.rb +32 -0
- data/lib/vagrant/action/vm/customize.rb +21 -0
- data/lib/vagrant/action/vm/destroy.rb +20 -0
- data/lib/vagrant/action/vm/destroy_unused_network_interfaces.rb +35 -0
- data/lib/vagrant/action/vm/disable_networks.rb +26 -0
- data/lib/vagrant/action/vm/export.rb +53 -0
- data/lib/vagrant/action/vm/forward_ports.rb +121 -0
- data/lib/vagrant/action/vm/forward_ports_helpers.rb +28 -0
- data/lib/vagrant/action/vm/halt.rb +34 -0
- data/lib/vagrant/action/vm/import.rb +33 -0
- data/lib/vagrant/action/vm/match_mac_address.rb +19 -0
- data/lib/vagrant/{actions → action}/vm/network.rb +47 -55
- data/lib/vagrant/action/vm/nfs.rb +161 -0
- data/lib/vagrant/action/vm/nfs_helpers.rb +11 -0
- data/lib/vagrant/action/vm/package.rb +99 -0
- data/lib/vagrant/action/vm/persist.rb +22 -0
- data/lib/vagrant/action/vm/provision.rb +50 -0
- data/lib/vagrant/action/vm/resume.rb +20 -0
- data/lib/vagrant/{actions/vm/shared_folders.rb → action/vm/share_folders.rb} +48 -45
- data/lib/vagrant/action/vm/suspend.rb +20 -0
- data/lib/vagrant/box.rb +3 -7
- data/lib/vagrant/commands/base.rb +1 -3
- data/lib/vagrant/commands/package.rb +4 -9
- data/lib/vagrant/commands/up.rb +0 -2
- data/lib/vagrant/config.rb +15 -1
- data/lib/vagrant/downloaders/file.rb +1 -1
- data/lib/vagrant/downloaders/http.rb +2 -1
- data/lib/vagrant/environment.rb +18 -14
- data/lib/vagrant/hosts/base.rb +77 -0
- data/lib/vagrant/hosts/bsd.rb +53 -0
- data/lib/vagrant/hosts/linux.rb +52 -0
- data/lib/vagrant/provisioners/base.rb +17 -9
- data/lib/vagrant/provisioners/chef.rb +1 -1
- data/lib/vagrant/provisioners/chef_server.rb +4 -8
- data/lib/vagrant/provisioners/chef_solo.rb +1 -2
- data/lib/vagrant/ssh.rb +12 -4
- data/lib/vagrant/systems/base.rb +4 -0
- data/lib/vagrant/systems/linux.rb +12 -1
- data/lib/vagrant/util.rb +16 -0
- data/lib/vagrant/util/busy.rb +59 -0
- data/lib/vagrant/util/plain_logger.rb +11 -0
- data/lib/vagrant/util/platform.rb +18 -0
- data/lib/vagrant/util/resource_logger.rb +128 -0
- data/lib/vagrant/version.rb +6 -0
- data/lib/vagrant/vm.rb +10 -12
- data/templates/chef_solo_solo.erb +2 -1
- data/templates/nfs/exports.erb +3 -0
- data/templates/nfs/exports_linux.erb +3 -0
- data/templates/strings.yml +23 -3
- metadata +128 -198
- data/.gitignore +0 -11
- data/Gemfile +0 -18
- data/Rakefile +0 -41
- data/VERSION +0 -1
- data/bin/.gitignore +0 -0
- data/lib/vagrant/actions/base.rb +0 -130
- data/lib/vagrant/actions/box/add.rb +0 -23
- data/lib/vagrant/actions/box/destroy.rb +0 -14
- data/lib/vagrant/actions/box/download.rb +0 -67
- data/lib/vagrant/actions/box/unpackage.rb +0 -42
- data/lib/vagrant/actions/box/verify.rb +0 -32
- data/lib/vagrant/actions/collection.rb +0 -36
- data/lib/vagrant/actions/runner.rb +0 -131
- data/lib/vagrant/actions/vm/boot.rb +0 -43
- data/lib/vagrant/actions/vm/customize.rb +0 -19
- data/lib/vagrant/actions/vm/destroy.rb +0 -24
- data/lib/vagrant/actions/vm/down.rb +0 -22
- data/lib/vagrant/actions/vm/export.rb +0 -45
- data/lib/vagrant/actions/vm/forward_ports.rb +0 -134
- data/lib/vagrant/actions/vm/halt.rb +0 -24
- data/lib/vagrant/actions/vm/import.rb +0 -23
- data/lib/vagrant/actions/vm/move_hard_drive.rb +0 -51
- data/lib/vagrant/actions/vm/package.rb +0 -94
- data/lib/vagrant/actions/vm/provision.rb +0 -49
- data/lib/vagrant/actions/vm/reload.rb +0 -17
- data/lib/vagrant/actions/vm/resume.rb +0 -16
- data/lib/vagrant/actions/vm/start.rb +0 -26
- data/lib/vagrant/actions/vm/suspend.rb +0 -16
- data/lib/vagrant/actions/vm/up.rb +0 -53
- data/lib/vagrant/busy.rb +0 -79
- data/lib/vagrant/resource_logger.rb +0 -126
- data/lib/vagrant/util/error_helper.rb +0 -13
- data/lib/vagrant/util/output_helper.rb +0 -9
- data/test/test_helper.rb +0 -149
- data/test/vagrant/actions/base_test.rb +0 -32
- data/test/vagrant/actions/box/add_test.rb +0 -36
- data/test/vagrant/actions/box/destroy_test.rb +0 -17
- data/test/vagrant/actions/box/download_test.rb +0 -137
- data/test/vagrant/actions/box/unpackage_test.rb +0 -99
- data/test/vagrant/actions/box/verify_test.rb +0 -44
- data/test/vagrant/actions/collection_test.rb +0 -113
- data/test/vagrant/actions/runner_test.rb +0 -268
- data/test/vagrant/actions/vm/boot_test.rb +0 -49
- data/test/vagrant/actions/vm/customize_test.rb +0 -21
- data/test/vagrant/actions/vm/destroy_test.rb +0 -37
- data/test/vagrant/actions/vm/down_test.rb +0 -39
- data/test/vagrant/actions/vm/export_test.rb +0 -88
- data/test/vagrant/actions/vm/forward_ports_test.rb +0 -253
- data/test/vagrant/actions/vm/halt_test.rb +0 -65
- data/test/vagrant/actions/vm/import_test.rb +0 -45
- data/test/vagrant/actions/vm/move_hard_drive_test.rb +0 -106
- data/test/vagrant/actions/vm/network_test.rb +0 -291
- data/test/vagrant/actions/vm/package_test.rb +0 -254
- data/test/vagrant/actions/vm/provision_test.rb +0 -99
- data/test/vagrant/actions/vm/reload_test.rb +0 -46
- data/test/vagrant/actions/vm/resume_test.rb +0 -26
- data/test/vagrant/actions/vm/shared_folders_test.rb +0 -211
- data/test/vagrant/actions/vm/start_test.rb +0 -73
- data/test/vagrant/actions/vm/suspend_test.rb +0 -26
- data/test/vagrant/actions/vm/up_test.rb +0 -96
- data/test/vagrant/active_list_test.rb +0 -173
- data/test/vagrant/box_test.rb +0 -154
- data/test/vagrant/busy_test.rb +0 -78
- data/test/vagrant/command_test.rb +0 -53
- data/test/vagrant/commands/base_test.rb +0 -139
- data/test/vagrant/commands/box/add_test.rb +0 -34
- data/test/vagrant/commands/box/list_test.rb +0 -32
- data/test/vagrant/commands/box/remove_test.rb +0 -41
- data/test/vagrant/commands/destroy_test.rb +0 -44
- data/test/vagrant/commands/halt_test.rb +0 -50
- data/test/vagrant/commands/init_test.rb +0 -55
- data/test/vagrant/commands/package_test.rb +0 -104
- data/test/vagrant/commands/provision_test.rb +0 -60
- data/test/vagrant/commands/reload_test.rb +0 -44
- data/test/vagrant/commands/resume_test.rb +0 -44
- data/test/vagrant/commands/ssh_config_test.rb +0 -77
- data/test/vagrant/commands/ssh_test.rb +0 -129
- data/test/vagrant/commands/status_test.rb +0 -40
- data/test/vagrant/commands/suspend_test.rb +0 -44
- data/test/vagrant/commands/up_test.rb +0 -47
- data/test/vagrant/config_test.rb +0 -287
- data/test/vagrant/downloaders/base_test.rb +0 -28
- data/test/vagrant/downloaders/file_test.rb +0 -33
- data/test/vagrant/downloaders/http_test.rb +0 -62
- data/test/vagrant/environment_test.rb +0 -770
- data/test/vagrant/provisioners/base_test.rb +0 -33
- data/test/vagrant/provisioners/chef_server_test.rb +0 -176
- data/test/vagrant/provisioners/chef_solo_test.rb +0 -183
- data/test/vagrant/provisioners/chef_test.rb +0 -175
- data/test/vagrant/resource_logger_test.rb +0 -145
- data/test/vagrant/ssh_session_test.rb +0 -46
- data/test/vagrant/ssh_test.rb +0 -296
- data/test/vagrant/systems/linux_test.rb +0 -179
- data/test/vagrant/util/error_helper_test.rb +0 -5
- data/test/vagrant/util/output_helper_test.rb +0 -5
- data/test/vagrant/util/plain_logger_test.rb +0 -17
- data/test/vagrant/util/platform_test.rb +0 -18
- data/test/vagrant/util/stacked_proc_runner_test.rb +0 -43
- data/test/vagrant/util/template_renderer_test.rb +0 -144
- data/test/vagrant/util/translator_test.rb +0 -61
- data/test/vagrant/util_test.rb +0 -27
- data/test/vagrant/vm_test.rb +0 -235
- data/vagrant.gemspec +0 -291
data/test/vagrant/util_test.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '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
|
data/test/vagrant/vm_test.rb
DELETED
@@ -1,235 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '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 "being an action runner" do
|
16
|
-
should "be an action runner" do
|
17
|
-
vm = Vagrant::VM.new(:env => @env)
|
18
|
-
assert vm.is_a?(Vagrant::Actions::Runner)
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
context "finding a VM" do
|
23
|
-
should "return return an uncreated VM object if the VM is not found" do
|
24
|
-
VirtualBox::VM.expects(:find).returns(nil)
|
25
|
-
result = Vagrant::VM.find("foo")
|
26
|
-
assert result.is_a?(Vagrant::VM)
|
27
|
-
assert !result.created?
|
28
|
-
end
|
29
|
-
|
30
|
-
should "return a Vagrant::VM object for that VM if found" do
|
31
|
-
VirtualBox::VM.expects(:find).with("foo").returns("bar")
|
32
|
-
result = Vagrant::VM.find("foo", mock_environment)
|
33
|
-
assert result.is_a?(Vagrant::VM)
|
34
|
-
assert_equal "bar", result.vm
|
35
|
-
end
|
36
|
-
end
|
37
|
-
|
38
|
-
context "vagrant VM instance" do
|
39
|
-
setup do
|
40
|
-
@vm_name = "foo"
|
41
|
-
@vm = Vagrant::VM.new(:env => @env, :vm => @mock_vm, :vm_name => @vm_name)
|
42
|
-
@mock_vm.stubs(:uuid).returns("foo")
|
43
|
-
end
|
44
|
-
|
45
|
-
context "checking if created" do
|
46
|
-
should "return true if the VM object is not nil" do
|
47
|
-
@vm.stubs(:vm).returns(:foo)
|
48
|
-
assert @vm.created?
|
49
|
-
end
|
50
|
-
|
51
|
-
should "return false if the VM object is nil" do
|
52
|
-
@vm.stubs(:vm).returns(nil)
|
53
|
-
assert !@vm.created?
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
context "accessing the SSH object" do
|
58
|
-
setup do
|
59
|
-
# Reset this to nil to force the reload
|
60
|
-
@vm.instance_variable_set(:@ssh, nil)
|
61
|
-
|
62
|
-
@ssh = mock("ssh")
|
63
|
-
Vagrant::SSH.stubs(:new).returns(@ssh)
|
64
|
-
end
|
65
|
-
|
66
|
-
should "load it the first time" do
|
67
|
-
Vagrant::SSH.expects(:new).with(@vm.env).once.returns(@ssh)
|
68
|
-
@vm.ssh
|
69
|
-
@vm.ssh
|
70
|
-
@vm.ssh
|
71
|
-
end
|
72
|
-
|
73
|
-
should "use the same value once its loaded" do
|
74
|
-
result = @vm.ssh
|
75
|
-
assert_equal result, @vm.ssh
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
context "loading associated system" do
|
80
|
-
should "error and exit if system is not specified" do
|
81
|
-
@vm.env.config.vm.system = nil
|
82
|
-
|
83
|
-
@vm.expects(:error_and_exit).with(:system_unspecified).once
|
84
|
-
@vm.load_system!
|
85
|
-
end
|
86
|
-
|
87
|
-
context "with a class" do
|
88
|
-
class FakeSystemClass
|
89
|
-
def initialize(vm); end
|
90
|
-
end
|
91
|
-
|
92
|
-
should "initialize class if given" do
|
93
|
-
@vm.env.config.vm.system = Vagrant::Systems::Linux
|
94
|
-
|
95
|
-
@vm.expects(:error_and_exit).never
|
96
|
-
@vm.load_system!
|
97
|
-
|
98
|
-
assert @vm.system.is_a?(Vagrant::Systems::Linux)
|
99
|
-
end
|
100
|
-
|
101
|
-
should "error and exit if class has invalid parent" do
|
102
|
-
@vm.env.config.vm.system = FakeSystemClass
|
103
|
-
@vm.expects(:error_and_exit).with(:system_invalid_class, :system => @vm.env.config.vm.system.to_s).once
|
104
|
-
@vm.load_system!
|
105
|
-
end
|
106
|
-
end
|
107
|
-
|
108
|
-
context "with a symbol" do
|
109
|
-
should "initialize proper symbols" do
|
110
|
-
valid = {
|
111
|
-
:linux => Vagrant::Systems::Linux
|
112
|
-
}
|
113
|
-
|
114
|
-
valid.each do |symbol, klass|
|
115
|
-
@vm.env.config.vm.system = symbol
|
116
|
-
@vm.expects(:error_and_exit).never
|
117
|
-
@vm.load_system!
|
118
|
-
|
119
|
-
assert @vm.system.is_a?(klass)
|
120
|
-
assert_equal @vm, @vm.system.vm
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
should "error and exit with invalid symbol" do
|
125
|
-
@vm.env.config.vm.system = :shall_never_exist
|
126
|
-
@vm.expects(:error_and_exit).with(:system_unknown_type, :system => @vm.env.config.vm.system.to_s).once
|
127
|
-
@vm.load_system!
|
128
|
-
end
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
context "uuid" do
|
133
|
-
should "call UUID on VM object" do
|
134
|
-
uuid = mock("uuid")
|
135
|
-
@mock_vm.expects(:uuid).once.returns(uuid)
|
136
|
-
assert_equal uuid, @vm.uuid
|
137
|
-
end
|
138
|
-
|
139
|
-
should "return nil if vm is nil" do
|
140
|
-
@vm.expects(:vm).returns(nil)
|
141
|
-
assert @vm.uuid.nil?
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
context "reloading" do
|
146
|
-
should "load the same VM and set it" do
|
147
|
-
new_vm = mock("vm")
|
148
|
-
VirtualBox::VM.expects(:find).with(@mock_vm.uuid).returns(new_vm)
|
149
|
-
@vm.reload!
|
150
|
-
assert_equal new_vm, @vm.vm
|
151
|
-
end
|
152
|
-
end
|
153
|
-
|
154
|
-
context "packaging" do
|
155
|
-
should "queue up the actions and execute" do
|
156
|
-
action_seq = sequence("action_seq")
|
157
|
-
@vm.expects(:add_action).with(Vagrant::Actions::VM::Export, nil).once.in_sequence(action_seq)
|
158
|
-
@vm.expects(:add_action).with(Vagrant::Actions::VM::Package, nil).once.in_sequence(action_seq)
|
159
|
-
@vm.expects(:execute!).in_sequence(action_seq)
|
160
|
-
@vm.package
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
context "upping" do
|
165
|
-
should "execute the up action" do
|
166
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Up, nil).once
|
167
|
-
@vm.up
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
context "halting" do
|
172
|
-
should "execute the halt action" do
|
173
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Halt, nil).once
|
174
|
-
@vm.halt
|
175
|
-
end
|
176
|
-
|
177
|
-
should "force if specified" do
|
178
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Halt, {:foo => :bar}).once
|
179
|
-
@vm.halt({:foo => :bar})
|
180
|
-
end
|
181
|
-
end
|
182
|
-
|
183
|
-
context "reloading action" do
|
184
|
-
should "execute the reload action" do
|
185
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Reload).once
|
186
|
-
@vm.reload
|
187
|
-
end
|
188
|
-
end
|
189
|
-
|
190
|
-
context "provisioning" do
|
191
|
-
should "execute the provision action" do
|
192
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Provision).once
|
193
|
-
@vm.provision
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
|
-
context "destroying" do
|
198
|
-
should "execute the down action" do
|
199
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Down).once
|
200
|
-
@vm.destroy
|
201
|
-
end
|
202
|
-
end
|
203
|
-
|
204
|
-
context "suspending" do
|
205
|
-
should "execute the suspend action" do
|
206
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Suspend).once
|
207
|
-
@vm.suspend
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
|
-
context "resuming" do
|
212
|
-
should "execute the resume action" do
|
213
|
-
@vm.expects(:execute!).with(Vagrant::Actions::VM::Resume).once
|
214
|
-
@vm.resume
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
|
-
context "starting" do
|
219
|
-
setup do
|
220
|
-
@mock_vm.stubs(:running?).returns(false)
|
221
|
-
end
|
222
|
-
|
223
|
-
should "not do anything if the VM is already running" do
|
224
|
-
@mock_vm.stubs(:running?).returns(true)
|
225
|
-
@vm.expects(:execute!).never
|
226
|
-
@vm.start
|
227
|
-
end
|
228
|
-
|
229
|
-
should "execute the start action" do
|
230
|
-
@vm.expects(:execute!).once.with(Vagrant::Actions::VM::Start)
|
231
|
-
@vm.start
|
232
|
-
end
|
233
|
-
end
|
234
|
-
end
|
235
|
-
end
|
data/vagrant.gemspec
DELETED
@@ -1,291 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{vagrant}
|
8
|
-
s.version = "0.4.2"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Mitchell Hashimoto", "John Bender"]
|
12
|
-
s.date = %q{2010-07-02}
|
13
|
-
s.default_executable = %q{vagrant}
|
14
|
-
s.description = %q{Vagrant is a tool for building and distributing virtualized development environments.}
|
15
|
-
s.email = ["mitchell.hashimoto@gmail.com", "john.m.bender@gmail.com"]
|
16
|
-
s.executables = ["vagrant"]
|
17
|
-
s.extra_rdoc_files = [
|
18
|
-
"LICENSE",
|
19
|
-
"README.md"
|
20
|
-
]
|
21
|
-
s.files = [
|
22
|
-
".gitignore",
|
23
|
-
"Gemfile",
|
24
|
-
"LICENSE",
|
25
|
-
"README.md",
|
26
|
-
"Rakefile",
|
27
|
-
"VERSION",
|
28
|
-
"bin/.gitignore",
|
29
|
-
"bin/vagrant",
|
30
|
-
"config/default.rb",
|
31
|
-
"keys/README.md",
|
32
|
-
"keys/vagrant",
|
33
|
-
"keys/vagrant.ppk",
|
34
|
-
"keys/vagrant.pub",
|
35
|
-
"lib/vagrant.rb",
|
36
|
-
"lib/vagrant/actions/base.rb",
|
37
|
-
"lib/vagrant/actions/box/add.rb",
|
38
|
-
"lib/vagrant/actions/box/destroy.rb",
|
39
|
-
"lib/vagrant/actions/box/download.rb",
|
40
|
-
"lib/vagrant/actions/box/unpackage.rb",
|
41
|
-
"lib/vagrant/actions/box/verify.rb",
|
42
|
-
"lib/vagrant/actions/collection.rb",
|
43
|
-
"lib/vagrant/actions/runner.rb",
|
44
|
-
"lib/vagrant/actions/vm/boot.rb",
|
45
|
-
"lib/vagrant/actions/vm/customize.rb",
|
46
|
-
"lib/vagrant/actions/vm/destroy.rb",
|
47
|
-
"lib/vagrant/actions/vm/down.rb",
|
48
|
-
"lib/vagrant/actions/vm/export.rb",
|
49
|
-
"lib/vagrant/actions/vm/forward_ports.rb",
|
50
|
-
"lib/vagrant/actions/vm/halt.rb",
|
51
|
-
"lib/vagrant/actions/vm/import.rb",
|
52
|
-
"lib/vagrant/actions/vm/move_hard_drive.rb",
|
53
|
-
"lib/vagrant/actions/vm/network.rb",
|
54
|
-
"lib/vagrant/actions/vm/package.rb",
|
55
|
-
"lib/vagrant/actions/vm/provision.rb",
|
56
|
-
"lib/vagrant/actions/vm/reload.rb",
|
57
|
-
"lib/vagrant/actions/vm/resume.rb",
|
58
|
-
"lib/vagrant/actions/vm/shared_folders.rb",
|
59
|
-
"lib/vagrant/actions/vm/start.rb",
|
60
|
-
"lib/vagrant/actions/vm/suspend.rb",
|
61
|
-
"lib/vagrant/actions/vm/up.rb",
|
62
|
-
"lib/vagrant/active_list.rb",
|
63
|
-
"lib/vagrant/box.rb",
|
64
|
-
"lib/vagrant/busy.rb",
|
65
|
-
"lib/vagrant/command.rb",
|
66
|
-
"lib/vagrant/commands/base.rb",
|
67
|
-
"lib/vagrant/commands/box.rb",
|
68
|
-
"lib/vagrant/commands/box/add.rb",
|
69
|
-
"lib/vagrant/commands/box/list.rb",
|
70
|
-
"lib/vagrant/commands/box/remove.rb",
|
71
|
-
"lib/vagrant/commands/destroy.rb",
|
72
|
-
"lib/vagrant/commands/halt.rb",
|
73
|
-
"lib/vagrant/commands/init.rb",
|
74
|
-
"lib/vagrant/commands/package.rb",
|
75
|
-
"lib/vagrant/commands/provision.rb",
|
76
|
-
"lib/vagrant/commands/reload.rb",
|
77
|
-
"lib/vagrant/commands/resume.rb",
|
78
|
-
"lib/vagrant/commands/ssh.rb",
|
79
|
-
"lib/vagrant/commands/ssh_config.rb",
|
80
|
-
"lib/vagrant/commands/status.rb",
|
81
|
-
"lib/vagrant/commands/suspend.rb",
|
82
|
-
"lib/vagrant/commands/up.rb",
|
83
|
-
"lib/vagrant/config.rb",
|
84
|
-
"lib/vagrant/downloaders/base.rb",
|
85
|
-
"lib/vagrant/downloaders/file.rb",
|
86
|
-
"lib/vagrant/downloaders/http.rb",
|
87
|
-
"lib/vagrant/environment.rb",
|
88
|
-
"lib/vagrant/provisioners/base.rb",
|
89
|
-
"lib/vagrant/provisioners/chef.rb",
|
90
|
-
"lib/vagrant/provisioners/chef_server.rb",
|
91
|
-
"lib/vagrant/provisioners/chef_solo.rb",
|
92
|
-
"lib/vagrant/resource_logger.rb",
|
93
|
-
"lib/vagrant/ssh.rb",
|
94
|
-
"lib/vagrant/systems/base.rb",
|
95
|
-
"lib/vagrant/systems/linux.rb",
|
96
|
-
"lib/vagrant/util.rb",
|
97
|
-
"lib/vagrant/util/error_helper.rb",
|
98
|
-
"lib/vagrant/util/glob_loader.rb",
|
99
|
-
"lib/vagrant/util/output_helper.rb",
|
100
|
-
"lib/vagrant/util/plain_logger.rb",
|
101
|
-
"lib/vagrant/util/platform.rb",
|
102
|
-
"lib/vagrant/util/stacked_proc_runner.rb",
|
103
|
-
"lib/vagrant/util/template_renderer.rb",
|
104
|
-
"lib/vagrant/util/translator.rb",
|
105
|
-
"lib/vagrant/vm.rb",
|
106
|
-
"templates/Vagrantfile.erb",
|
107
|
-
"templates/chef_server_client.erb",
|
108
|
-
"templates/chef_solo_solo.erb",
|
109
|
-
"templates/network_entry.erb",
|
110
|
-
"templates/package_Vagrantfile.erb",
|
111
|
-
"templates/ssh_config.erb",
|
112
|
-
"templates/strings.yml",
|
113
|
-
"templates/unison/crontab_entry.erb",
|
114
|
-
"templates/unison/script.erb",
|
115
|
-
"test/test_helper.rb",
|
116
|
-
"test/vagrant/actions/base_test.rb",
|
117
|
-
"test/vagrant/actions/box/add_test.rb",
|
118
|
-
"test/vagrant/actions/box/destroy_test.rb",
|
119
|
-
"test/vagrant/actions/box/download_test.rb",
|
120
|
-
"test/vagrant/actions/box/unpackage_test.rb",
|
121
|
-
"test/vagrant/actions/box/verify_test.rb",
|
122
|
-
"test/vagrant/actions/collection_test.rb",
|
123
|
-
"test/vagrant/actions/runner_test.rb",
|
124
|
-
"test/vagrant/actions/vm/boot_test.rb",
|
125
|
-
"test/vagrant/actions/vm/customize_test.rb",
|
126
|
-
"test/vagrant/actions/vm/destroy_test.rb",
|
127
|
-
"test/vagrant/actions/vm/down_test.rb",
|
128
|
-
"test/vagrant/actions/vm/export_test.rb",
|
129
|
-
"test/vagrant/actions/vm/forward_ports_test.rb",
|
130
|
-
"test/vagrant/actions/vm/halt_test.rb",
|
131
|
-
"test/vagrant/actions/vm/import_test.rb",
|
132
|
-
"test/vagrant/actions/vm/move_hard_drive_test.rb",
|
133
|
-
"test/vagrant/actions/vm/network_test.rb",
|
134
|
-
"test/vagrant/actions/vm/package_test.rb",
|
135
|
-
"test/vagrant/actions/vm/provision_test.rb",
|
136
|
-
"test/vagrant/actions/vm/reload_test.rb",
|
137
|
-
"test/vagrant/actions/vm/resume_test.rb",
|
138
|
-
"test/vagrant/actions/vm/shared_folders_test.rb",
|
139
|
-
"test/vagrant/actions/vm/start_test.rb",
|
140
|
-
"test/vagrant/actions/vm/suspend_test.rb",
|
141
|
-
"test/vagrant/actions/vm/up_test.rb",
|
142
|
-
"test/vagrant/active_list_test.rb",
|
143
|
-
"test/vagrant/box_test.rb",
|
144
|
-
"test/vagrant/busy_test.rb",
|
145
|
-
"test/vagrant/command_test.rb",
|
146
|
-
"test/vagrant/commands/base_test.rb",
|
147
|
-
"test/vagrant/commands/box/add_test.rb",
|
148
|
-
"test/vagrant/commands/box/list_test.rb",
|
149
|
-
"test/vagrant/commands/box/remove_test.rb",
|
150
|
-
"test/vagrant/commands/destroy_test.rb",
|
151
|
-
"test/vagrant/commands/halt_test.rb",
|
152
|
-
"test/vagrant/commands/init_test.rb",
|
153
|
-
"test/vagrant/commands/package_test.rb",
|
154
|
-
"test/vagrant/commands/provision_test.rb",
|
155
|
-
"test/vagrant/commands/reload_test.rb",
|
156
|
-
"test/vagrant/commands/resume_test.rb",
|
157
|
-
"test/vagrant/commands/ssh_config_test.rb",
|
158
|
-
"test/vagrant/commands/ssh_test.rb",
|
159
|
-
"test/vagrant/commands/status_test.rb",
|
160
|
-
"test/vagrant/commands/suspend_test.rb",
|
161
|
-
"test/vagrant/commands/up_test.rb",
|
162
|
-
"test/vagrant/config_test.rb",
|
163
|
-
"test/vagrant/downloaders/base_test.rb",
|
164
|
-
"test/vagrant/downloaders/file_test.rb",
|
165
|
-
"test/vagrant/downloaders/http_test.rb",
|
166
|
-
"test/vagrant/environment_test.rb",
|
167
|
-
"test/vagrant/provisioners/base_test.rb",
|
168
|
-
"test/vagrant/provisioners/chef_server_test.rb",
|
169
|
-
"test/vagrant/provisioners/chef_solo_test.rb",
|
170
|
-
"test/vagrant/provisioners/chef_test.rb",
|
171
|
-
"test/vagrant/resource_logger_test.rb",
|
172
|
-
"test/vagrant/ssh_session_test.rb",
|
173
|
-
"test/vagrant/ssh_test.rb",
|
174
|
-
"test/vagrant/systems/linux_test.rb",
|
175
|
-
"test/vagrant/util/error_helper_test.rb",
|
176
|
-
"test/vagrant/util/output_helper_test.rb",
|
177
|
-
"test/vagrant/util/plain_logger_test.rb",
|
178
|
-
"test/vagrant/util/platform_test.rb",
|
179
|
-
"test/vagrant/util/stacked_proc_runner_test.rb",
|
180
|
-
"test/vagrant/util/template_renderer_test.rb",
|
181
|
-
"test/vagrant/util/translator_test.rb",
|
182
|
-
"test/vagrant/util_test.rb",
|
183
|
-
"test/vagrant/vm_test.rb",
|
184
|
-
"vagrant.gemspec"
|
185
|
-
]
|
186
|
-
s.homepage = %q{http://github.com/mitchellh/vagrant}
|
187
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
188
|
-
s.require_paths = ["lib"]
|
189
|
-
s.rubygems_version = %q{1.3.7}
|
190
|
-
s.summary = %q{Vagrant is a tool for building and distributing virtualized development environments.}
|
191
|
-
s.test_files = [
|
192
|
-
"test/test_helper.rb",
|
193
|
-
"test/vagrant/actions/base_test.rb",
|
194
|
-
"test/vagrant/actions/box/add_test.rb",
|
195
|
-
"test/vagrant/actions/box/destroy_test.rb",
|
196
|
-
"test/vagrant/actions/box/download_test.rb",
|
197
|
-
"test/vagrant/actions/box/unpackage_test.rb",
|
198
|
-
"test/vagrant/actions/box/verify_test.rb",
|
199
|
-
"test/vagrant/actions/collection_test.rb",
|
200
|
-
"test/vagrant/actions/runner_test.rb",
|
201
|
-
"test/vagrant/actions/vm/boot_test.rb",
|
202
|
-
"test/vagrant/actions/vm/customize_test.rb",
|
203
|
-
"test/vagrant/actions/vm/destroy_test.rb",
|
204
|
-
"test/vagrant/actions/vm/down_test.rb",
|
205
|
-
"test/vagrant/actions/vm/export_test.rb",
|
206
|
-
"test/vagrant/actions/vm/forward_ports_test.rb",
|
207
|
-
"test/vagrant/actions/vm/halt_test.rb",
|
208
|
-
"test/vagrant/actions/vm/import_test.rb",
|
209
|
-
"test/vagrant/actions/vm/move_hard_drive_test.rb",
|
210
|
-
"test/vagrant/actions/vm/network_test.rb",
|
211
|
-
"test/vagrant/actions/vm/package_test.rb",
|
212
|
-
"test/vagrant/actions/vm/provision_test.rb",
|
213
|
-
"test/vagrant/actions/vm/reload_test.rb",
|
214
|
-
"test/vagrant/actions/vm/resume_test.rb",
|
215
|
-
"test/vagrant/actions/vm/shared_folders_test.rb",
|
216
|
-
"test/vagrant/actions/vm/start_test.rb",
|
217
|
-
"test/vagrant/actions/vm/suspend_test.rb",
|
218
|
-
"test/vagrant/actions/vm/up_test.rb",
|
219
|
-
"test/vagrant/active_list_test.rb",
|
220
|
-
"test/vagrant/box_test.rb",
|
221
|
-
"test/vagrant/busy_test.rb",
|
222
|
-
"test/vagrant/command_test.rb",
|
223
|
-
"test/vagrant/commands/base_test.rb",
|
224
|
-
"test/vagrant/commands/box/add_test.rb",
|
225
|
-
"test/vagrant/commands/box/list_test.rb",
|
226
|
-
"test/vagrant/commands/box/remove_test.rb",
|
227
|
-
"test/vagrant/commands/destroy_test.rb",
|
228
|
-
"test/vagrant/commands/halt_test.rb",
|
229
|
-
"test/vagrant/commands/init_test.rb",
|
230
|
-
"test/vagrant/commands/package_test.rb",
|
231
|
-
"test/vagrant/commands/provision_test.rb",
|
232
|
-
"test/vagrant/commands/reload_test.rb",
|
233
|
-
"test/vagrant/commands/resume_test.rb",
|
234
|
-
"test/vagrant/commands/ssh_config_test.rb",
|
235
|
-
"test/vagrant/commands/ssh_test.rb",
|
236
|
-
"test/vagrant/commands/status_test.rb",
|
237
|
-
"test/vagrant/commands/suspend_test.rb",
|
238
|
-
"test/vagrant/commands/up_test.rb",
|
239
|
-
"test/vagrant/config_test.rb",
|
240
|
-
"test/vagrant/downloaders/base_test.rb",
|
241
|
-
"test/vagrant/downloaders/file_test.rb",
|
242
|
-
"test/vagrant/downloaders/http_test.rb",
|
243
|
-
"test/vagrant/environment_test.rb",
|
244
|
-
"test/vagrant/provisioners/base_test.rb",
|
245
|
-
"test/vagrant/provisioners/chef_server_test.rb",
|
246
|
-
"test/vagrant/provisioners/chef_solo_test.rb",
|
247
|
-
"test/vagrant/provisioners/chef_test.rb",
|
248
|
-
"test/vagrant/resource_logger_test.rb",
|
249
|
-
"test/vagrant/ssh_session_test.rb",
|
250
|
-
"test/vagrant/ssh_test.rb",
|
251
|
-
"test/vagrant/systems/linux_test.rb",
|
252
|
-
"test/vagrant/util/error_helper_test.rb",
|
253
|
-
"test/vagrant/util/output_helper_test.rb",
|
254
|
-
"test/vagrant/util/plain_logger_test.rb",
|
255
|
-
"test/vagrant/util/platform_test.rb",
|
256
|
-
"test/vagrant/util/stacked_proc_runner_test.rb",
|
257
|
-
"test/vagrant/util/template_renderer_test.rb",
|
258
|
-
"test/vagrant/util/translator_test.rb",
|
259
|
-
"test/vagrant/util_test.rb",
|
260
|
-
"test/vagrant/vm_test.rb"
|
261
|
-
]
|
262
|
-
|
263
|
-
if s.respond_to? :specification_version then
|
264
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
265
|
-
s.specification_version = 3
|
266
|
-
|
267
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
268
|
-
s.add_runtime_dependency(%q<virtualbox>, ["~> 0.7.3"])
|
269
|
-
s.add_runtime_dependency(%q<net-ssh>, [">= 2.0.19"])
|
270
|
-
s.add_runtime_dependency(%q<net-scp>, [">= 1.0.2"])
|
271
|
-
s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
|
272
|
-
s.add_runtime_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
|
273
|
-
s.add_runtime_dependency(%q<mario>, ["~> 0.0.6"])
|
274
|
-
else
|
275
|
-
s.add_dependency(%q<virtualbox>, ["~> 0.7.3"])
|
276
|
-
s.add_dependency(%q<net-ssh>, [">= 2.0.19"])
|
277
|
-
s.add_dependency(%q<net-scp>, [">= 1.0.2"])
|
278
|
-
s.add_dependency(%q<json>, [">= 1.2.0"])
|
279
|
-
s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
|
280
|
-
s.add_dependency(%q<mario>, ["~> 0.0.6"])
|
281
|
-
end
|
282
|
-
else
|
283
|
-
s.add_dependency(%q<virtualbox>, ["~> 0.7.3"])
|
284
|
-
s.add_dependency(%q<net-ssh>, [">= 2.0.19"])
|
285
|
-
s.add_dependency(%q<net-scp>, [">= 1.0.2"])
|
286
|
-
s.add_dependency(%q<json>, [">= 1.2.0"])
|
287
|
-
s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
|
288
|
-
s.add_dependency(%q<mario>, ["~> 0.0.6"])
|
289
|
-
end
|
290
|
-
end
|
291
|
-
|