vagrantup 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/vagrant/commands/box/add.rb +7 -1
- data/lib/vagrant/commands/box/remove.rb +1 -2
- data/lib/vagrant/ssh.rb +1 -1
- data/lib/vagrant/util/platform.rb +5 -1
- data/lib/vagrant/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db0a5baa8103acf0b222bc6799521d12ff95937
|
4
|
+
data.tar.gz: 9e103e6e9d98c4a2c1dd59c7c54c1517cb4e1cf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88189457ac64979a5d4170cab4549bb4f06ead6e8b57e453736d3213f5fb9642932e6f18184203160efd6232104df014934bcedb22c397c5043e7da24c75af5b
|
7
|
+
data.tar.gz: 6c67769e5b511df5b3a9496163455da99a398796c8af1a245226b88a7c3844c70c45067881c0855e11d0a2aba14444cbb222603fb6fb879bd2094c3b50b6b5e5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.5.4 (September 7, 2010)
|
2
|
+
|
3
|
+
- Fix issue with the "exec failed" by running on Tiger as well.
|
4
|
+
- Give an error when downloading a box which already exists prior
|
5
|
+
to actually downloading the box.
|
6
|
+
|
1
7
|
## 0.5.3 (August 23, 2010)
|
2
8
|
|
3
9
|
- Add erubis as a dependency since its rendering of `erb` is sane.
|
data/Gemfile.lock
CHANGED
@@ -12,6 +12,12 @@ module Vagrant
|
|
12
12
|
return
|
13
13
|
end
|
14
14
|
|
15
|
+
box = Vagrant::Box.find(env, args[0])
|
16
|
+
if !box.nil?
|
17
|
+
error_and_exit(:box_already_exists)
|
18
|
+
return # for tests
|
19
|
+
end
|
20
|
+
|
15
21
|
Vagrant::Box.add(env, args[0], args[1])
|
16
22
|
end
|
17
23
|
|
@@ -21,4 +27,4 @@ module Vagrant
|
|
21
27
|
end
|
22
28
|
end
|
23
29
|
end
|
24
|
-
end
|
30
|
+
end
|
data/lib/vagrant/ssh.rb
CHANGED
@@ -41,7 +41,7 @@ module Vagrant
|
|
41
41
|
# (GH-51). As a workaround, we fork and wait. On all other platforms,
|
42
42
|
# we simply exec.
|
43
43
|
pid = nil
|
44
|
-
pid = fork if Util::Platform.leopard?
|
44
|
+
pid = fork if Util::Platform.leopard? || Util::Platform.tiger?
|
45
45
|
Kernel.exec "ssh #{command_options.join(" ")} #{options[:username]}@#{options[:host]}".strip if pid.nil?
|
46
46
|
Process.wait(pid) if pid
|
47
47
|
end
|
@@ -3,8 +3,12 @@ module Vagrant
|
|
3
3
|
# This class just contains some platform checking code.
|
4
4
|
class Platform
|
5
5
|
class << self
|
6
|
+
def tiger?
|
7
|
+
platform.include?("darwin8")
|
8
|
+
end
|
9
|
+
|
6
10
|
def leopard?
|
7
|
-
|
11
|
+
platform.include?("darwin9")
|
8
12
|
end
|
9
13
|
|
10
14
|
[:darwin, :bsd, :linux].each do |type|
|
data/lib/vagrant/version.rb
CHANGED