ohai 14.6.2 → 14.8.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ohai/mixin/gce_metadata.rb +5 -1
- data/lib/ohai/plugins/bsd/virtualization.rb +20 -22
- data/lib/ohai/plugins/linux/platform.rb +19 -8
- data/lib/ohai/plugins/linux/virtualization.rb +14 -0
- data/lib/ohai/version.rb +1 -1
- data/ohai.gemspec +2 -2
- data/spec/unit/plugins/bsd/virtualization_spec.rb +60 -65
- data/spec/unit/plugins/linux/platform_spec.rb +36 -4
- data/spec/unit/plugins/linux/virtualization_spec.rb +13 -0
- metadata +3 -23
- data/README.md +0 -88
- data/spec/data/plugins/___lib64___libc.so.6.output +0 -135
- data/spec/data/plugins/___lib___libc.so.6.output +0 -135
- data/spec/data/plugins/cc.output +0 -135
- data/spec/data/plugins/cl.output +0 -135
- data/spec/data/plugins/devenv.com.output +0 -135
- data/spec/data/plugins/env.output +0 -71
- data/spec/data/plugins/erl.output +0 -144
- data/spec/data/plugins/gcc.output +0 -135
- data/spec/data/plugins/groovy.output +0 -159
- data/spec/data/plugins/java.output +0 -143
- data/spec/data/plugins/lua.output +0 -143
- data/spec/data/plugins/node.output +0 -143
- data/spec/data/plugins/perl.output +0 -143
- data/spec/data/plugins/php.output +0 -159
- data/spec/data/plugins/python.output +0 -143
- data/spec/data/plugins/uname.output +0 -71
- data/spec/data/plugins/v7message.rb +0 -7
- data/spec/data/plugins/what.output +0 -135
- data/spec/data/plugins/xlc.output +0 -135
@@ -1,143 +0,0 @@
|
|
1
|
-
platform "centos-5.9"
|
2
|
-
arch "x86"
|
3
|
-
env []
|
4
|
-
params "-c \"import sys; print sys.version\""
|
5
|
-
stdout "2.4.3 (#1, Jan 9 2013, 06:49:54) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]\n"
|
6
|
-
stderr ""
|
7
|
-
exit_status 0
|
8
|
-
|
9
|
-
platform "centos-5.9"
|
10
|
-
arch "x86"
|
11
|
-
env ["python"]
|
12
|
-
params "-c \"import sys; print sys.version\""
|
13
|
-
stdout "2.4.3 (#1, Jan 9 2013, 06:49:54) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]\n"
|
14
|
-
stderr ""
|
15
|
-
exit_status 0
|
16
|
-
|
17
|
-
platform "centos-5.9"
|
18
|
-
arch "x64"
|
19
|
-
env []
|
20
|
-
params "-c \"import sys; print sys.version\""
|
21
|
-
stdout "2.4.3 (#1, Jan 9 2013, 06:47:03) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]\n"
|
22
|
-
stderr ""
|
23
|
-
exit_status 0
|
24
|
-
|
25
|
-
platform "centos-5.9"
|
26
|
-
arch "x64"
|
27
|
-
env ["python"]
|
28
|
-
params "-c \"import sys; print sys.version\""
|
29
|
-
stdout "2.4.3 (#1, Jan 9 2013, 06:47:03) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]\n"
|
30
|
-
stderr ""
|
31
|
-
exit_status 0
|
32
|
-
|
33
|
-
platform "centos-6.4"
|
34
|
-
arch "x86"
|
35
|
-
env []
|
36
|
-
params "-c \"import sys; print sys.version\""
|
37
|
-
stdout "2.6.6 (r266:84292, Feb 21 2013, 23:54:59) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]\n"
|
38
|
-
stderr ""
|
39
|
-
exit_status 0
|
40
|
-
|
41
|
-
platform "centos-6.4"
|
42
|
-
arch "x86"
|
43
|
-
env ["python"]
|
44
|
-
params "-c \"import sys; print sys.version\""
|
45
|
-
stdout "2.6.6 (r266:84292, Jul 10 2013, 22:43:23) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]\n"
|
46
|
-
stderr ""
|
47
|
-
exit_status 0
|
48
|
-
|
49
|
-
platform "centos-6.4"
|
50
|
-
arch "x64"
|
51
|
-
env []
|
52
|
-
params "-c \"import sys; print sys.version\""
|
53
|
-
stdout "2.6.6 (r266:84292, Feb 22 2013, 00:00:18) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]\n"
|
54
|
-
stderr ""
|
55
|
-
exit_status 0
|
56
|
-
|
57
|
-
platform "centos-6.4"
|
58
|
-
arch "x64"
|
59
|
-
env ["python"]
|
60
|
-
params "-c \"import sys; print sys.version\""
|
61
|
-
stdout "2.6.6 (r266:84292, Jul 10 2013, 22:48:45) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]\n"
|
62
|
-
stderr ""
|
63
|
-
exit_status 0
|
64
|
-
|
65
|
-
platform "ubuntu-10.04"
|
66
|
-
arch "x86"
|
67
|
-
env []
|
68
|
-
params "-c \"import sys; print sys.version\""
|
69
|
-
stdout "2.6.5 (r265:79063, Oct 1 2012, 22:07:21) \n[GCC 4.4.3]\n"
|
70
|
-
stderr ""
|
71
|
-
exit_status 0
|
72
|
-
|
73
|
-
platform "ubuntu-10.04"
|
74
|
-
arch "x86"
|
75
|
-
env ["python"]
|
76
|
-
params "-c \"import sys; print sys.version\""
|
77
|
-
stdout "2.6.5 (r265:79063, Oct 1 2012, 22:07:21) \n[GCC 4.4.3]\n"
|
78
|
-
stderr ""
|
79
|
-
exit_status 0
|
80
|
-
|
81
|
-
platform "ubuntu-10.04"
|
82
|
-
arch "x64"
|
83
|
-
env []
|
84
|
-
params "-c \"import sys; print sys.version\""
|
85
|
-
stdout "2.6.5 (r265:79063, Oct 1 2012, 22:04:36) \n[GCC 4.4.3]\n"
|
86
|
-
stderr ""
|
87
|
-
exit_status 0
|
88
|
-
|
89
|
-
platform "ubuntu-10.04"
|
90
|
-
arch "x64"
|
91
|
-
env ["python"]
|
92
|
-
params "-c \"import sys; print sys.version\""
|
93
|
-
stdout "2.6.5 (r265:79063, Oct 1 2012, 22:04:36) \n[GCC 4.4.3]\n"
|
94
|
-
stderr ""
|
95
|
-
exit_status 0
|
96
|
-
|
97
|
-
platform "ubuntu-12.04"
|
98
|
-
arch "x86"
|
99
|
-
env []
|
100
|
-
params "-c \"import sys; print sys.version\""
|
101
|
-
stdout "2.7.3 (default, Aug 1 2012, 05:16:07) \n[GCC 4.6.3]\n"
|
102
|
-
stderr ""
|
103
|
-
exit_status 0
|
104
|
-
|
105
|
-
platform "ubuntu-12.04"
|
106
|
-
arch "x86"
|
107
|
-
env ["python"]
|
108
|
-
params "-c \"import sys; print sys.version\""
|
109
|
-
stdout "2.7.3 (default, Apr 10 2013, 05:46:21) \n[GCC 4.6.3]\n"
|
110
|
-
stderr ""
|
111
|
-
exit_status 0
|
112
|
-
|
113
|
-
platform "ubuntu-12.04"
|
114
|
-
arch "x64"
|
115
|
-
env []
|
116
|
-
params "-c \"import sys; print sys.version\""
|
117
|
-
stdout "2.7.3 (default, Aug 1 2012, 05:14:39) \n[GCC 4.6.3]\n"
|
118
|
-
stderr ""
|
119
|
-
exit_status 0
|
120
|
-
|
121
|
-
platform "ubuntu-12.04"
|
122
|
-
arch "x64"
|
123
|
-
env ["python"]
|
124
|
-
params "-c \"import sys; print sys.version\""
|
125
|
-
stdout "2.7.3 (default, Apr 10 2013, 06:20:15) \n[GCC 4.6.3]\n"
|
126
|
-
stderr ""
|
127
|
-
exit_status 0
|
128
|
-
|
129
|
-
platform "ubuntu-13.04"
|
130
|
-
arch "x64"
|
131
|
-
env []
|
132
|
-
params "-c \"import sys; print sys.version\""
|
133
|
-
stdout "2.7.4 (default, Apr 19 2013, 18:28:01) \n[GCC 4.7.3]\n"
|
134
|
-
stderr ""
|
135
|
-
exit_status 0
|
136
|
-
|
137
|
-
platform "ubuntu-13.04"
|
138
|
-
arch "x64"
|
139
|
-
env ["python"]
|
140
|
-
params "-c \"import sys; print sys.version\""
|
141
|
-
stdout "2.7.4 (default, Apr 19 2013, 18:28:01) \n[GCC 4.7.3]\n"
|
142
|
-
stderr ""
|
143
|
-
exit_status 0
|
@@ -1,71 +0,0 @@
|
|
1
|
-
platform "centos-5.9"
|
2
|
-
arch "x86"
|
3
|
-
env []
|
4
|
-
params "-o"
|
5
|
-
stdout "GNU/Linux\n"
|
6
|
-
stderr ""
|
7
|
-
exit_status 0
|
8
|
-
|
9
|
-
platform "centos-5.9"
|
10
|
-
arch "x64"
|
11
|
-
env []
|
12
|
-
params "-o"
|
13
|
-
stdout "GNU/Linux\n"
|
14
|
-
stderr ""
|
15
|
-
exit_status 0
|
16
|
-
|
17
|
-
platform "centos-6.4"
|
18
|
-
arch "x86"
|
19
|
-
env []
|
20
|
-
params "-o"
|
21
|
-
stdout "GNU/Linux\n"
|
22
|
-
stderr ""
|
23
|
-
exit_status 0
|
24
|
-
|
25
|
-
platform "centos-6.4"
|
26
|
-
arch "x64"
|
27
|
-
env []
|
28
|
-
params "-o"
|
29
|
-
stdout "GNU/Linux\n"
|
30
|
-
stderr ""
|
31
|
-
exit_status 0
|
32
|
-
|
33
|
-
platform "ubuntu-10.04"
|
34
|
-
arch "x86"
|
35
|
-
env []
|
36
|
-
params "-o"
|
37
|
-
stdout "GNU/Linux\n"
|
38
|
-
stderr ""
|
39
|
-
exit_status 0
|
40
|
-
|
41
|
-
platform "ubuntu-10.04"
|
42
|
-
arch "x64"
|
43
|
-
env []
|
44
|
-
params "-o"
|
45
|
-
stdout "GNU/Linux\n"
|
46
|
-
stderr ""
|
47
|
-
exit_status 0
|
48
|
-
|
49
|
-
platform "ubuntu-12.04"
|
50
|
-
arch "x86"
|
51
|
-
env []
|
52
|
-
params "-o"
|
53
|
-
stdout "GNU/Linux\n"
|
54
|
-
stderr ""
|
55
|
-
exit_status 0
|
56
|
-
|
57
|
-
platform "ubuntu-12.04"
|
58
|
-
arch "x64"
|
59
|
-
env []
|
60
|
-
params "-o"
|
61
|
-
stdout "GNU/Linux\n"
|
62
|
-
stderr ""
|
63
|
-
exit_status 0
|
64
|
-
|
65
|
-
platform "ubuntu-13.04"
|
66
|
-
arch "x64"
|
67
|
-
env []
|
68
|
-
params "-o"
|
69
|
-
stdout "GNU/Linux\n"
|
70
|
-
stderr ""
|
71
|
-
exit_status 0
|
@@ -1,135 +0,0 @@
|
|
1
|
-
platform "centos-5.5"
|
2
|
-
arch "x64"
|
3
|
-
env []
|
4
|
-
params "/opt/ansic/bin/cc"
|
5
|
-
stdout ""
|
6
|
-
stderr "command not found"
|
7
|
-
exit_status 127
|
8
|
-
|
9
|
-
platform "centos-6.2"
|
10
|
-
arch "x86"
|
11
|
-
env []
|
12
|
-
params "/opt/ansic/bin/cc"
|
13
|
-
stdout ""
|
14
|
-
stderr "command not found"
|
15
|
-
exit_status 127
|
16
|
-
|
17
|
-
platform "centos-6.2"
|
18
|
-
arch "x64"
|
19
|
-
env []
|
20
|
-
params "/opt/ansic/bin/cc"
|
21
|
-
stdout ""
|
22
|
-
stderr "command not found"
|
23
|
-
exit_status 127
|
24
|
-
|
25
|
-
platform "ubuntu-10.04"
|
26
|
-
arch "x86"
|
27
|
-
env []
|
28
|
-
params "/opt/ansic/bin/cc"
|
29
|
-
stdout ""
|
30
|
-
stderr "command not found"
|
31
|
-
exit_status 127
|
32
|
-
|
33
|
-
platform "ubuntu-10.04"
|
34
|
-
arch "x64"
|
35
|
-
env []
|
36
|
-
params "/opt/ansic/bin/cc"
|
37
|
-
stdout ""
|
38
|
-
stderr "command not found"
|
39
|
-
exit_status 127
|
40
|
-
|
41
|
-
platform "ubuntu-12.04"
|
42
|
-
arch "x86"
|
43
|
-
env []
|
44
|
-
params "/opt/ansic/bin/cc"
|
45
|
-
stdout ""
|
46
|
-
stderr "command not found"
|
47
|
-
exit_status 127
|
48
|
-
|
49
|
-
platform "ubuntu-12.04"
|
50
|
-
arch "x64"
|
51
|
-
env []
|
52
|
-
params "/opt/ansic/bin/cc"
|
53
|
-
stdout ""
|
54
|
-
stderr "command not found"
|
55
|
-
exit_status 127
|
56
|
-
|
57
|
-
platform "ubuntu-12.10"
|
58
|
-
arch "x64"
|
59
|
-
env []
|
60
|
-
params "/opt/ansic/bin/cc"
|
61
|
-
stdout ""
|
62
|
-
stderr "command not found"
|
63
|
-
exit_status 127
|
64
|
-
|
65
|
-
platform "ubuntu-13.04"
|
66
|
-
arch "x86"
|
67
|
-
env []
|
68
|
-
params "/opt/ansic/bin/cc"
|
69
|
-
stdout ""
|
70
|
-
stderr "command not found"
|
71
|
-
exit_status 127
|
72
|
-
|
73
|
-
platform "ubuntu-13.04"
|
74
|
-
arch "x64"
|
75
|
-
env []
|
76
|
-
params "/opt/ansic/bin/cc"
|
77
|
-
stdout ""
|
78
|
-
stderr "command not found"
|
79
|
-
exit_status 127
|
80
|
-
|
81
|
-
platform "centos-5.5"
|
82
|
-
arch "x64"
|
83
|
-
env ["gcc"]
|
84
|
-
params "/opt/ansic/bin/cc"
|
85
|
-
stdout ""
|
86
|
-
stderr "command not found"
|
87
|
-
exit_status 127
|
88
|
-
|
89
|
-
platform "centos-6.2"
|
90
|
-
arch "x86"
|
91
|
-
env ["gcc"]
|
92
|
-
params "/opt/ansic/bin/cc"
|
93
|
-
stdout ""
|
94
|
-
stderr "command not found"
|
95
|
-
exit_status 127
|
96
|
-
|
97
|
-
platform "centos-6.2"
|
98
|
-
arch "x64"
|
99
|
-
env ["gcc"]
|
100
|
-
params "/opt/ansic/bin/cc"
|
101
|
-
stdout ""
|
102
|
-
stderr "command not found"
|
103
|
-
exit_status 127
|
104
|
-
|
105
|
-
platform "ubuntu-10.04"
|
106
|
-
arch "x86"
|
107
|
-
env ["gcc"]
|
108
|
-
params "/opt/ansic/bin/cc"
|
109
|
-
stdout ""
|
110
|
-
stderr "command not found"
|
111
|
-
exit_status 127
|
112
|
-
|
113
|
-
platform "ubuntu-10.04"
|
114
|
-
arch "x64"
|
115
|
-
env ["gcc"]
|
116
|
-
params "/opt/ansic/bin/cc"
|
117
|
-
stdout ""
|
118
|
-
stderr "command not found"
|
119
|
-
exit_status 127
|
120
|
-
|
121
|
-
platform "ubuntu-12.04"
|
122
|
-
arch "x86"
|
123
|
-
env ["gcc"]
|
124
|
-
params "/opt/ansic/bin/cc"
|
125
|
-
stdout ""
|
126
|
-
stderr "command not found"
|
127
|
-
exit_status 127
|
128
|
-
|
129
|
-
platform "ubuntu-12.04"
|
130
|
-
arch "x64"
|
131
|
-
env ["gcc"]
|
132
|
-
params "/opt/ansic/bin/cc"
|
133
|
-
stdout ""
|
134
|
-
stderr "command not found"
|
135
|
-
exit_status 127
|
@@ -1,135 +0,0 @@
|
|
1
|
-
platform "centos-5.5"
|
2
|
-
arch "x64"
|
3
|
-
env []
|
4
|
-
params "-qversion"
|
5
|
-
stdout ""
|
6
|
-
stderr "command not found"
|
7
|
-
exit_status 127
|
8
|
-
|
9
|
-
platform "centos-6.2"
|
10
|
-
arch "x86"
|
11
|
-
env []
|
12
|
-
params "-qversion"
|
13
|
-
stdout ""
|
14
|
-
stderr "command not found"
|
15
|
-
exit_status 127
|
16
|
-
|
17
|
-
platform "centos-6.2"
|
18
|
-
arch "x64"
|
19
|
-
env []
|
20
|
-
params "-qversion"
|
21
|
-
stdout ""
|
22
|
-
stderr "command not found"
|
23
|
-
exit_status 127
|
24
|
-
|
25
|
-
platform "ubuntu-10.04"
|
26
|
-
arch "x86"
|
27
|
-
env []
|
28
|
-
params "-qversion"
|
29
|
-
stdout ""
|
30
|
-
stderr "command not found"
|
31
|
-
exit_status 127
|
32
|
-
|
33
|
-
platform "ubuntu-10.04"
|
34
|
-
arch "x64"
|
35
|
-
env []
|
36
|
-
params "-qversion"
|
37
|
-
stdout ""
|
38
|
-
stderr "command not found"
|
39
|
-
exit_status 127
|
40
|
-
|
41
|
-
platform "ubuntu-12.04"
|
42
|
-
arch "x86"
|
43
|
-
env []
|
44
|
-
params "-qversion"
|
45
|
-
stdout ""
|
46
|
-
stderr "command not found"
|
47
|
-
exit_status 127
|
48
|
-
|
49
|
-
platform "ubuntu-12.04"
|
50
|
-
arch "x64"
|
51
|
-
env []
|
52
|
-
params "-qversion"
|
53
|
-
stdout ""
|
54
|
-
stderr "command not found"
|
55
|
-
exit_status 127
|
56
|
-
|
57
|
-
platform "ubuntu-12.10"
|
58
|
-
arch "x64"
|
59
|
-
env []
|
60
|
-
params "-qversion"
|
61
|
-
stdout ""
|
62
|
-
stderr "command not found"
|
63
|
-
exit_status 127
|
64
|
-
|
65
|
-
platform "ubuntu-13.04"
|
66
|
-
arch "x86"
|
67
|
-
env []
|
68
|
-
params "-qversion"
|
69
|
-
stdout ""
|
70
|
-
stderr "command not found"
|
71
|
-
exit_status 127
|
72
|
-
|
73
|
-
platform "ubuntu-13.04"
|
74
|
-
arch "x64"
|
75
|
-
env []
|
76
|
-
params "-qversion"
|
77
|
-
stdout ""
|
78
|
-
stderr "command not found"
|
79
|
-
exit_status 127
|
80
|
-
|
81
|
-
platform "centos-5.5"
|
82
|
-
arch "x64"
|
83
|
-
env ["gcc"]
|
84
|
-
params "-qversion"
|
85
|
-
stdout ""
|
86
|
-
stderr "command not found"
|
87
|
-
exit_status 127
|
88
|
-
|
89
|
-
platform "centos-6.2"
|
90
|
-
arch "x86"
|
91
|
-
env ["gcc"]
|
92
|
-
params "-qversion"
|
93
|
-
stdout ""
|
94
|
-
stderr "command not found"
|
95
|
-
exit_status 127
|
96
|
-
|
97
|
-
platform "centos-6.2"
|
98
|
-
arch "x64"
|
99
|
-
env ["gcc"]
|
100
|
-
params "-qversion"
|
101
|
-
stdout ""
|
102
|
-
stderr "command not found"
|
103
|
-
exit_status 127
|
104
|
-
|
105
|
-
platform "ubuntu-10.04"
|
106
|
-
arch "x86"
|
107
|
-
env ["gcc"]
|
108
|
-
params "-qversion"
|
109
|
-
stdout ""
|
110
|
-
stderr "command not found"
|
111
|
-
exit_status 127
|
112
|
-
|
113
|
-
platform "ubuntu-10.04"
|
114
|
-
arch "x64"
|
115
|
-
env ["gcc"]
|
116
|
-
params "-qversion"
|
117
|
-
stdout ""
|
118
|
-
stderr "command not found"
|
119
|
-
exit_status 127
|
120
|
-
|
121
|
-
platform "ubuntu-12.04"
|
122
|
-
arch "x86"
|
123
|
-
env ["gcc"]
|
124
|
-
params "-qversion"
|
125
|
-
stdout ""
|
126
|
-
stderr "command not found"
|
127
|
-
exit_status 127
|
128
|
-
|
129
|
-
platform "ubuntu-12.04"
|
130
|
-
arch "x64"
|
131
|
-
env ["gcc"]
|
132
|
-
params "-qversion"
|
133
|
-
stdout ""
|
134
|
-
stderr "command not found"
|
135
|
-
exit_status 127
|