chef-provisioning-vra 0.2.1 → 0.3.0

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: 58fb5f7df2919675ec5a75bead06f90068ddadf8
4
- data.tar.gz: a32a6af1ee7750a6b383ff8d705e1462b38a5972
3
+ metadata.gz: 8eb0c1cab46c0ae9ce9dfd950b6df107e5a62f9a
4
+ data.tar.gz: 41946885e334770fea2ed6eef23fa18a4b90abc9
5
5
  SHA512:
6
- metadata.gz: 24beba481aa33edef3c9991705dd32f0039134c664edd516bff2db0e2bd567fe8d270ab5caa1da3e0f1c5c9ee83fa8a44a5c1a06172d1d39730ff929b9471a26
7
- data.tar.gz: 41f0ed15009cb0444e7742140b23629014b7b92c331878c75c34d415180f40963de277c62d0e5474b0539e815d8c8c9da6367f5ceae4922b89f3aca2a8f26383
6
+ metadata.gz: 40513beefd8d65fc8d6c9136ff62df17268bac2dd8a20faefebb884346db7d0adffac7bd8c842930784d82bc0fe9e95a7cac136c44ce574c889cb27eeeab580b
7
+ data.tar.gz: 08aaac02fb78f1b89e47dcb29086097c6e0fdeeb76e6a1a13eb1a73513ae37a7ddb2c8fb413186e0a1a7cfd0a2cce4ab9f65939b5f635e51156bb3ff4657cd61
data/.travis.yml CHANGED
@@ -1,7 +1,19 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  sudo: false
4
+
4
5
  rvm:
5
- - 2.0.0
6
- - 2.1
7
- - 2.2
6
+ - 2.0.0
7
+ - 2.1
8
+ - 2.2
9
+
10
+ branches:
11
+ only:
12
+ - master
13
+
14
+ notifications:
15
+ slack:
16
+ on_success: change
17
+ on_failure: always
18
+ rooms:
19
+ secure: iESaLLqy5RK9os0fB83vXF0DgmMaWE8/tuhEg6rL6m2YlHq+mHwT5Hoc+YIFHbzl4PXS07i99ICFpGiUXuyHSn0jrNrI4z4BRA+3EZ+DLmhHGis3znWZJ1SxrCjYCZazj0SFG49mwaZjeggQNafPm/++sqzVVI5zJuLx+92Dwuztr4sa20Oa2UOKtCsgkNojmNwTKNqlN+bh+/pX7IH5rVUDMkd3k8Sdrd8Jk0AblztGvXJO/Sn+L6Ud9NAb38bVkC7Pw8Zows6Icw4ioCIwH4tl/AI6NwfvHJu33UqoEZu/8aBkSvgjGi+hTaztcwK9xMpK70AZlYEqNS4bVTAw/otAbw+xnqWUQfL3Kc2MjSpxdiLDXhELtV9jV/VlnDwX3L79B0sICKFdcLHrG8I4tMgCDxYTNjUHY+UcccHrPsYwXn01lkCc6Pa7LZnCqS69/2vVfdb8i2LOaEvMvj9uLeeADu2EHeqM0VV1Y58dRCef7Ls8cOiOZEqghG24H1Cu26vHKamLUMZu0ctYOOmxGP159j1iwCkygb2k10BXTGdFuMch3GE3RfwaPFk8UZoY+0tQNP5OGiHhhLyLo16yxXQuDyHq5kkSMuhT/34kdY2cZuJAi8U79YJkNb29CGPUeBJ1QqXulYg/xPKW03FBWxpbkPjdPr9WTbpMGOlhBwc=
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # chef-provisioning-vra CHANGELOG
2
2
 
3
+ ## v0.3.0 (2016-01-06)
4
+
5
+ * [pr#7](https://github.com/chef-partners/chef-provisioning-vra/pull/7) Storing the vRA resource (host) name in the Chef node object so it can be displayed/queried in cases where the machine resource name does not match the vRA-generated hostname
6
+
3
7
  ## v0.2.1 (2015-12-17)
4
8
  * [pr#6](https://github.com/chef-partners/chef-provisioning-vra/pull/6) Fixing bug that would cause machines to not properly converge when used with machine_batch
5
9
 
@@ -62,6 +62,7 @@ class Chef
62
62
  'driver_url' => driver_url,
63
63
  'driver_version' => Chef::Provisioning::VraDriver::VERSION,
64
64
  'resource_id' => resource.id,
65
+ 'resource_name' => resource.name,
65
66
  'allocated_at' => Time.now.utc.to_s,
66
67
  'is_windows' => transport_options[:is_windows]
67
68
  }
@@ -19,7 +19,7 @@
19
19
  class Chef
20
20
  module Provisioning
21
21
  module VraDriver
22
- VERSION = '0.2.1'
22
+ VERSION = '0.3.0'
23
23
  end
24
24
  end
25
25
  end
@@ -82,6 +82,7 @@ describe Chef::Provisioning::VraDriver::Driver do
82
82
  'driver_url' => 'vra:https://vra-test.corp.local',
83
83
  'driver_version' => driver_version,
84
84
  'resource_id' => 'test_id',
85
+ 'resource_name' => 'test_name',
85
86
  'allocated_at' => 'test_time',
86
87
  'is_windows' => false
87
88
  }
@@ -89,6 +90,7 @@ describe Chef::Provisioning::VraDriver::Driver do
89
90
 
90
91
  before do
91
92
  allow(resource).to receive(:id).and_return('test_id')
93
+ allow(resource).to receive(:name).and_return('test_name')
92
94
  allow(driver).to receive(:resource_for).and_return(nil)
93
95
  allow(driver).to receive(:bootstrap_options_for).and_return(bootstrap_options)
94
96
  allow(driver).to receive(:transport_options_for).and_return(transport_options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-vra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Partner Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-provisioning