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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7921deee4b96c4a9dff76fd076a0976595fcf32
4
- data.tar.gz: 228f26b02b6eb32d08d62c59500a8c9618357382
3
+ metadata.gz: 9481686204d161ed6766034bed50ba9e5591dbca
4
+ data.tar.gz: 19946c9cd8111f6e375c61b15b68ca38fdb7187f
5
5
  SHA512:
6
- metadata.gz: 5d8076e0a367c99e6a8580b2d718eb7975e42c319d390b19cd9dff0fae6b8b983a891c454dbd8ca90ff9bfc512ea3f5f522c9651038cfe6805cc60589ffb926e
7
- data.tar.gz: 5523a1fd974ad0d5617a5bc39c662d68e94fdc0022a5ba9cb02bd8629213086a17e8c79bfe5359b144ff774cca6d455de84feaa9204d29ed99451fa0397175f7
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.1](https://github.com/frapposelli/vagrant-vcloud/releases/tag/v0.2.1) has been released!
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VCloud
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
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.1
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-03 00:00:00.000000000 Z
12
+ date: 2014-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n