kitchen-hyperv 0.1.2 → 0.1.3

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: 08b66a264c41b9f56d64fd1de451a514ab7ddbcd
4
- data.tar.gz: 1ea509987699acbfc8e6dadceaa19a2e2ea075e9
3
+ metadata.gz: e4e642af67fa6dbf7dd7ef08ef7606cf98d1b9ad
4
+ data.tar.gz: e46fe0ffef97676104b6df51e1a0b58cf039317e
5
5
  SHA512:
6
- metadata.gz: 40631cf5a2e0fb26c5208f810ced9c4ca6dd112cdd31450bca117ed2cc4af02884820a21b76c7f486e65cb48156ba43a1a32ab9abf0d961bb9b473e08d975b1b
7
- data.tar.gz: 86d63235552847a2fe42751bf800692ae515bcfc2fb9d6e9b8dc84a31d031c83d292997fcb04a48319c0cbb19b9c96060d8300182fd50e7598b9b0e0d3fa6fa9
6
+ metadata.gz: 2ed858d108232d6f6924576ed1303468f0bb6a0f9a420956d602a6871ba04dccfbce92a3c757a3cb26fb274efffe4abf4e4ab86abc4d62bb16427a95dde45dbe
7
+ data.tar.gz: cf81b9412cdf7a56cbab5cb4c83fbf3c8223c4098e8054ee755a1f3fc8b286f8f2a556e3b5839a36deb332b3b800d5dc626b00b2ca8e2456b4be79c812fbd331
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ *.gem
data/README.md CHANGED
@@ -35,8 +35,6 @@ driver:
35
35
  * amount of RAM to assign to each virtual machine. Defaults to 536,870,912.
36
36
  * processor_count
37
37
  * number of virtual processors to assign to each virtual machine. Defaults to 2.
38
- * username
39
- * Username to log into the virtual machine. Specify a local account, without a leading '.\'. Defaults to Administrator
40
38
  * ip_address
41
39
  * IP address for the virtual machine. If the VM is not on a network with DHCP, this can be used to assign an IP that can be reached from the host machine.
42
40
  * vm_switch
@@ -38,9 +38,6 @@ module Kitchen
38
38
  default_config :parent_vhd_name
39
39
  default_config :memory_startup_bytes, 536_870_912
40
40
  default_config :processor_count, 2
41
- default_config :password
42
- # because test-kitchen defaults to the wrong value
43
- default_config :username, 'Administrator'
44
41
  default_config :ip_address
45
42
  default_config :vm_switch
46
43
 
@@ -87,7 +84,7 @@ module Kitchen
87
84
 
88
85
  def vm_exists
89
86
  info('Checking for existing virtual machine.')
90
- return false unless @state.key?(:id) || @state[:id].nil?
87
+ return false unless @state.key?(:id) && !@state[:id].nil?
91
88
  existing_vm = run_ps ensure_vm_running_ps
92
89
  info("Found an exising VM with an ID: #{existing_vm['Id']}")
93
90
  return true unless existing_vm.nil? || existing_vm['Id'].nil?
@@ -126,8 +123,6 @@ module Kitchen
126
123
  @state[:id] = @vm['Id']
127
124
  @state[:hostname] = @vm['IpAddress']
128
125
  @state[:vm_name] = @vm['Name']
129
- @state[:password] = config[:password]
130
- @state[:username] = config[:username]
131
126
  end
132
127
 
133
128
  def vm_details
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Kitchen
19
19
  module Driver
20
- HYPERV_VERSION = '0.1.2'
20
+ HYPERV_VERSION = '0.1.3'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-hyperv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-20 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler