vagrant-vcloud 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/vagrant-vcloud/action.rb +7 -3
- data/lib/vagrant-vcloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9481686204d161ed6766034bed50ba9e5591dbca
|
4
|
+
data.tar.gz: 19946c9cd8111f6e375c61b15b68ca38fdb7187f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce9057ebddf373a0df383f07cba284c2cd67ec4943eb858f7a583c5cbbd39ccc0005905647b80c6e2aae8f1255db71ebf99774b553a9a6f7c4b35a83df9bd547
|
7
|
+
data.tar.gz: 284e9b7bd5a7f095d2aeaec1ddf78e3a933a8ad39f5b993c8dd89ce69d368fe0a437aaa393b637346b01ac6f3e59c419c34b34e1ba25ecbc73bbb954017e9de5
|
data/README.md
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
[Vagrant](http://www.vagrantup.com) provider for VMware vCloud Director®
|
2
2
|
=============
|
3
3
|
|
4
|
-
[Version 0.2.
|
4
|
+
[Version 0.2.2](https://github.com/frapposelli/vagrant-vcloud/releases/tag/v0.2.2) has been released!
|
5
5
|
-------------
|
6
6
|
|
7
7
|
Please note that this software is still Alpha/Beta quality and is not recommended for production usage.
|
8
8
|
|
9
9
|
Right now a [Precise32](http://vagrant.tsugliani.fr/precise32.box) is available for use, or you can roll your own as you please, make sure to install VMware tools in it.
|
10
10
|
|
11
|
+
Features of Version 0.2.2 are:
|
12
|
+
|
13
|
+
- Fixed Issue #32 - Port Forwarding rules are deleted when Halting a VM.
|
14
|
+
|
11
15
|
Features of Version 0.2.1 are:
|
12
16
|
|
13
17
|
- Critical Bugfixes
|
@@ -3,6 +3,8 @@ require 'vagrant/action/builder'
|
|
3
3
|
|
4
4
|
module VagrantPlugins
|
5
5
|
module VCloud
|
6
|
+
# This module dictates the actions to be performed by Vagrant when called
|
7
|
+
# with a specific command
|
6
8
|
module Action
|
7
9
|
include Vagrant::Action::Builtin
|
8
10
|
|
@@ -69,9 +71,6 @@ module VagrantPlugins
|
|
69
71
|
b.use Call, IsPaused do |env, b2|
|
70
72
|
b2.use Resume if env[:result]
|
71
73
|
end
|
72
|
-
b.use Call, IsBridged do |env, b2|
|
73
|
-
b2.use UnmapPortForwardings unless env[:bridged_network]
|
74
|
-
end
|
75
74
|
b.use PowerOff
|
76
75
|
end
|
77
76
|
end
|
@@ -106,6 +105,11 @@ module VagrantPlugins
|
|
106
105
|
b2.use Call, IsRunning do |env2, b3|
|
107
106
|
# If the VM is running, must power off
|
108
107
|
b3.use action_halt if env2[:result]
|
108
|
+
# Check if the network is bridged
|
109
|
+
b3.use Call, IsBridged do |env3, b4|
|
110
|
+
# if it's not, delete port forwardings.
|
111
|
+
b4.use UnmapPortForwardings unless env3[:bridged_network]
|
112
|
+
end
|
109
113
|
b3.use Destroy
|
110
114
|
end
|
111
115
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabio Rapposelli
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|