clc-chef-metal-vsphere 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef_metal_vsphere/version.rb +1 -1
- data/lib/chef_metal_vsphere/vsphere_driver.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84922d9f5a170efeecec91795bad384a9e41771e
|
4
|
+
data.tar.gz: 46190bd2cc9bd0158fedd0e6d89ab1252d0e81fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8c95fba3b5d48b15b2b3dc6f6e5945f81ea3ac6b4abb258b51194f5d5f96ce0be739fbef931ec391bc2b4b2e5e952af331a8d1b0cad613cfa0c4d10293d1d90
|
7
|
+
data.tar.gz: 24e409341e20eef2599d514757d9606ec5b66c2e98f59b761295a6b27d67d1983333e2f6b67d2d0d7880253ea17d99f8eeb162ffd0bf5af13c6ac25c99d8f023
|
@@ -245,7 +245,7 @@ module ChefMetalVsphere
|
|
245
245
|
|
246
246
|
if is_static
|
247
247
|
if machine.execute_always('host google.com').exitstatus != 0
|
248
|
-
distro = machine.execute_always("lsb_release -i | sed -e 's/Distributor ID
|
248
|
+
distro = machine.execute_always("lsb_release -i | sed -e 's/Distributor ID:\\t//g'").stdout.strip
|
249
249
|
if distro == 'Ubuntu'
|
250
250
|
distro_version = (machine.execute_always("lsb_release -r | sed -e s/[^0-9.]//g")).stdout.strip.to_f
|
251
251
|
if distro_version>= 12.04
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clc-chef-metal-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CenturyLink Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|