vagrant-vsphere 0.9.1 → 0.9.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: bbccf22b0e44382e8f2add33082883350d12afb5
4
- data.tar.gz: 535b241382bf743cf38772121109fc2f6e37635b
3
+ metadata.gz: 35db4ce11715c001c9a4bebf6c8aff7217b49693
4
+ data.tar.gz: 7f5cd308f0ccc72b11909bf7bb08a1d9f4216c90
5
5
  SHA512:
6
- metadata.gz: f219f8c40f9ffd9680e1d70c5355dd33e71459a3215832ad1ab724b37dc53c811b8c6f3430c1936be2f2f839bb123cc3fa97ff51c8bf1978cef303c809f006a1
7
- data.tar.gz: c014ce7bb4eed32bc3bc39358bad9e25630dad57a4905700f5aba803978160884796ded09d87278120df846f7b8b0e6496dd787b9423a42f8b1c3e60fd680a93
6
+ metadata.gz: 13ce317e8bbeb73c86e4f63201dc9b2c7290bb8f6f431b0e0f6f9dcbd903a859a41fb877de5aae001c60b717ef7abadd42018d26a89fd79874f3ac8ef5166367
7
+ data.tar.gz: b882e45a9e16398cb60d5df25fdc2b134fb8b8b0ca7ba02227ac617ada0064a259d6143c79cd11de8b142c23b7c4375bea4a027b1b819eaaaabee4bf2a0ab4ae
data/README.md CHANGED
@@ -12,9 +12,9 @@ This provider is built on top of the [RbVmomi](https://github.com/vmware/rbvmomi
12
12
  * libxml2, libxml2-dev, libxslt, libxslt-dev
13
13
 
14
14
  ## Current Version
15
- **0.9.1**
15
+ **0.9.2**
16
16
 
17
- vagrant-vsphere (0.9.1) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
17
+ vagrant-vsphere (0.9.2) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
18
18
 
19
19
  ## Installation
20
20
 
@@ -170,6 +170,8 @@ This is useful if running Vagrant from multiple directories or if multiple machi
170
170
  * Supports differentiating between SSH/WinRM communicator [#67 marnovdm:feature/waiting-for-winrm](https://github.com/nsidc/vagrant-vsphere/pull/67)
171
171
  * 0.9.1
172
172
  * reuse folder sync code from Vagrant core. [#66 mkuzmin:sync-folders](https://github.com/nsidc/vagrant-vsphere/pull/66)
173
+ * 0.9.2
174
+ * Instruct vagrant to set the guest hostname according to Vagrantfile [#69 ddub:set-hostname](https://github.com/nsidc/vagrant-vsphere/pull/69)
173
175
 
174
176
 
175
177
  ## Versioning
@@ -29,13 +29,13 @@ module VagrantPlugins
29
29
  b2.use MessageNotCreated
30
30
  next
31
31
  end
32
-
32
+
33
33
  b2.use Call, IsRunning do |env, b3|
34
34
  if !env[:result]
35
35
  b3.use MessageNotRunning
36
- next
36
+ next
37
37
  end
38
-
38
+
39
39
  b3.use Provision
40
40
  b3.use SyncedFolders
41
41
  end
@@ -51,19 +51,19 @@ module VagrantPlugins
51
51
  b2.use MessageNotCreated
52
52
  next
53
53
  end
54
-
54
+
55
55
  b2.use Call, IsRunning do |env, b3|
56
56
  if !env[:result]
57
57
  b3.use MessageNotRunning
58
58
  next
59
59
  end
60
-
60
+
61
61
  b3.use SSHExec
62
62
  end
63
63
  end
64
64
  end
65
65
  end
66
-
66
+
67
67
  def self.action_ssh_run
68
68
  Vagrant::Action::Builder.new.tap do |b|
69
69
  b.use ConfigValidate
@@ -78,7 +78,7 @@ module VagrantPlugins
78
78
  b3.use MessageNotRunning
79
79
  next
80
80
  end
81
-
81
+
82
82
  b3.use SSHRun
83
83
  end
84
84
  end
@@ -95,16 +95,17 @@ module VagrantPlugins
95
95
  next
96
96
  end
97
97
 
98
- b2.use Clone
98
+ b2.use Clone
99
99
  end
100
100
  b.use Call, IsRunning do |env, b2|
101
101
  if !env[:result]
102
102
  b2.use PowerOn
103
103
  end
104
104
  end
105
- b.use CloseVSphere
106
- b.use Provision
105
+ b.use CloseVSphere
106
+ b.use Provision
107
107
  b.use SyncedFolders
108
+ b.use SetHostname
108
109
  end
109
110
  end
110
111
 
@@ -117,13 +118,13 @@ module VagrantPlugins
117
118
  b2.use MessageNotCreated
118
119
  next
119
120
  end
120
-
121
+
121
122
  b2.use Call, IsRunning do |env, b3|
122
123
  if !env[:result]
123
124
  b3.use MessageNotRunning
124
125
  next
125
126
  end
126
-
127
+
127
128
  b3.use PowerOff
128
129
  end
129
130
  end
@@ -168,4 +169,3 @@ module VagrantPlugins
168
169
  end
169
170
  end
170
171
  end
171
-
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '0.9.1'
3
+ VERSION = '0.9.2'
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -53,7 +53,12 @@ RSpec.configure do |config|
53
53
  :proxy_host => nil,
54
54
  :proxy_port => nil)
55
55
  vm_config = double(
56
- :vm => double('config_vm', :synced_folders => [], :provisioners => [], :communicator => nil, :networks => [[:private_network, {:ip => '0.0.0.0'}]]),
56
+ :vm => double('config_vm',
57
+ :synced_folders => [],
58
+ :provisioners => [],
59
+ :hostname => nil,
60
+ :communicator => nil,
61
+ :networks => [[:private_network, {:ip => '0.0.0.0'}]]),
57
62
  :validate => []
58
63
  )
59
64
  @app = double 'app', :call => true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch