fauxhai 4.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -2
  3. data/CHANGELOG.md +71 -12
  4. data/CONTRIBUTING.md +32 -20
  5. data/PLATFORMS.md +13 -73
  6. data/README.md +4 -4
  7. data/Rakefile +5 -1
  8. data/fauxhai.gemspec +3 -3
  9. data/lib/fauxhai/fetcher.rb +1 -1
  10. data/lib/fauxhai/mocker.rb +19 -17
  11. data/lib/fauxhai/platforms/amazon/2012.09.json +526 -178
  12. data/lib/fauxhai/platforms/amazon/2013.09.json +561 -235
  13. data/lib/fauxhai/platforms/amazon/2014.03.json +586 -291
  14. data/lib/fauxhai/platforms/amazon/2014.09.json +552 -218
  15. data/lib/fauxhai/platforms/amazon/2015.03.json +576 -222
  16. data/lib/fauxhai/platforms/amazon/2015.09.json +542 -238
  17. data/lib/fauxhai/platforms/amazon/2016.03.json +552 -246
  18. data/lib/fauxhai/platforms/amazon/2016.09.json +539 -237
  19. data/lib/fauxhai/platforms/amazon/2017.03.json +667 -0
  20. data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1674 -0
  21. data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +2 -1
  22. data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +1 -0
  23. data/lib/fauxhai/platforms/centos/5.0.json +1 -0
  24. data/lib/fauxhai/platforms/centos/5.1.json +1 -0
  25. data/lib/fauxhai/platforms/centos/5.10.json +4536 -496
  26. data/lib/fauxhai/platforms/centos/5.11.json +4485 -318
  27. data/lib/fauxhai/platforms/centos/5.2.json +1 -0
  28. data/lib/fauxhai/platforms/centos/5.3.json +1 -0
  29. data/lib/fauxhai/platforms/centos/5.4.json +1 -0
  30. data/lib/fauxhai/platforms/centos/5.5.json +1 -0
  31. data/lib/fauxhai/platforms/centos/5.6.json +1 -0
  32. data/lib/fauxhai/platforms/centos/5.7.json +1 -0
  33. data/lib/fauxhai/platforms/centos/5.8.json +1 -0
  34. data/lib/fauxhai/platforms/centos/5.9.json +1 -0
  35. data/lib/fauxhai/platforms/centos/6.0.json +1 -0
  36. data/lib/fauxhai/platforms/centos/6.1.json +1 -0
  37. data/lib/fauxhai/platforms/centos/6.2.json +1 -0
  38. data/lib/fauxhai/platforms/centos/6.3.json +1 -0
  39. data/lib/fauxhai/platforms/centos/6.4.json +1 -0
  40. data/lib/fauxhai/platforms/centos/6.5.json +1 -0
  41. data/lib/fauxhai/platforms/centos/6.6.json +1 -0
  42. data/lib/fauxhai/platforms/centos/6.8.json +2278 -422
  43. data/lib/fauxhai/platforms/centos/6.9.json +5910 -0
  44. data/lib/fauxhai/platforms/centos/7.0.1406.json +2 -1
  45. data/lib/fauxhai/platforms/centos/7.0.json +2 -1
  46. data/lib/fauxhai/platforms/centos/7.1.1503.json +2 -1
  47. data/lib/fauxhai/platforms/centos/7.2.1511.json +3620 -547
  48. data/lib/fauxhai/platforms/centos/7.3.1611.json +3781 -561
  49. data/lib/fauxhai/platforms/clearos/7.0.json +1985 -0
  50. data/lib/fauxhai/platforms/debian/7.0.json +1 -0
  51. data/lib/fauxhai/platforms/debian/7.1.json +1 -0
  52. data/lib/fauxhai/platforms/debian/7.10.json +3568 -522
  53. data/lib/fauxhai/platforms/debian/7.11.json +3340 -311
  54. data/lib/fauxhai/platforms/debian/7.2.json +1 -0
  55. data/lib/fauxhai/platforms/debian/7.4.json +1 -0
  56. data/lib/fauxhai/platforms/debian/7.5.json +1 -0
  57. data/lib/fauxhai/platforms/debian/7.6.json +1 -0
  58. data/lib/fauxhai/platforms/debian/7.7.json +1 -0
  59. data/lib/fauxhai/platforms/debian/7.8.json +1 -0
  60. data/lib/fauxhai/platforms/debian/7.9.json +1 -0
  61. data/lib/fauxhai/platforms/debian/8.0.json +1 -0
  62. data/lib/fauxhai/platforms/debian/8.1.json +2 -1
  63. data/lib/fauxhai/platforms/debian/8.2.json +2 -1
  64. data/lib/fauxhai/platforms/debian/8.4.json +2 -1
  65. data/lib/fauxhai/platforms/debian/8.5.json +1 -0
  66. data/lib/fauxhai/platforms/debian/8.6.json +1 -0
  67. data/lib/fauxhai/platforms/debian/8.7.json +3398 -544
  68. data/lib/fauxhai/platforms/debian/8.8.json +3620 -0
  69. data/lib/fauxhai/platforms/fedora/21.json +2 -1
  70. data/lib/fauxhai/platforms/fedora/22.json +2 -1
  71. data/lib/fauxhai/platforms/fedora/23.json +2 -1
  72. data/lib/fauxhai/platforms/fedora/24.json +5120 -668
  73. data/lib/fauxhai/platforms/fedora/25.json +5140 -560
  74. data/lib/fauxhai/platforms/freebsd/10.1.json +2 -1
  75. data/lib/fauxhai/platforms/freebsd/10.2.json +2 -1
  76. data/lib/fauxhai/platforms/freebsd/10.3.json +276 -137
  77. data/lib/fauxhai/platforms/freebsd/11.0.json +270 -137
  78. data/lib/fauxhai/platforms/freebsd/9.3.json +2 -1
  79. data/lib/fauxhai/platforms/linuxmint/18.1.json +10773 -0
  80. data/lib/fauxhai/platforms/mac_os_x/10.10.json +618 -542
  81. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +1 -0
  82. data/lib/fauxhai/platforms/mac_os_x/10.11.json +982 -0
  83. data/lib/fauxhai/platforms/mac_os_x/10.12.json +658 -645
  84. data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +1 -0
  85. data/lib/fauxhai/platforms/omnios/151014.json +2 -1
  86. data/lib/fauxhai/platforms/opensuse/12.3.json +2 -1
  87. data/lib/fauxhai/platforms/opensuse/13.1.json +1 -0
  88. data/lib/fauxhai/platforms/opensuse/13.2.json +4667 -558
  89. data/lib/fauxhai/platforms/opensuse/42.1.json +5544 -461
  90. data/lib/fauxhai/platforms/opensuse/42.2.json +7674 -545
  91. data/lib/fauxhai/platforms/oracle/5.8.json +1 -0
  92. data/lib/fauxhai/platforms/oracle/6.5.json +1 -0
  93. data/lib/fauxhai/platforms/oracle/6.6.json +1 -0
  94. data/lib/fauxhai/platforms/oracle/7.0.json +1 -0
  95. data/lib/fauxhai/platforms/oracle/7.1.json +1 -0
  96. data/lib/fauxhai/platforms/redhat/5.6.json +2 -1
  97. data/lib/fauxhai/platforms/redhat/5.7.json +2 -1
  98. data/lib/fauxhai/platforms/redhat/5.8.json +2 -1
  99. data/lib/fauxhai/platforms/redhat/6.0.json +2 -1
  100. data/lib/fauxhai/platforms/redhat/6.1.json +2 -1
  101. data/lib/fauxhai/platforms/redhat/6.2.json +2 -1
  102. data/lib/fauxhai/platforms/redhat/6.3.json +2 -1
  103. data/lib/fauxhai/platforms/redhat/6.4.json +2 -1
  104. data/lib/fauxhai/platforms/redhat/6.5.json +2 -1
  105. data/lib/fauxhai/platforms/redhat/6.6.json +1 -0
  106. data/lib/fauxhai/platforms/redhat/7.0.json +1 -0
  107. data/lib/fauxhai/platforms/redhat/7.1.json +1 -0
  108. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
  109. data/lib/fauxhai/platforms/solaris2/5.11.json +10884 -3268
  110. data/lib/fauxhai/platforms/suse/11.3.json +2 -1
  111. data/lib/fauxhai/platforms/suse/12.0.json +1 -0
  112. data/lib/fauxhai/platforms/ubuntu/12.04.json +2 -1
  113. data/lib/fauxhai/platforms/ubuntu/14.04.json +2800 -272
  114. data/lib/fauxhai/platforms/ubuntu/15.04.json +2 -1
  115. data/lib/fauxhai/platforms/ubuntu/15.10.json +2 -1
  116. data/lib/fauxhai/platforms/ubuntu/16.04.json +3487 -541
  117. data/lib/fauxhai/platforms/windows/10.json +119 -82
  118. data/lib/fauxhai/platforms/windows/2003R2.json +1 -0
  119. data/lib/fauxhai/platforms/windows/2008R2.json +156 -5734
  120. data/lib/fauxhai/platforms/windows/2012R2.json +157 -3592
  121. data/lib/fauxhai/platforms/windows/7.json +116 -77
  122. data/lib/fauxhai/platforms/windows/8.1.json +100 -98
  123. data/lib/fauxhai/platforms/windows/8.json +1 -0
  124. data/lib/fauxhai/runner.rb +6 -3
  125. data/lib/fauxhai/runner/default.rb +133 -67
  126. data/lib/fauxhai/version.rb +1 -1
  127. metadata +15 -8
@@ -1,206 +1,52 @@
1
1
  {
2
- "kernel": {
3
- "name": "Linux",
4
- "release": "3.14.35-28.38.amzn1.x86_64",
5
- "version": "#1 SMP Wed Mar 11 22:50:37 UTC 2015",
6
- "machine": "x86_64",
7
- "processor": "x86_64",
8
- "os": "GNU/Linux",
9
- "modules": {
10
- "ipv6": {
11
- "size": "353545",
12
- "refcount": "38"
13
- },
14
- "binfmt_misc": {
15
- "size": "7167",
16
- "refcount": "1"
17
- },
18
- "dm_mod": {
19
- "size": "92854",
20
- "refcount": "0"
21
- },
22
- "evbug": {
23
- "size": "2125",
24
- "refcount": "0"
25
- },
26
- "i2c_piix4": {
27
- "size": "9435",
28
- "refcount": "0"
29
- },
30
- "psmouse": {
31
- "size": "92786",
32
- "refcount": "0"
33
- },
34
- "i2c_core": {
35
- "size": "27053",
36
- "refcount": "1"
37
- },
38
- "evdev": {
39
- "size": "11276",
40
- "refcount": "0"
41
- },
42
- "button": {
43
- "size": "5503",
44
- "refcount": "0"
45
- },
46
- "ext4": {
47
- "size": "543478",
48
- "refcount": "1"
49
- },
50
- "crc16": {
51
- "size": "1691",
52
- "refcount": "1"
53
- },
54
- "jbd2": {
55
- "size": "106052",
56
- "refcount": "1"
57
- },
58
- "mbcache": {
59
- "size": "7950",
60
- "refcount": "1"
61
- }
62
- }
63
- },
64
- "os": "linux",
65
- "os_version": "3.14.35-28.38.amzn1.x86_64",
66
- "lsb": {
67
- },
68
- "platform": "amazon",
69
- "platform_version": "2015.03",
70
- "platform_family": "rhel",
71
- "filesystem": {
72
- "/dev/xvda1": {
73
- "kb_size": "2029372",
74
- "kb_used": "880204",
75
- "kb_available": "1111836",
76
- "percent_used": "45%",
77
- "mount": "/",
78
- "total_inodes": "131072",
79
- "inodes_used": "35350",
80
- "inodes_available": "95722",
81
- "inodes_percent_used": "27%",
82
- "fs_type": "ext4",
83
- "mount_options": [
84
- "rw",
85
- "noatime",
86
- "data=ordered"
87
- ],
88
- "uuid": "9bd9a1d1-bc2d-4b6d-8620-0a0619c5e9fc",
89
- "label": "/"
90
- },
91
- "devtmpfs": {
92
- "kb_size": "502328",
93
- "kb_used": "56",
94
- "kb_available": "502272",
95
- "percent_used": "1%",
96
- "mount": "/dev",
97
- "total_inodes": "125582",
98
- "inodes_used": "426",
99
- "inodes_available": "125156",
100
- "inodes_percent_used": "1%",
101
- "fs_type": "devtmpfs",
102
- "mount_options": [
103
- "rw",
104
- "relatime",
105
- "size=502328k",
106
- "nr_inodes=125582",
107
- "mode=755"
108
- ]
109
- },
110
- "tmpfs": {
111
- "kb_size": "510092",
112
- "kb_used": "0",
113
- "kb_available": "510092",
114
- "percent_used": "0%",
115
- "mount": "/dev/shm",
116
- "total_inodes": "127523",
117
- "inodes_used": "1",
118
- "inodes_available": "127522",
119
- "inodes_percent_used": "1%",
120
- "fs_type": "tmpfs",
121
- "mount_options": [
122
- "rw",
123
- "relatime"
124
- ]
125
- },
126
- "proc": {
127
- "mount": "/proc",
128
- "fs_type": "proc",
129
- "mount_options": [
130
- "rw",
131
- "relatime"
132
- ]
133
- },
134
- "sysfs": {
135
- "mount": "/sys",
136
- "fs_type": "sysfs",
137
- "mount_options": [
138
- "rw",
139
- "relatime"
140
- ]
141
- },
142
- "devpts": {
143
- "mount": "/dev/pts",
144
- "fs_type": "devpts",
145
- "mount_options": [
146
- "rw",
147
- "relatime",
148
- "gid=5",
149
- "mode=620",
150
- "ptmxmode=000"
151
- ]
152
- },
153
- "none": {
154
- "mount": "/proc/sys/fs/binfmt_misc",
155
- "fs_type": "binfmt_misc",
156
- "mount_options": [
157
- "rw",
158
- "relatime"
159
- ]
160
- },
161
- "rootfs": {
162
- "mount": "/",
163
- "fs_type": "rootfs",
164
- "mount_options": [
165
- "rw"
166
- ]
2
+ "block_device": {
3
+ "xvda": {
4
+ "size": "16777216",
5
+ "removable": "0",
6
+ "rotational": "0",
7
+ "physical_block_size": "512",
8
+ "logical_block_size": "512"
167
9
  }
168
10
  },
169
- "init_package": "init",
170
- "dmi": {
171
- },
172
- "root_group": "root",
173
- "ohai_time": 1458949075.0875406,
174
- "command": {
175
- "ps": "ps -ef"
176
- },
177
- "languages": {
178
- "ruby": {
179
- "bin_dir": "/usr/local/bin",
180
- "gem_bin": "/usr/local/bin/gem",
181
- "gems_dir": "/usr/local/gems",
182
- "ruby_bin": "/usr/local/bin/ruby"
183
- },
184
- "powershell": null
185
- },
186
11
  "chef_packages": {
187
12
  "chef": {
188
- "version": "12.8.1",
189
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib"
13
+ "version": "13.0.118",
14
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib"
190
15
  },
191
16
  "ohai": {
192
- "version": "8.11.1",
193
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.11.1/lib/ohai"
17
+ "version": "13.0.1",
18
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.0.1/lib/ohai"
194
19
  }
195
20
  },
21
+ "command": {
22
+ "ps": "ps -ef"
23
+ },
196
24
  "counters": {
197
25
  "network": {
198
26
  "interfaces": {
27
+ "lo": {
28
+ "tx": {
29
+ "queuelen": "1",
30
+ "bytes": 0,
31
+ "packets": 0,
32
+ "errors": 0,
33
+ "drop": 0,
34
+ "carrier": 0,
35
+ "collisions": 0
36
+ },
37
+ "rx": {
38
+ "bytes": 0,
39
+ "packets": 0,
40
+ "errors": 0,
41
+ "drop": 0,
42
+ "overrun": 0
43
+ }
44
+ },
199
45
  "eth0": {
200
46
  "rx": {
201
- "bytes": "0",
202
- "packets": "0",
203
- "errors": "0",
47
+ "bytes": 0,
48
+ "packets": 0,
49
+ "errors": 0,
204
50
  "drop": 0,
205
51
  "overrun": 0,
206
52
  "frame": 0,
@@ -208,12 +54,12 @@
208
54
  "multicast": 0
209
55
  },
210
56
  "tx": {
211
- "bytes": "342",
212
- "packets": "0",
213
- "errors": "0",
57
+ "bytes": 0,
58
+ "packets": 0,
59
+ "errors": 0,
214
60
  "drop": 0,
215
61
  "overrun": 0,
216
- "collisions": "0",
62
+ "collisions": 0,
217
63
  "carrier": 0,
218
64
  "compressed": 0
219
65
  }
@@ -221,7 +67,14 @@
221
67
  }
222
68
  }
223
69
  },
70
+ "cpu": {
71
+ "real": 1,
72
+ "total": 1,
73
+ "cores": 1
74
+ },
224
75
  "current_user": "fauxhai",
76
+ "dmi": {
77
+ },
225
78
  "domain": "local",
226
79
  "etc": {
227
80
  "passwd": {
@@ -242,70 +95,571 @@
242
95
  }
243
96
  }
244
97
  },
245
- "hostname": "Fauxhai",
98
+ "filesystem": {
99
+ "by_device": {
100
+ "/dev/xvda1": {
101
+ "kb_size": "8123812",
102
+ "kb_used": "1282328",
103
+ "kb_available": "6741236",
104
+ "percent_used": "16%",
105
+ "total_inodes": "524288",
106
+ "inodes_used": "48895",
107
+ "inodes_available": "475393",
108
+ "inodes_percent_used": "10%",
109
+ "fs_type": "ext4",
110
+ "mount_options": [
111
+ "rw",
112
+ "noatime",
113
+ "data=ordered"
114
+ ],
115
+ "uuid": "de9a1ccd-a2dd-44f1-8be8-2d4275cb85a3",
116
+ "label": "/",
117
+ "mounts": [
118
+ "/"
119
+ ]
120
+ },
121
+ "devtmpfs": {
122
+ "kb_size": "500892",
123
+ "kb_used": "56",
124
+ "kb_available": "500836",
125
+ "percent_used": "1%",
126
+ "total_inodes": "125223",
127
+ "inodes_used": "427",
128
+ "inodes_available": "124796",
129
+ "inodes_percent_used": "1%",
130
+ "fs_type": "devtmpfs",
131
+ "mount_options": [
132
+ "rw",
133
+ "relatime",
134
+ "size=500892k",
135
+ "nr_inodes=125223",
136
+ "mode=755"
137
+ ],
138
+ "mounts": [
139
+ "/dev"
140
+ ]
141
+ },
142
+ "tmpfs": {
143
+ "kb_size": "510092",
144
+ "kb_used": "0",
145
+ "kb_available": "510092",
146
+ "percent_used": "0%",
147
+ "total_inodes": "127523",
148
+ "inodes_used": "1",
149
+ "inodes_available": "127522",
150
+ "inodes_percent_used": "1%",
151
+ "fs_type": "tmpfs",
152
+ "mount_options": [
153
+ "rw",
154
+ "relatime"
155
+ ],
156
+ "mounts": [
157
+ "/dev/shm"
158
+ ]
159
+ },
160
+ "proc": {
161
+ "fs_type": "proc",
162
+ "mount_options": [
163
+ "rw",
164
+ "relatime"
165
+ ],
166
+ "mounts": [
167
+ "/proc"
168
+ ]
169
+ },
170
+ "sysfs": {
171
+ "fs_type": "sysfs",
172
+ "mount_options": [
173
+ "rw",
174
+ "relatime"
175
+ ],
176
+ "mounts": [
177
+ "/sys"
178
+ ]
179
+ },
180
+ "devpts": {
181
+ "fs_type": "devpts",
182
+ "mount_options": [
183
+ "rw",
184
+ "relatime",
185
+ "gid=5",
186
+ "mode=620",
187
+ "ptmxmode=000"
188
+ ],
189
+ "mounts": [
190
+ "/dev/pts"
191
+ ]
192
+ },
193
+ "none": {
194
+ "fs_type": "binfmt_misc",
195
+ "mount_options": [
196
+ "rw",
197
+ "relatime"
198
+ ],
199
+ "mounts": [
200
+ "/proc/sys/fs/binfmt_misc"
201
+ ]
202
+ },
203
+ "/dev/xvda": {
204
+ },
205
+ "rootfs": {
206
+ "fs_type": "rootfs",
207
+ "mount_options": [
208
+ "rw"
209
+ ],
210
+ "mounts": [
211
+ "/"
212
+ ]
213
+ }
214
+ },
215
+ "by_mountpoint": {
216
+ "/": {
217
+ "kb_size": "8123812",
218
+ "kb_used": "1282328",
219
+ "kb_available": "6741236",
220
+ "percent_used": "16%",
221
+ "total_inodes": "524288",
222
+ "inodes_used": "48895",
223
+ "inodes_available": "475393",
224
+ "inodes_percent_used": "10%",
225
+ "fs_type": "rootfs",
226
+ "mount_options": [
227
+ "rw"
228
+ ],
229
+ "uuid": "de9a1ccd-a2dd-44f1-8be8-2d4275cb85a3",
230
+ "label": "/",
231
+ "devices": [
232
+ "/dev/xvda1",
233
+ "rootfs"
234
+ ]
235
+ },
236
+ "/dev": {
237
+ "kb_size": "500892",
238
+ "kb_used": "56",
239
+ "kb_available": "500836",
240
+ "percent_used": "1%",
241
+ "total_inodes": "125223",
242
+ "inodes_used": "427",
243
+ "inodes_available": "124796",
244
+ "inodes_percent_used": "1%",
245
+ "fs_type": "devtmpfs",
246
+ "mount_options": [
247
+ "rw",
248
+ "relatime",
249
+ "size=500892k",
250
+ "nr_inodes=125223",
251
+ "mode=755"
252
+ ],
253
+ "devices": [
254
+ "devtmpfs"
255
+ ]
256
+ },
257
+ "/dev/shm": {
258
+ "kb_size": "510092",
259
+ "kb_used": "0",
260
+ "kb_available": "510092",
261
+ "percent_used": "0%",
262
+ "total_inodes": "127523",
263
+ "inodes_used": "1",
264
+ "inodes_available": "127522",
265
+ "inodes_percent_used": "1%",
266
+ "fs_type": "tmpfs",
267
+ "mount_options": [
268
+ "rw",
269
+ "relatime"
270
+ ],
271
+ "devices": [
272
+ "tmpfs"
273
+ ]
274
+ },
275
+ "/proc": {
276
+ "fs_type": "proc",
277
+ "mount_options": [
278
+ "rw",
279
+ "relatime"
280
+ ],
281
+ "devices": [
282
+ "proc"
283
+ ]
284
+ },
285
+ "/sys": {
286
+ "fs_type": "sysfs",
287
+ "mount_options": [
288
+ "rw",
289
+ "relatime"
290
+ ],
291
+ "devices": [
292
+ "sysfs"
293
+ ]
294
+ },
295
+ "/dev/pts": {
296
+ "fs_type": "devpts",
297
+ "mount_options": [
298
+ "rw",
299
+ "relatime",
300
+ "gid=5",
301
+ "mode=620",
302
+ "ptmxmode=000"
303
+ ],
304
+ "devices": [
305
+ "devpts"
306
+ ]
307
+ },
308
+ "/proc/sys/fs/binfmt_misc": {
309
+ "fs_type": "binfmt_misc",
310
+ "mount_options": [
311
+ "rw",
312
+ "relatime"
313
+ ],
314
+ "devices": [
315
+ "none"
316
+ ]
317
+ }
318
+ },
319
+ "by_pair": {
320
+ "/dev/xvda1,/": {
321
+ "device": "/dev/xvda1",
322
+ "kb_size": "8123812",
323
+ "kb_used": "1282328",
324
+ "kb_available": "6741236",
325
+ "percent_used": "16%",
326
+ "mount": "/",
327
+ "total_inodes": "524288",
328
+ "inodes_used": "48895",
329
+ "inodes_available": "475393",
330
+ "inodes_percent_used": "10%",
331
+ "fs_type": "ext4",
332
+ "mount_options": [
333
+ "rw",
334
+ "noatime",
335
+ "data=ordered"
336
+ ],
337
+ "uuid": "de9a1ccd-a2dd-44f1-8be8-2d4275cb85a3",
338
+ "label": "/"
339
+ },
340
+ "devtmpfs,/dev": {
341
+ "device": "devtmpfs",
342
+ "kb_size": "500892",
343
+ "kb_used": "56",
344
+ "kb_available": "500836",
345
+ "percent_used": "1%",
346
+ "mount": "/dev",
347
+ "total_inodes": "125223",
348
+ "inodes_used": "427",
349
+ "inodes_available": "124796",
350
+ "inodes_percent_used": "1%",
351
+ "fs_type": "devtmpfs",
352
+ "mount_options": [
353
+ "rw",
354
+ "relatime",
355
+ "size=500892k",
356
+ "nr_inodes=125223",
357
+ "mode=755"
358
+ ]
359
+ },
360
+ "tmpfs,/dev/shm": {
361
+ "device": "tmpfs",
362
+ "kb_size": "510092",
363
+ "kb_used": "0",
364
+ "kb_available": "510092",
365
+ "percent_used": "0%",
366
+ "mount": "/dev/shm",
367
+ "total_inodes": "127523",
368
+ "inodes_used": "1",
369
+ "inodes_available": "127522",
370
+ "inodes_percent_used": "1%",
371
+ "fs_type": "tmpfs",
372
+ "mount_options": [
373
+ "rw",
374
+ "relatime"
375
+ ]
376
+ },
377
+ "proc,/proc": {
378
+ "device": "proc",
379
+ "mount": "/proc",
380
+ "fs_type": "proc",
381
+ "mount_options": [
382
+ "rw",
383
+ "relatime"
384
+ ]
385
+ },
386
+ "sysfs,/sys": {
387
+ "device": "sysfs",
388
+ "mount": "/sys",
389
+ "fs_type": "sysfs",
390
+ "mount_options": [
391
+ "rw",
392
+ "relatime"
393
+ ]
394
+ },
395
+ "devpts,/dev/pts": {
396
+ "device": "devpts",
397
+ "mount": "/dev/pts",
398
+ "fs_type": "devpts",
399
+ "mount_options": [
400
+ "rw",
401
+ "relatime",
402
+ "gid=5",
403
+ "mode=620",
404
+ "ptmxmode=000"
405
+ ]
406
+ },
407
+ "none,/proc/sys/fs/binfmt_misc": {
408
+ "device": "none",
409
+ "mount": "/proc/sys/fs/binfmt_misc",
410
+ "fs_type": "binfmt_misc",
411
+ "mount_options": [
412
+ "rw",
413
+ "relatime"
414
+ ]
415
+ },
416
+ "/dev/xvda,": {
417
+ "device": "/dev/xvda"
418
+ },
419
+ "rootfs,/": {
420
+ "device": "rootfs",
421
+ "mount": "/",
422
+ "fs_type": "rootfs",
423
+ "mount_options": [
424
+ "rw"
425
+ ]
426
+ }
427
+ }
428
+ },
429
+ "fips": {
430
+ "kernel": {
431
+ "enabled": false
432
+ }
433
+ },
246
434
  "fqdn": "fauxhai.local",
435
+ "hostname": "Fauxhai",
436
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
437
+ "idletime_seconds": 2646450,
438
+ "init_package": "init",
247
439
  "ipaddress": "10.0.0.2",
440
+ "kernel": {
441
+ "name": "Linux",
442
+ "release": "3.14.48-33.39.amzn1.x86_64",
443
+ "version": "#1 SMP Tue Jul 14 23:43:07 UTC 2015",
444
+ "machine": "x86_64",
445
+ "processor": "x86_64",
446
+ "os": "GNU/Linux",
447
+ "modules": {
448
+ "ipv6": {
449
+ "size": "353545",
450
+ "refcount": "50"
451
+ },
452
+ "binfmt_misc": {
453
+ "size": "7167",
454
+ "refcount": "1"
455
+ },
456
+ "evbug": {
457
+ "size": "2125",
458
+ "refcount": "0"
459
+ },
460
+ "evdev": {
461
+ "size": "11276",
462
+ "refcount": "0"
463
+ },
464
+ "psmouse": {
465
+ "size": "93112",
466
+ "refcount": "0"
467
+ },
468
+ "i2c_piix4": {
469
+ "size": "9435",
470
+ "refcount": "0"
471
+ },
472
+ "i2c_core": {
473
+ "size": "27720",
474
+ "refcount": "1"
475
+ },
476
+ "button": {
477
+ "size": "5503",
478
+ "refcount": "0"
479
+ },
480
+ "ext4": {
481
+ "size": "543837",
482
+ "refcount": "1"
483
+ },
484
+ "crc16": {
485
+ "size": "1691",
486
+ "refcount": "1"
487
+ },
488
+ "jbd2": {
489
+ "size": "105956",
490
+ "refcount": "1"
491
+ },
492
+ "mbcache": {
493
+ "size": "7950",
494
+ "refcount": "1"
495
+ },
496
+ "dm_mirror": {
497
+ "size": "13903",
498
+ "refcount": "0"
499
+ },
500
+ "dm_region_hash": {
501
+ "size": "11254",
502
+ "refcount": "1"
503
+ },
504
+ "dm_log": {
505
+ "size": "9451",
506
+ "refcount": "2"
507
+ },
508
+ "dm_mod": {
509
+ "size": "92918",
510
+ "refcount": "2"
511
+ }
512
+ }
513
+ },
248
514
  "keys": {
249
515
  "ssh": {
250
516
  "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
251
517
  "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
252
518
  }
253
519
  },
520
+ "languages": {
521
+ "ruby": {
522
+ "platform": "x86_64-linux",
523
+ "version": "2.0.0",
524
+ "release_date": "2015-04-13",
525
+ "target": "x86_64-amazon-linux-gnu",
526
+ "target_cpu": "x86_64",
527
+ "target_vendor": "amazon",
528
+ "target_os": "linux",
529
+ "host": "x86_64-redhat-linux-gnu",
530
+ "host_cpu": "x86_64",
531
+ "host_os": "linux-gnu",
532
+ "host_vendor": "redhat",
533
+ "bin_dir": "/usr/local/bin",
534
+ "ruby_bin": "/usr/local/bin/ruby",
535
+ "gems_dir": "/usr/local/gems",
536
+ "gem_bin": "/usr/local/bin/gem"
537
+ },
538
+ "powershell": null
539
+ },
540
+ "lsb": {
541
+ },
254
542
  "macaddress": "11:11:11:11:11:11",
543
+ "machinename": "Fauxhai",
544
+ "memory": {
545
+ "total": "1048576kB"
546
+ },
255
547
  "network": {
256
- "default_gateway": "10.0.0.1",
257
- "default_interface": "eth0",
258
- "settings": {
259
- },
260
548
  "interfaces": {
261
- "eth0": {
549
+ "lo": {
550
+ "mtu": "65536",
551
+ "flags": [
552
+ "LOOPBACK",
553
+ "UP",
554
+ "LOWER_UP"
555
+ ],
556
+ "encapsulation": "Loopback",
262
557
  "addresses": {
263
- "10.0.0.2": {
264
- "broadcast": "10.0.0.255",
558
+ "127.0.0.1": {
265
559
  "family": "inet",
266
- "netmask": "255.255.255.0",
267
- "prefixlen": "24",
268
- "scope": "Global"
560
+ "prefixlen": "8",
561
+ "netmask": "255.0.0.0",
562
+ "scope": "Node",
563
+ "ip_scope": "LOOPBACK"
564
+ },
565
+ "::1": {
566
+ "family": "inet6",
567
+ "prefixlen": "128",
568
+ "scope": "Node",
569
+ "tags": [
570
+
571
+ ],
572
+ "ip_scope": "LINK LOCAL LOOPBACK"
269
573
  }
270
574
  },
271
- "arp": {
272
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
273
- },
274
- "encapsulation": "Ethernet",
575
+ "state": "unknown"
576
+ },
577
+ "eth0": {
578
+ "type": "eth",
579
+ "number": "0",
580
+ "mtu": "1500",
275
581
  "flags": [
276
582
  "BROADCAST",
277
583
  "MULTICAST",
278
584
  "UP",
279
585
  "LOWER_UP"
280
586
  ],
281
- "mtu": "1500",
282
- "number": "0",
587
+ "encapsulation": "Ethernet",
588
+ "addresses": {
589
+ "11:11:11:11:11:11": {
590
+ "family": "lladdr"
591
+ },
592
+ "10.0.0.2": {
593
+ "family": "inet",
594
+ "prefixlen": "24",
595
+ "netmask": "255.255.255.0",
596
+ "broadcast": "10.0.0.255",
597
+ "scope": "Global",
598
+ "ip_scope": "RFC1918 PRIVATE"
599
+ },
600
+ "fe80::11:1111:1111:1111": {
601
+ "family": "inet6",
602
+ "prefixlen": "64",
603
+ "scope": "Link",
604
+ "tags": [
605
+
606
+ ],
607
+ "ip_scope": "LINK LOCAL UNICAST"
608
+ }
609
+ },
610
+ "state": "up",
611
+ "arp": {
612
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
613
+ },
283
614
  "routes": [
615
+ {
616
+ "destination": "default",
617
+ "family": "inet",
618
+ "via": "10.0.0.1"
619
+ },
284
620
  {
285
621
  "destination": "10.0.0.0/24",
286
622
  "family": "inet",
287
623
  "scope": "link",
288
624
  "proto": "kernel",
289
625
  "src": "10.0.0.2"
626
+ },
627
+ {
628
+ "destination": "fe80::/64",
629
+ "family": "inet6",
630
+ "metric": "256",
631
+ "proto": "kernel"
290
632
  }
291
633
  ],
292
- "state": "up",
293
- "type": "eth"
634
+ "ring_params": {
635
+ }
294
636
  }
295
- }
637
+ },
638
+ "default_interface": "eth0",
639
+ "default_gateway": "10.0.0.1"
296
640
  },
297
- "uptime": "30 days 15 hours 07 minutes 30 seconds",
298
- "uptime_seconds": 2646450,
299
- "cpu": {
300
- "real": 1,
301
- "total": 1,
302
- "cores": 1
641
+ "ohai_time": 1492225484.814421,
642
+ "os": "linux",
643
+ "os_version": "3.14.48-33.39.amzn1.x86_64",
644
+ "packages": {
303
645
  },
304
- "memory": {
305
- "total": "1048576kB"
646
+ "platform": "amazon",
647
+ "platform_family": "amazon",
648
+ "platform_version": "2015.03",
649
+ "root_group": "root",
650
+ "shells": [
651
+ "/bin/sh",
652
+ "/bin/bash",
653
+ "/sbin/nologin",
654
+ "/bin/dash"
655
+ ],
656
+ "time": {
657
+ "timezone": "GMT"
306
658
  },
659
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
660
+ "uptime_seconds": 2646450,
307
661
  "virtualization": {
308
662
  "systems": {
309
663
  }
310
664
  }
311
- }
665
+ }