clc-chef-metal-vsphere 0.3.6 → 0.3.7

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: 9863336c2f543236c7294649ab5f0b027b2f05a8
4
- data.tar.gz: 6ccfa48711e036af492b53a396f53b9d36ce6196
3
+ metadata.gz: 4bae3066ffaa6c846668d54f72ff4c24f4f7488f
4
+ data.tar.gz: cc7e238a302925336a2c2a86e51b7e3bc183bc6f
5
5
  SHA512:
6
- metadata.gz: 65960c6b8e9195b827c37a9bf4ba6cffc011cb389864a6d7ef4f86c09d29f11e911315dc2c0ad50ac3937a5eae1de93d09139e1a09bcd36f6db999e6a15bee72
7
- data.tar.gz: 9cd8090192fd5ea25bd6198b8e64d973b0b72b901e8229114524d4cd864631053d3a5051eb532e2725c2dc48315bdca03efea9a7061fe26e29a9a42fc91c1ad5
6
+ metadata.gz: 4d1e3b6f90a4a26d6438bccc1b3c9cbe5096e8096cb08ebf998d87fa85a9d37f4478c9473b9cd7caddb4530f7a9e21e2a6c337f26ec1b6f37fc123913522e032
7
+ data.tar.gz: 3b90c6db293e5902110b302d395c0abfd35fb2df4373fae45e64e8f6903eb0ab42dcc9687604b4ea7da9e9836c127382f5466abb6780d6b3933f2ea04ee478ce
@@ -1,3 +1,3 @@
1
1
  module ChefMetalVsphere
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
  end
@@ -246,8 +246,10 @@ module ChefMetalVsphere
246
246
  if is_static
247
247
  if machine.execute_always('host google.com').exitstatus != 0
248
248
  distro = machine.execute_always("lsb_release -i | sed -e 's/Distributor ID://g'").stdout.strip
249
+ Chef::Log.info "Found distro:#{distro}"
249
250
  if distro == 'Ubuntu'
250
251
  distro_version = (machine.execute_always("lsb_release -r | sed -e s/[^0-9.]//g")).stdout.strip.to_f
252
+ Chef::Log.info "Found distro version:#{distro_version}"
251
253
  if distro_version>= 12.04
252
254
  Chef::Log.info "Ubuntu version 12.04 or greater. Need to patch DNS."
253
255
  interfaces_file = "/etc/network/interfaces"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clc-chef-metal-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud