ohai 0.6.8.rc.1 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ohai/plugins/linux/virtualization.rb +3 -1
- data/lib/ohai/version.rb +1 -1
- metadata +7 -11
|
@@ -24,7 +24,7 @@ virtualization Mash.new
|
|
|
24
24
|
# virtualization[:mechanism]
|
|
25
25
|
|
|
26
26
|
## Xen
|
|
27
|
-
#
|
|
27
|
+
# /proc/xen is an empty dir for EL6 + Linode Guests
|
|
28
28
|
if File.exists?("/proc/xen")
|
|
29
29
|
virtualization[:system] = "xen"
|
|
30
30
|
# Assume guest
|
|
@@ -42,6 +42,8 @@ end
|
|
|
42
42
|
# - cpuid of guests, if we could get it, would also be a clue
|
|
43
43
|
# - may be able to determine if under paravirt from /dev/xen/evtchn (See OHAI-253)
|
|
44
44
|
# - EL6 guests carry a 'hypervisor' cpu flag
|
|
45
|
+
# - Additional edge cases likely should not change the above assumptions
|
|
46
|
+
# but rather be additive - btm
|
|
45
47
|
|
|
46
48
|
# Detect from kernel module
|
|
47
49
|
if File.exists?("/proc/modules")
|
data/lib/ohai/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ohai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 23
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 6
|
|
9
9
|
- 8
|
|
10
|
-
|
|
11
|
-
- 1
|
|
12
|
-
version: 0.6.8.rc.1
|
|
10
|
+
version: 0.6.8
|
|
13
11
|
platform: ruby
|
|
14
12
|
authors:
|
|
15
13
|
- Adam Jacob
|
|
@@ -377,14 +375,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
377
375
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
376
|
none: false
|
|
379
377
|
requirements:
|
|
380
|
-
- - "
|
|
378
|
+
- - ">="
|
|
381
379
|
- !ruby/object:Gem::Version
|
|
382
|
-
hash:
|
|
380
|
+
hash: 3
|
|
383
381
|
segments:
|
|
384
|
-
-
|
|
385
|
-
|
|
386
|
-
- 1
|
|
387
|
-
version: 1.3.1
|
|
382
|
+
- 0
|
|
383
|
+
version: "0"
|
|
388
384
|
requirements: []
|
|
389
385
|
|
|
390
386
|
rubyforge_project:
|