vagrant 0.7.8 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +39 -0
- data/Gemfile +1 -7
- data/Rakefile +0 -11
- data/bin/vagrant +4 -0
- data/config/default.rb +1 -2
- data/lib/vagrant.rb +7 -5
- data/lib/vagrant/action.rb +5 -1
- data/lib/vagrant/action/builtin.rb +4 -1
- data/lib/vagrant/action/general/package.rb +6 -2
- data/lib/vagrant/action/vm.rb +2 -0
- data/lib/vagrant/action/vm/clear_forwarded_ports.rb +9 -22
- data/lib/vagrant/action/vm/clear_shared_folders.rb +9 -14
- data/lib/vagrant/action/vm/customize.rb +9 -4
- data/lib/vagrant/action/vm/forward_ports.rb +10 -11
- data/lib/vagrant/action/vm/match_mac_address.rb +8 -3
- data/lib/vagrant/action/vm/modify.rb +37 -0
- data/lib/vagrant/action/vm/network.rb +9 -2
- data/lib/vagrant/action/vm/provision.rb +10 -17
- data/lib/vagrant/action/vm/provisioner_cleanup.rb +26 -0
- data/lib/vagrant/action/vm/share_folders.rb +16 -8
- data/lib/vagrant/action/warden.rb +8 -2
- data/lib/vagrant/command/ssh.rb +4 -4
- data/lib/vagrant/command/ssh_config.rb +4 -2
- data/lib/vagrant/config/ssh.rb +3 -0
- data/lib/vagrant/config/vm.rb +16 -12
- data/lib/vagrant/downloaders/http.rb +2 -0
- data/lib/vagrant/environment.rb +136 -12
- data/lib/vagrant/errors.rb +15 -0
- data/lib/vagrant/provisioners.rb +1 -1
- data/lib/vagrant/provisioners/base.rb +4 -0
- data/lib/vagrant/provisioners/chef.rb +13 -11
- data/lib/vagrant/provisioners/{chef_server.rb → chef_client.rb} +5 -5
- data/lib/vagrant/provisioners/chef_solo.rb +48 -89
- data/lib/vagrant/provisioners/shell.rb +47 -12
- data/lib/vagrant/ssh.rb +61 -27
- data/lib/vagrant/systems.rb +1 -0
- data/lib/vagrant/systems/base.rb +1 -1
- data/lib/vagrant/systems/linux.rb +7 -9
- data/lib/vagrant/systems/redhat.rb +12 -4
- data/lib/vagrant/systems/solaris.rb +9 -4
- data/lib/vagrant/systems/suse.rb +9 -0
- data/lib/vagrant/ui.rb +12 -5
- data/lib/vagrant/util.rb +2 -2
- data/lib/vagrant/util/counter.rb +22 -0
- data/lib/vagrant/util/platform.rb +1 -2
- data/lib/vagrant/util/safe_exec.rb +28 -0
- data/lib/vagrant/version.rb +1 -1
- data/lib/vagrant/vm.rb +2 -0
- data/templates/chef_solo_solo.erb +4 -4
- data/templates/commands/init/Vagrantfile.erb +4 -0
- data/templates/locales/en.yml +31 -8
- data/templates/ssh_config.erb +6 -0
- data/test/test_helper.rb +5 -3
- data/test/vagrant/action/builder_test.rb +4 -0
- data/test/vagrant/action/vm/clear_forwarded_ports_test.rb +18 -38
- data/test/vagrant/action/vm/clear_shared_folders_test.rb +7 -16
- data/test/vagrant/action/vm/customize_test.rb +12 -5
- data/test/vagrant/action/vm/forward_ports_test.rb +12 -7
- data/test/vagrant/action/vm/match_mac_address_test.rb +5 -1
- data/test/vagrant/action/vm/modify_test.rb +38 -0
- data/test/vagrant/action/vm/provision_test.rb +13 -38
- data/test/vagrant/action/vm/provisioner_cleanup_test.rb +56 -0
- data/test/vagrant/action/vm/share_folders_test.rb +10 -5
- data/test/vagrant/action/warden_test.rb +13 -7
- data/test/vagrant/config/vm_test.rb +0 -22
- data/test/vagrant/downloaders/http_test.rb +2 -0
- data/test/vagrant/environment_test.rb +110 -20
- data/test/vagrant/provisioners/{chef_server_test.rb → chef_client_test.rb} +2 -2
- data/test/vagrant/provisioners/chef_solo_test.rb +16 -173
- data/test/vagrant/ssh_test.rb +8 -43
- data/test/vagrant/systems/linux_test.rb +9 -19
- data/test/vagrant/util/counter_test.rb +29 -0
- data/test/vagrant/util/platform_test.rb +2 -2
- data/vagrant.gemspec +1 -2
- metadata +114 -84
- data/lib/vagrant/util/plain_logger.rb +0 -25
- data/lib/vagrant/util/resource_logger.rb +0 -63
- data/test/vagrant/util/plain_logger_test.rb +0 -17
- data/test/vagrant/util/resource_logger_test.rb +0 -78
data/test/vagrant/ssh_test.rb
CHANGED
@@ -20,10 +20,8 @@ class SshTest < Test::Unit::TestCase
|
|
20
20
|
mock_ssh
|
21
21
|
@ssh.stubs(:check_key_permissions)
|
22
22
|
@ssh.stubs(:port).returns(2222)
|
23
|
-
|
23
|
+
@ssh.stubs(:safe_exec)
|
24
24
|
Kernel.stubs(:system).returns(true)
|
25
|
-
|
26
|
-
Vagrant::Util::Platform.stubs(:leopard?).returns(false)
|
27
25
|
end
|
28
26
|
|
29
27
|
should "raise an exception if SSH is not found" do
|
@@ -41,7 +39,7 @@ class SshTest < Test::Unit::TestCase
|
|
41
39
|
should "check key permissions prior to exec" do
|
42
40
|
exec_seq = sequence("exec_seq")
|
43
41
|
@ssh.expects(:check_key_permissions).with(@env.config.ssh.private_key_path).once.in_sequence(exec_seq)
|
44
|
-
|
42
|
+
@ssh.expects(:safe_exec).in_sequence(exec_seq)
|
45
43
|
@ssh.connect
|
46
44
|
end
|
47
45
|
|
@@ -81,42 +79,20 @@ class SshTest < Test::Unit::TestCase
|
|
81
79
|
@ssh.connect
|
82
80
|
end
|
83
81
|
|
84
|
-
context "on leopard" do
|
85
|
-
setup do
|
86
|
-
Vagrant::Util::Platform.stubs(:leopard?).returns(true)
|
87
|
-
end
|
88
|
-
|
89
|
-
teardown do
|
90
|
-
Vagrant::Util::Platform.stubs(:leopard?).returns(false)
|
91
|
-
end
|
92
|
-
|
93
|
-
should "fork, exec, and wait" do
|
94
|
-
pid = mock("pid")
|
95
|
-
@ssh.expects(:fork).once.returns(pid)
|
96
|
-
Process.expects(:wait).with(pid)
|
97
|
-
|
98
|
-
@ssh.connect
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
82
|
context "checking windows" do
|
103
|
-
teardown do
|
104
|
-
Mario::Platform.forced = Mario::Platform::Linux
|
105
|
-
end
|
106
|
-
|
107
83
|
should "error and exit if the platform is windows" do
|
108
|
-
|
84
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(true)
|
109
85
|
assert_raises(Vagrant::Errors::SSHUnavailableWindows) { @ssh.connect }
|
110
86
|
end
|
111
87
|
|
112
88
|
should "not error and exit if the platform is anything other that windows" do
|
113
|
-
|
89
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(false)
|
114
90
|
assert_nothing_raised { @ssh.connect }
|
115
91
|
end
|
116
92
|
end
|
117
93
|
|
118
94
|
def ssh_exec_expect(port, key_path, uname, host)
|
119
|
-
|
95
|
+
@ssh.expects(:safe_exec).with() do |arg|
|
120
96
|
assert arg =~ /^ssh/, "ssh command expected"
|
121
97
|
assert arg =~ /-p #{port}/, "-p #{port} expected"
|
122
98
|
assert arg =~ /-i #{key_path}/, "-i #{key_path} expected"
|
@@ -171,7 +147,7 @@ class SshTest < Test::Unit::TestCase
|
|
171
147
|
|
172
148
|
should "yield an SSH session object" do
|
173
149
|
raw = mock("raw")
|
174
|
-
Net::SSH.expects(:start).
|
150
|
+
Net::SSH.expects(:start).returns(raw)
|
175
151
|
@ssh.execute do |ssh|
|
176
152
|
assert ssh.is_a?(Vagrant::SSH::Session)
|
177
153
|
assert_equal raw, ssh.session
|
@@ -227,13 +203,6 @@ class SshTest < Test::Unit::TestCase
|
|
227
203
|
}
|
228
204
|
end
|
229
205
|
|
230
|
-
should "return false if the connection is dropped" do
|
231
|
-
Net::SSH.expects(:start).raises(Net::SSH::Disconnect)
|
232
|
-
assert_nothing_raised {
|
233
|
-
assert !@ssh.up?
|
234
|
-
}
|
235
|
-
end
|
236
|
-
|
237
206
|
should "specifity the timeout as an option to execute" do
|
238
207
|
@ssh.expects(:execute).yields(true).with() do |opts|
|
239
208
|
assert_equal @env.config.ssh.timeout, opts[:timeout]
|
@@ -276,15 +245,11 @@ class SshTest < Test::Unit::TestCase
|
|
276
245
|
@stat.stubs(:owned?).returns(true)
|
277
246
|
File.stubs(:stat).returns(@stat)
|
278
247
|
|
279
|
-
|
280
|
-
end
|
281
|
-
|
282
|
-
teardown do
|
283
|
-
Mario::Platform.forced = Mario::Platform::Linux
|
248
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(false)
|
284
249
|
end
|
285
250
|
|
286
251
|
should "do nothing if on windows" do
|
287
|
-
|
252
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(true)
|
288
253
|
File.expects(:stat).never
|
289
254
|
@ssh.check_key_permissions(@key_path)
|
290
255
|
end
|
@@ -31,15 +31,17 @@ class LinuxSystemTest < Test::Unit::TestCase
|
|
31
31
|
setup do
|
32
32
|
@name = "foo"
|
33
33
|
@guestpath = "/bar"
|
34
|
+
@owner = "owner"
|
35
|
+
@group = "group"
|
34
36
|
end
|
35
37
|
|
36
38
|
should "create the dir, mount the folder, then set permissions" do
|
37
39
|
mount_seq = sequence("mount_seq")
|
38
40
|
@ssh.expects(:exec!).with("sudo mkdir -p #{@guestpath}").in_sequence(mount_seq)
|
39
|
-
@instance.expects(:mount_folder).with(@ssh, @name, @guestpath).in_sequence(mount_seq)
|
40
|
-
@ssh.expects(:exec!).with("sudo chown #{@
|
41
|
+
@instance.expects(:mount_folder).with(@ssh, @name, @guestpath, @owner, @group).in_sequence(mount_seq)
|
42
|
+
@ssh.expects(:exec!).with("sudo chown `id -u #{@owner}`:`id -g #{@group}` #{@guestpath}").in_sequence(mount_seq)
|
41
43
|
|
42
|
-
@instance.mount_shared_folder(@ssh, @name, @guestpath)
|
44
|
+
@instance.mount_shared_folder(@ssh, @name, @guestpath, @owner, @group)
|
43
45
|
end
|
44
46
|
end
|
45
47
|
|
@@ -50,6 +52,8 @@ class LinuxSystemTest < Test::Unit::TestCase
|
|
50
52
|
setup do
|
51
53
|
@name = "foo"
|
52
54
|
@guestpath = "bar"
|
55
|
+
@owner = "owner"
|
56
|
+
@group = "group"
|
53
57
|
@sleeptime = 0
|
54
58
|
@limit = 10
|
55
59
|
|
@@ -57,11 +61,11 @@ class LinuxSystemTest < Test::Unit::TestCase
|
|
57
61
|
end
|
58
62
|
|
59
63
|
def mount_folder
|
60
|
-
@instance.mount_folder(@ssh, @name, @guestpath, @sleeptime)
|
64
|
+
@instance.mount_folder(@ssh, @name, @guestpath, @owner, @group, @sleeptime)
|
61
65
|
end
|
62
66
|
|
63
67
|
should "execute the proper mount command" do
|
64
|
-
@ssh.expects(:exec!).with("sudo mount -t vboxsf -o uid=`id -u #{@
|
68
|
+
@ssh.expects(:exec!).with("sudo mount -t vboxsf -o uid=`id -u #{@owner}`,gid=`id -g #{@group}` #{@name} #{@guestpath}").returns(@success_return)
|
65
69
|
mount_folder
|
66
70
|
end
|
67
71
|
|
@@ -96,19 +100,5 @@ class LinuxSystemTest < Test::Unit::TestCase
|
|
96
100
|
mount_folder
|
97
101
|
}
|
98
102
|
end
|
99
|
-
|
100
|
-
should "add uid AND gid to mount" do
|
101
|
-
uid = "foo"
|
102
|
-
gid = "bar"
|
103
|
-
env = vagrant_env(vagrantfile(<<-vf))
|
104
|
-
config.vm.shared_folder_uid = "#{uid}"
|
105
|
-
config.vm.shared_folder_gid = "#{gid}"
|
106
|
-
vf
|
107
|
-
|
108
|
-
@vm.stubs(:env).returns(env)
|
109
|
-
|
110
|
-
@ssh.expects(:exec!).with("sudo mount -t vboxsf -o uid=`id -u #{uid}`,gid=`id -g #{gid}` #{@name} #{@guestpath}").returns(@success_return)
|
111
|
-
mount_folder
|
112
|
-
end
|
113
103
|
end
|
114
104
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class CounterUtilTest < Test::Unit::TestCase
|
4
|
+
setup do
|
5
|
+
@klass = Class.new do
|
6
|
+
extend Vagrant::Util::Counter
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
context "basic counter" do
|
11
|
+
should "get and update the counter" do
|
12
|
+
assert_equal 1, @klass.get_and_update_counter
|
13
|
+
assert_equal 2, @klass.get_and_update_counter
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
context "multiple classes with a counter" do
|
18
|
+
setup do
|
19
|
+
@klass2 = Class.new do
|
20
|
+
extend Vagrant::Util::Counter
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
should "not affect other classes" do
|
25
|
+
assert_equal 1, @klass.get_and_update_counter
|
26
|
+
assert_equal 1, @klass2.get_and_update_counter
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -6,12 +6,12 @@ class PlatformTest < Test::Unit::TestCase
|
|
6
6
|
# This constant is not defined on non-windows platforms, so define it here
|
7
7
|
File::BINARY = 4096 unless defined?(File::BINARY)
|
8
8
|
|
9
|
-
|
9
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(true)
|
10
10
|
assert_equal Vagrant::Util::Platform.tar_file_options, File::CREAT|File::EXCL|File::WRONLY|File::BINARY
|
11
11
|
end
|
12
12
|
|
13
13
|
should "not include binary bit on other platforms" do
|
14
|
-
|
14
|
+
Vagrant::Util::Platform.stubs(:windows?).returns(false)
|
15
15
|
assert_equal Vagrant::Util::Platform.tar_file_options, File::CREAT|File::EXCL|File::WRONLY
|
16
16
|
end
|
17
17
|
end
|
data/vagrant.gemspec
CHANGED
@@ -17,12 +17,11 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.add_dependency "archive-tar-minitar", "= 0.5.2"
|
18
18
|
s.add_dependency "erubis", "~> 2.7.0"
|
19
19
|
s.add_dependency "json", "~> 1.5.1"
|
20
|
-
s.add_dependency "mario", "~> 0.0.6"
|
21
20
|
s.add_dependency "net-ssh", "~> 2.1.4"
|
22
21
|
s.add_dependency "net-scp", "~> 1.0.4"
|
23
22
|
s.add_dependency "i18n", "~> 0.5.0"
|
24
23
|
s.add_dependency "thor", "~> 0.14.6"
|
25
|
-
s.add_dependency "virtualbox", "~> 0.
|
24
|
+
s.add_dependency "virtualbox", "~> 0.9.0"
|
26
25
|
|
27
26
|
s.add_development_dependency "rake"
|
28
27
|
s.add_development_dependency "contest", ">= 0.1.2"
|
metadata
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
- 1
|
9
|
+
version: 0.8.1
|
6
10
|
platform: ruby
|
7
11
|
authors:
|
8
12
|
- Mitchell Hashimoto
|
@@ -11,151 +15,171 @@ autorequire:
|
|
11
15
|
bindir: bin
|
12
16
|
cert_chain: []
|
13
17
|
|
14
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-20 00:00:00 -07:00
|
19
|
+
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
20
23
|
requirements:
|
21
24
|
- - "="
|
22
25
|
- !ruby/object:Gem::Version
|
26
|
+
segments:
|
27
|
+
- 0
|
28
|
+
- 5
|
29
|
+
- 2
|
23
30
|
version: 0.5.2
|
24
|
-
|
31
|
+
requirement: *id001
|
32
|
+
name: archive-tar-minitar
|
25
33
|
prerelease: false
|
26
|
-
|
34
|
+
type: :runtime
|
27
35
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
29
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
38
|
- - ~>
|
33
39
|
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 2
|
42
|
+
- 7
|
43
|
+
- 0
|
34
44
|
version: 2.7.0
|
35
|
-
|
45
|
+
requirement: *id002
|
46
|
+
name: erubis
|
36
47
|
prerelease: false
|
37
|
-
|
48
|
+
type: :runtime
|
38
49
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
40
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
50
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
42
51
|
requirements:
|
43
52
|
- - ~>
|
44
53
|
- !ruby/object:Gem::Version
|
54
|
+
segments:
|
55
|
+
- 1
|
56
|
+
- 5
|
57
|
+
- 1
|
45
58
|
version: 1.5.1
|
46
|
-
|
59
|
+
requirement: *id003
|
60
|
+
name: json
|
47
61
|
prerelease: false
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: mario
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
|
-
requirements:
|
54
|
-
- - ~>
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 0.0.6
|
57
62
|
type: :runtime
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: *id004
|
60
63
|
- !ruby/object:Gem::Dependency
|
61
|
-
|
62
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
-
none: false
|
64
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
64
65
|
requirements:
|
65
66
|
- - ~>
|
66
67
|
- !ruby/object:Gem::Version
|
68
|
+
segments:
|
69
|
+
- 2
|
70
|
+
- 1
|
71
|
+
- 4
|
67
72
|
version: 2.1.4
|
68
|
-
|
73
|
+
requirement: *id004
|
74
|
+
name: net-ssh
|
69
75
|
prerelease: false
|
70
|
-
|
76
|
+
type: :runtime
|
71
77
|
- !ruby/object:Gem::Dependency
|
72
|
-
|
73
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
78
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
75
79
|
requirements:
|
76
80
|
- - ~>
|
77
81
|
- !ruby/object:Gem::Version
|
82
|
+
segments:
|
83
|
+
- 1
|
84
|
+
- 0
|
85
|
+
- 4
|
78
86
|
version: 1.0.4
|
79
|
-
|
87
|
+
requirement: *id005
|
88
|
+
name: net-scp
|
80
89
|
prerelease: false
|
81
|
-
|
90
|
+
type: :runtime
|
82
91
|
- !ruby/object:Gem::Dependency
|
83
|
-
|
84
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
92
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
86
93
|
requirements:
|
87
94
|
- - ~>
|
88
95
|
- !ruby/object:Gem::Version
|
96
|
+
segments:
|
97
|
+
- 0
|
98
|
+
- 5
|
99
|
+
- 0
|
89
100
|
version: 0.5.0
|
90
|
-
|
101
|
+
requirement: *id006
|
102
|
+
name: i18n
|
91
103
|
prerelease: false
|
92
|
-
|
104
|
+
type: :runtime
|
93
105
|
- !ruby/object:Gem::Dependency
|
94
|
-
|
95
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
106
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
97
107
|
requirements:
|
98
108
|
- - ~>
|
99
109
|
- !ruby/object:Gem::Version
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
- 14
|
113
|
+
- 6
|
100
114
|
version: 0.14.6
|
101
|
-
|
115
|
+
requirement: *id007
|
116
|
+
name: thor
|
102
117
|
prerelease: false
|
103
|
-
|
118
|
+
type: :runtime
|
104
119
|
- !ruby/object:Gem::Dependency
|
105
|
-
|
106
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
120
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
108
121
|
requirements:
|
109
122
|
- - ~>
|
110
123
|
- !ruby/object:Gem::Version
|
111
|
-
|
112
|
-
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
- 9
|
127
|
+
- 0
|
128
|
+
version: 0.9.0
|
129
|
+
requirement: *id008
|
130
|
+
name: virtualbox
|
113
131
|
prerelease: false
|
114
|
-
|
132
|
+
type: :runtime
|
115
133
|
- !ruby/object:Gem::Dependency
|
116
|
-
|
117
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
134
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
119
135
|
requirements:
|
120
136
|
- - ">="
|
121
137
|
- !ruby/object:Gem::Version
|
138
|
+
segments:
|
139
|
+
- 0
|
122
140
|
version: "0"
|
123
|
-
|
141
|
+
requirement: *id009
|
142
|
+
name: rake
|
124
143
|
prerelease: false
|
125
|
-
|
144
|
+
type: :development
|
126
145
|
- !ruby/object:Gem::Dependency
|
127
|
-
|
128
|
-
requirement: &id011 !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
146
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
130
147
|
requirements:
|
131
148
|
- - ">="
|
132
149
|
- !ruby/object:Gem::Version
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
- 1
|
153
|
+
- 2
|
133
154
|
version: 0.1.2
|
134
|
-
|
155
|
+
requirement: *id010
|
156
|
+
name: contest
|
135
157
|
prerelease: false
|
136
|
-
|
158
|
+
type: :development
|
137
159
|
- !ruby/object:Gem::Dependency
|
138
|
-
|
139
|
-
requirement: &id012 !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
160
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
141
161
|
requirements:
|
142
162
|
- - ">="
|
143
163
|
- !ruby/object:Gem::Version
|
164
|
+
segments:
|
165
|
+
- 0
|
144
166
|
version: "0"
|
145
|
-
|
167
|
+
requirement: *id011
|
168
|
+
name: mocha
|
146
169
|
prerelease: false
|
147
|
-
|
170
|
+
type: :development
|
148
171
|
- !ruby/object:Gem::Dependency
|
149
|
-
|
150
|
-
requirement: &id013 !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
172
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
152
173
|
requirements:
|
153
174
|
- - ">="
|
154
175
|
- !ruby/object:Gem::Version
|
176
|
+
segments:
|
177
|
+
- 0
|
155
178
|
version: "0"
|
156
|
-
|
179
|
+
requirement: *id012
|
180
|
+
name: ruby-debug
|
157
181
|
prerelease: false
|
158
|
-
|
182
|
+
type: :development
|
159
183
|
description: Vagrant is a tool for building and distributing virtualized development environments.
|
160
184
|
email:
|
161
185
|
- mitchell.hashimoto@gmail.com
|
@@ -218,12 +242,14 @@ files:
|
|
218
242
|
- lib/vagrant/action/vm/host_name.rb
|
219
243
|
- lib/vagrant/action/vm/import.rb
|
220
244
|
- lib/vagrant/action/vm/match_mac_address.rb
|
245
|
+
- lib/vagrant/action/vm/modify.rb
|
221
246
|
- lib/vagrant/action/vm/network.rb
|
222
247
|
- lib/vagrant/action/vm/nfs.rb
|
223
248
|
- lib/vagrant/action/vm/nfs_helpers.rb
|
224
249
|
- lib/vagrant/action/vm/package.rb
|
225
250
|
- lib/vagrant/action/vm/package_vagrantfile.rb
|
226
251
|
- lib/vagrant/action/vm/provision.rb
|
252
|
+
- lib/vagrant/action/vm/provisioner_cleanup.rb
|
227
253
|
- lib/vagrant/action/vm/resume.rb
|
228
254
|
- lib/vagrant/action/vm/share_folders.rb
|
229
255
|
- lib/vagrant/action/vm/suspend.rb
|
@@ -278,7 +304,7 @@ files:
|
|
278
304
|
- lib/vagrant/provisioners.rb
|
279
305
|
- lib/vagrant/provisioners/base.rb
|
280
306
|
- lib/vagrant/provisioners/chef.rb
|
281
|
-
- lib/vagrant/provisioners/
|
307
|
+
- lib/vagrant/provisioners/chef_client.rb
|
282
308
|
- lib/vagrant/provisioners/chef_solo.rb
|
283
309
|
- lib/vagrant/provisioners/puppet.rb
|
284
310
|
- lib/vagrant/provisioners/puppet_server.rb
|
@@ -295,16 +321,17 @@ files:
|
|
295
321
|
- lib/vagrant/systems/linux/error.rb
|
296
322
|
- lib/vagrant/systems/redhat.rb
|
297
323
|
- lib/vagrant/systems/solaris.rb
|
324
|
+
- lib/vagrant/systems/suse.rb
|
298
325
|
- lib/vagrant/systems/ubuntu.rb
|
299
326
|
- lib/vagrant/test_helpers.rb
|
300
327
|
- lib/vagrant/ui.rb
|
301
328
|
- lib/vagrant/util.rb
|
302
329
|
- lib/vagrant/util/busy.rb
|
330
|
+
- lib/vagrant/util/counter.rb
|
303
331
|
- lib/vagrant/util/hash_with_indifferent_access.rb
|
304
|
-
- lib/vagrant/util/plain_logger.rb
|
305
332
|
- lib/vagrant/util/platform.rb
|
306
|
-
- lib/vagrant/util/resource_logger.rb
|
307
333
|
- lib/vagrant/util/retryable.rb
|
334
|
+
- lib/vagrant/util/safe_exec.rb
|
308
335
|
- lib/vagrant/util/stacked_proc_runner.rb
|
309
336
|
- lib/vagrant/util/template_renderer.rb
|
310
337
|
- lib/vagrant/version.rb
|
@@ -351,12 +378,14 @@ files:
|
|
351
378
|
- test/vagrant/action/vm/host_name_test.rb
|
352
379
|
- test/vagrant/action/vm/import_test.rb
|
353
380
|
- test/vagrant/action/vm/match_mac_address_test.rb
|
381
|
+
- test/vagrant/action/vm/modify_test.rb
|
354
382
|
- test/vagrant/action/vm/network_test.rb
|
355
383
|
- test/vagrant/action/vm/nfs_helpers_test.rb
|
356
384
|
- test/vagrant/action/vm/nfs_test.rb
|
357
385
|
- test/vagrant/action/vm/package_test.rb
|
358
386
|
- test/vagrant/action/vm/package_vagrantfile_test.rb
|
359
387
|
- test/vagrant/action/vm/provision_test.rb
|
388
|
+
- test/vagrant/action/vm/provisioner_cleanup_test.rb
|
360
389
|
- test/vagrant/action/vm/resume_test.rb
|
361
390
|
- test/vagrant/action/vm/share_folders_test.rb
|
362
391
|
- test/vagrant/action/vm/suspend_test.rb
|
@@ -387,7 +416,7 @@ files:
|
|
387
416
|
- test/vagrant/hosts/linux_test.rb
|
388
417
|
- test/vagrant/plugin_test.rb
|
389
418
|
- test/vagrant/provisioners/base_test.rb
|
390
|
-
- test/vagrant/provisioners/
|
419
|
+
- test/vagrant/provisioners/chef_client_test.rb
|
391
420
|
- test/vagrant/provisioners/chef_solo_test.rb
|
392
421
|
- test/vagrant/provisioners/chef_test.rb
|
393
422
|
- test/vagrant/provisioners/puppet_server_test.rb
|
@@ -399,15 +428,15 @@ files:
|
|
399
428
|
- test/vagrant/systems/linux_test.rb
|
400
429
|
- test/vagrant/ui_test.rb
|
401
430
|
- test/vagrant/util/busy_test.rb
|
431
|
+
- test/vagrant/util/counter_test.rb
|
402
432
|
- test/vagrant/util/hash_with_indifferent_access_test.rb
|
403
|
-
- test/vagrant/util/plain_logger_test.rb
|
404
433
|
- test/vagrant/util/platform_test.rb
|
405
|
-
- test/vagrant/util/resource_logger_test.rb
|
406
434
|
- test/vagrant/util/retryable_test.rb
|
407
435
|
- test/vagrant/util/stacked_proc_runner_test.rb
|
408
436
|
- test/vagrant/util/template_renderer_test.rb
|
409
437
|
- test/vagrant/vm_test.rb
|
410
438
|
- vagrant.gemspec
|
439
|
+
has_rdoc: true
|
411
440
|
homepage: http://vagrantup.com
|
412
441
|
licenses: []
|
413
442
|
|
@@ -417,24 +446,25 @@ rdoc_options: []
|
|
417
446
|
require_paths:
|
418
447
|
- lib
|
419
448
|
required_ruby_version: !ruby/object:Gem::Requirement
|
420
|
-
none: false
|
421
449
|
requirements:
|
422
450
|
- - ">="
|
423
451
|
- !ruby/object:Gem::Version
|
424
|
-
hash: -2270927773934283406
|
425
452
|
segments:
|
426
453
|
- 0
|
427
454
|
version: "0"
|
428
455
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
429
|
-
none: false
|
430
456
|
requirements:
|
431
457
|
- - ">="
|
432
458
|
- !ruby/object:Gem::Version
|
459
|
+
segments:
|
460
|
+
- 1
|
461
|
+
- 3
|
462
|
+
- 6
|
433
463
|
version: 1.3.6
|
434
464
|
requirements: []
|
435
465
|
|
436
466
|
rubyforge_project: vagrant
|
437
|
-
rubygems_version: 1.
|
467
|
+
rubygems_version: 1.3.6
|
438
468
|
signing_key:
|
439
469
|
specification_version: 3
|
440
470
|
summary: Build and distribute virtualized development environments.
|