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,226 +1,108 @@
1
1
  {
2
- "lsb": {
3
- },
4
- "kernel": {
5
- "name": "Linux",
6
- "release": "3.4.68-59.97.amzn1.i686",
7
- "version": "#1 SMP Tue Nov 5 07:39:21 UTC 2013",
8
- "machine": "i686",
9
- "processor": "i686",
10
- "os": "GNU/Linux",
11
- "modules": {
12
- "ipv6": {
13
- "size": "282375",
14
- "refcount": "10"
15
- },
16
- "binfmt_misc": {
17
- "size": "6420",
18
- "refcount": "1"
19
- },
20
- "scsi_mod": {
21
- "size": "171899",
22
- "refcount": "0"
23
- },
24
- "acpiphp": {
25
- "size": "15344",
26
- "refcount": "0"
27
- },
28
- "pci_hotplug": {
29
- "size": "10695",
30
- "refcount": "1"
31
- },
32
- "crc32c_intel": {
33
- "size": "1695",
34
- "refcount": "0"
35
- },
36
- "aesni_intel": {
37
- "size": "9483",
38
- "refcount": "0"
39
- },
40
- "cryptd": {
41
- "size": "7818",
42
- "refcount": "1"
43
- },
44
- "aes_i586": {
45
- "size": "7222",
46
- "refcount": "1"
47
- },
48
- "aes_generic": {
49
- "size": "26367",
50
- "refcount": "2"
51
- },
52
- "microcode": {
53
- "size": "9641",
54
- "refcount": "0"
55
- },
56
- "ext4": {
57
- "size": "424800",
58
- "refcount": "1"
59
- },
60
- "mbcache": {
61
- "size": "5559",
62
- "refcount": "1"
63
- },
64
- "jbd2": {
65
- "size": "80824",
66
- "refcount": "1"
67
- },
68
- "crc16": {
69
- "size": "1282",
70
- "refcount": "1"
71
- },
72
- "dm_mirror": {
73
- "size": "12266",
74
- "refcount": "0"
75
- },
76
- "dm_region_hash": {
77
- "size": "8012",
78
- "refcount": "1"
79
- },
80
- "dm_log": {
81
- "size": "8257",
82
- "refcount": "2"
83
- },
84
- "dm_mod": {
85
- "size": "66416",
86
- "refcount": "2"
87
- }
88
- }
89
- },
90
- "os": "linux",
91
- "os_version": "3.4.68-59.97.amzn1.i686",
92
- "platform": "amazon",
93
- "platform_version": "2013.09",
94
- "platform_family": "rhel",
95
- "filesystem": {
96
- "/dev/xvda1": {
97
- "kb_size": "8256952",
98
- "kb_used": "1283900",
99
- "kb_available": "6889168",
100
- "percent_used": "16%",
101
- "mount": "/",
102
- "total_inodes": "524288",
103
- "inodes_used": "53098",
104
- "inodes_available": "471190",
105
- "inodes_percent_used": "11%",
106
- "fs_type": "ext4",
107
- "mount_options": [
108
- "rw",
109
- "noatime"
110
- ],
111
- "uuid": "b5d93184-d426-4052-82fb-1d630c4a37dc",
112
- "label": "/"
2
+ "block_device": {
3
+ "loop0": {
4
+ "size": "0",
5
+ "removable": "0",
6
+ "rotational": "1",
7
+ "physical_block_size": "0",
8
+ "logical_block_size": "512"
113
9
  },
114
- "tmpfs": {
115
- "kb_size": "307688",
116
- "kb_used": "0",
117
- "kb_available": "307688",
118
- "percent_used": "0%",
119
- "mount": "/dev/shm",
120
- "total_inodes": "76922",
121
- "inodes_used": "1",
122
- "inodes_available": "76921",
123
- "inodes_percent_used": "1%",
124
- "fs_type": "tmpfs",
125
- "mount_options": [
126
- "rw"
127
- ]
10
+ "loop1": {
11
+ "size": "0",
12
+ "removable": "0",
13
+ "rotational": "1",
14
+ "physical_block_size": "0",
15
+ "logical_block_size": "512"
128
16
  },
129
- "proc": {
130
- "mount": "/proc",
131
- "fs_type": "proc",
132
- "mount_options": [
133
- "rw"
134
- ]
17
+ "loop2": {
18
+ "size": "0",
19
+ "removable": "0",
20
+ "rotational": "1",
21
+ "physical_block_size": "0",
22
+ "logical_block_size": "512"
135
23
  },
136
- "sysfs": {
137
- "mount": "/sys",
138
- "fs_type": "sysfs",
139
- "mount_options": [
140
- "rw"
141
- ]
24
+ "loop3": {
25
+ "size": "0",
26
+ "removable": "0",
27
+ "rotational": "1",
28
+ "physical_block_size": "0",
29
+ "logical_block_size": "512"
142
30
  },
143
- "devpts": {
144
- "mount": "/dev/pts",
145
- "fs_type": "devpts",
146
- "mount_options": [
147
- "rw",
148
- "gid=5",
149
- "mode=620"
150
- ]
31
+ "loop4": {
32
+ "size": "0",
33
+ "removable": "0",
34
+ "rotational": "1",
35
+ "physical_block_size": "0",
36
+ "logical_block_size": "512"
151
37
  },
152
- "none": {
153
- "mount": "/proc/sys/fs/binfmt_misc",
154
- "fs_type": "binfmt_misc",
155
- "mount_options": [
156
- "rw"
157
- ]
38
+ "loop5": {
39
+ "size": "0",
40
+ "removable": "0",
41
+ "rotational": "1",
42
+ "physical_block_size": "0",
43
+ "logical_block_size": "512"
158
44
  },
159
- "rootfs": {
160
- "mount": "/",
161
- "fs_type": "rootfs",
162
- "mount_options": [
163
- "rw"
164
- ]
45
+ "loop6": {
46
+ "size": "0",
47
+ "removable": "0",
48
+ "rotational": "1",
49
+ "physical_block_size": "0",
50
+ "logical_block_size": "512"
165
51
  },
166
- "devtmpfs": {
167
- "mount": "/dev",
168
- "fs_type": "devtmpfs",
169
- "mount_options": [
170
- "rw",
171
- "relatime",
172
- "size=299852k",
173
- "nr_inodes=74963",
174
- "mode=755"
175
- ]
176
- }
177
- },
178
- "command": {
179
- "ps": "ps -ef"
180
- },
181
- "ohai_time": 1458950458.7630599,
182
- "dmi": {
183
- },
184
- "init_package": "init",
185
- "root_group": "root",
186
- "languages": {
187
- "ruby": {
188
- "platform": "i386-linux",
189
- "version": "1.8.7",
190
- "release_date": "2013-06-27",
191
- "target": "i686-amazon-linux-gnu",
192
- "target_cpu": "i386",
193
- "target_vendor": "amazon",
194
- "target_os": "linux",
195
- "host": "i686-redhat-linux-gnu",
196
- "host_cpu": "i686",
197
- "host_os": "linux-gnu",
198
- "host_vendor": "redhat",
199
- "bin_dir": "/usr/local/bin",
200
- "ruby_bin": "/usr/local/bin/ruby",
201
- "gems_dir": "/usr/local/gems",
202
- "gem_bin": "/usr/local/bin/gem"
52
+ "loop7": {
53
+ "size": "0",
54
+ "removable": "0",
55
+ "rotational": "1",
56
+ "physical_block_size": "0",
57
+ "logical_block_size": "512"
203
58
  },
204
- "powershell": null
59
+ "xvda1": {
60
+ "size": "4194304",
61
+ "removable": "0",
62
+ "rotational": "0",
63
+ "physical_block_size": "512",
64
+ "logical_block_size": "512"
65
+ }
205
66
  },
206
67
  "chef_packages": {
207
68
  "chef": {
208
- "version": "12.8.1",
209
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib"
69
+ "version": "13.0.118",
70
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib"
210
71
  },
211
72
  "ohai": {
212
- "version": "8.11.1",
213
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.11.1/lib/ohai"
73
+ "version": "13.0.1",
74
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.0.1/lib/ohai"
214
75
  }
215
76
  },
77
+ "command": {
78
+ "ps": "ps -ef"
79
+ },
216
80
  "counters": {
217
81
  "network": {
218
82
  "interfaces": {
83
+ "lo": {
84
+ "tx": {
85
+ "queuelen": "1",
86
+ "bytes": 0,
87
+ "packets": 0,
88
+ "errors": 0,
89
+ "drop": 0,
90
+ "carrier": 0,
91
+ "collisions": 0
92
+ },
93
+ "rx": {
94
+ "bytes": 0,
95
+ "packets": 0,
96
+ "errors": 0,
97
+ "drop": 0,
98
+ "overrun": 0
99
+ }
100
+ },
219
101
  "eth0": {
220
102
  "rx": {
221
- "bytes": "0",
222
- "packets": "0",
223
- "errors": "0",
103
+ "bytes": 0,
104
+ "packets": 0,
105
+ "errors": 0,
224
106
  "drop": 0,
225
107
  "overrun": 0,
226
108
  "frame": 0,
@@ -228,12 +110,12 @@
228
110
  "multicast": 0
229
111
  },
230
112
  "tx": {
231
- "bytes": "342",
232
- "packets": "0",
233
- "errors": "0",
113
+ "bytes": 0,
114
+ "packets": 0,
115
+ "errors": 0,
234
116
  "drop": 0,
235
117
  "overrun": 0,
236
- "collisions": "0",
118
+ "collisions": 0,
237
119
  "carrier": 0,
238
120
  "compressed": 0
239
121
  }
@@ -241,7 +123,14 @@
241
123
  }
242
124
  }
243
125
  },
126
+ "cpu": {
127
+ "real": 1,
128
+ "total": 1,
129
+ "cores": 1
130
+ },
244
131
  "current_user": "fauxhai",
132
+ "dmi": {
133
+ },
245
134
  "domain": "local",
246
135
  "etc": {
247
136
  "passwd": {
@@ -262,70 +151,507 @@
262
151
  }
263
152
  }
264
153
  },
265
- "hostname": "Fauxhai",
154
+ "filesystem": {
155
+ "by_device": {
156
+ "/dev/xvda1": {
157
+ "kb_size": "2064208",
158
+ "kb_used": "894652",
159
+ "kb_available": "1148588",
160
+ "percent_used": "44%",
161
+ "total_inodes": "131072",
162
+ "inodes_used": "32130",
163
+ "inodes_available": "98942",
164
+ "inodes_percent_used": "25%",
165
+ "fs_type": "ext4",
166
+ "mount_options": [
167
+ "rw",
168
+ "noatime"
169
+ ],
170
+ "uuid": "94695e8e-6883-4426-b029-56f512314097",
171
+ "label": "/",
172
+ "mounts": [
173
+ "/"
174
+ ]
175
+ },
176
+ "tmpfs": {
177
+ "kb_size": "304144",
178
+ "kb_used": "0",
179
+ "kb_available": "304144",
180
+ "percent_used": "0%",
181
+ "total_inodes": "76036",
182
+ "inodes_used": "1",
183
+ "inodes_available": "76035",
184
+ "inodes_percent_used": "1%",
185
+ "fs_type": "tmpfs",
186
+ "mount_options": [
187
+ "rw"
188
+ ],
189
+ "mounts": [
190
+ "/dev/shm"
191
+ ]
192
+ },
193
+ "proc": {
194
+ "fs_type": "proc",
195
+ "mount_options": [
196
+ "rw"
197
+ ],
198
+ "mounts": [
199
+ "/proc"
200
+ ]
201
+ },
202
+ "sysfs": {
203
+ "fs_type": "sysfs",
204
+ "mount_options": [
205
+ "rw"
206
+ ],
207
+ "mounts": [
208
+ "/sys"
209
+ ]
210
+ },
211
+ "devpts": {
212
+ "fs_type": "devpts",
213
+ "mount_options": [
214
+ "rw",
215
+ "gid=5",
216
+ "mode=620"
217
+ ],
218
+ "mounts": [
219
+ "/dev/pts"
220
+ ]
221
+ },
222
+ "none": {
223
+ "fs_type": "binfmt_misc",
224
+ "mount_options": [
225
+ "rw"
226
+ ],
227
+ "mounts": [
228
+ "/proc/sys/fs/binfmt_misc"
229
+ ]
230
+ },
231
+ "rootfs": {
232
+ "fs_type": "rootfs",
233
+ "mount_options": [
234
+ "rw"
235
+ ],
236
+ "mounts": [
237
+ "/"
238
+ ]
239
+ },
240
+ "devtmpfs": {
241
+ "fs_type": "devtmpfs",
242
+ "mount_options": [
243
+ "rw",
244
+ "relatime",
245
+ "size=294868k",
246
+ "nr_inodes=73717",
247
+ "mode=755"
248
+ ],
249
+ "mounts": [
250
+ "/dev"
251
+ ]
252
+ }
253
+ },
254
+ "by_mountpoint": {
255
+ "/": {
256
+ "kb_size": "2064208",
257
+ "kb_used": "894652",
258
+ "kb_available": "1148588",
259
+ "percent_used": "44%",
260
+ "total_inodes": "131072",
261
+ "inodes_used": "32130",
262
+ "inodes_available": "98942",
263
+ "inodes_percent_used": "25%",
264
+ "fs_type": "rootfs",
265
+ "mount_options": [
266
+ "rw"
267
+ ],
268
+ "uuid": "94695e8e-6883-4426-b029-56f512314097",
269
+ "label": "/",
270
+ "devices": [
271
+ "/dev/xvda1",
272
+ "rootfs"
273
+ ]
274
+ },
275
+ "/dev/shm": {
276
+ "kb_size": "304144",
277
+ "kb_used": "0",
278
+ "kb_available": "304144",
279
+ "percent_used": "0%",
280
+ "total_inodes": "76036",
281
+ "inodes_used": "1",
282
+ "inodes_available": "76035",
283
+ "inodes_percent_used": "1%",
284
+ "fs_type": "tmpfs",
285
+ "mount_options": [
286
+ "rw"
287
+ ],
288
+ "devices": [
289
+ "tmpfs"
290
+ ]
291
+ },
292
+ "/proc": {
293
+ "fs_type": "proc",
294
+ "mount_options": [
295
+ "rw"
296
+ ],
297
+ "devices": [
298
+ "proc"
299
+ ]
300
+ },
301
+ "/sys": {
302
+ "fs_type": "sysfs",
303
+ "mount_options": [
304
+ "rw"
305
+ ],
306
+ "devices": [
307
+ "sysfs"
308
+ ]
309
+ },
310
+ "/dev/pts": {
311
+ "fs_type": "devpts",
312
+ "mount_options": [
313
+ "rw",
314
+ "gid=5",
315
+ "mode=620"
316
+ ],
317
+ "devices": [
318
+ "devpts"
319
+ ]
320
+ },
321
+ "/proc/sys/fs/binfmt_misc": {
322
+ "fs_type": "binfmt_misc",
323
+ "mount_options": [
324
+ "rw"
325
+ ],
326
+ "devices": [
327
+ "none"
328
+ ]
329
+ },
330
+ "/dev": {
331
+ "fs_type": "devtmpfs",
332
+ "mount_options": [
333
+ "rw",
334
+ "relatime",
335
+ "size=294868k",
336
+ "nr_inodes=73717",
337
+ "mode=755"
338
+ ],
339
+ "devices": [
340
+ "devtmpfs"
341
+ ]
342
+ }
343
+ },
344
+ "by_pair": {
345
+ "/dev/xvda1,/": {
346
+ "device": "/dev/xvda1",
347
+ "kb_size": "2064208",
348
+ "kb_used": "894652",
349
+ "kb_available": "1148588",
350
+ "percent_used": "44%",
351
+ "mount": "/",
352
+ "total_inodes": "131072",
353
+ "inodes_used": "32130",
354
+ "inodes_available": "98942",
355
+ "inodes_percent_used": "25%",
356
+ "fs_type": "ext4",
357
+ "mount_options": [
358
+ "rw",
359
+ "noatime"
360
+ ],
361
+ "uuid": "94695e8e-6883-4426-b029-56f512314097",
362
+ "label": "/"
363
+ },
364
+ "tmpfs,/dev/shm": {
365
+ "device": "tmpfs",
366
+ "kb_size": "304144",
367
+ "kb_used": "0",
368
+ "kb_available": "304144",
369
+ "percent_used": "0%",
370
+ "mount": "/dev/shm",
371
+ "total_inodes": "76036",
372
+ "inodes_used": "1",
373
+ "inodes_available": "76035",
374
+ "inodes_percent_used": "1%",
375
+ "fs_type": "tmpfs",
376
+ "mount_options": [
377
+ "rw"
378
+ ]
379
+ },
380
+ "proc,/proc": {
381
+ "device": "proc",
382
+ "mount": "/proc",
383
+ "fs_type": "proc",
384
+ "mount_options": [
385
+ "rw"
386
+ ]
387
+ },
388
+ "sysfs,/sys": {
389
+ "device": "sysfs",
390
+ "mount": "/sys",
391
+ "fs_type": "sysfs",
392
+ "mount_options": [
393
+ "rw"
394
+ ]
395
+ },
396
+ "devpts,/dev/pts": {
397
+ "device": "devpts",
398
+ "mount": "/dev/pts",
399
+ "fs_type": "devpts",
400
+ "mount_options": [
401
+ "rw",
402
+ "gid=5",
403
+ "mode=620"
404
+ ]
405
+ },
406
+ "none,/proc/sys/fs/binfmt_misc": {
407
+ "device": "none",
408
+ "mount": "/proc/sys/fs/binfmt_misc",
409
+ "fs_type": "binfmt_misc",
410
+ "mount_options": [
411
+ "rw"
412
+ ]
413
+ },
414
+ "rootfs,/": {
415
+ "device": "rootfs",
416
+ "mount": "/",
417
+ "fs_type": "rootfs",
418
+ "mount_options": [
419
+ "rw"
420
+ ]
421
+ },
422
+ "devtmpfs,/dev": {
423
+ "device": "devtmpfs",
424
+ "mount": "/dev",
425
+ "fs_type": "devtmpfs",
426
+ "mount_options": [
427
+ "rw",
428
+ "relatime",
429
+ "size=294868k",
430
+ "nr_inodes=73717",
431
+ "mode=755"
432
+ ]
433
+ }
434
+ }
435
+ },
436
+ "fips": {
437
+ "kernel": {
438
+ "enabled": false
439
+ }
440
+ },
266
441
  "fqdn": "fauxhai.local",
442
+ "hostname": "Fauxhai",
443
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
444
+ "idletime_seconds": 2646450,
445
+ "init_package": "init",
267
446
  "ipaddress": "10.0.0.2",
447
+ "kernel": {
448
+ "name": "Linux",
449
+ "release": "3.4.73-64.112.amzn1.x86_64",
450
+ "version": "#1 SMP Tue Dec 10 01:50:05 UTC 2013",
451
+ "machine": "x86_64",
452
+ "processor": "x86_64",
453
+ "os": "GNU/Linux",
454
+ "modules": {
455
+ "ipv6": {
456
+ "size": "329707",
457
+ "refcount": "10"
458
+ },
459
+ "binfmt_misc": {
460
+ "size": "7864",
461
+ "refcount": "1"
462
+ },
463
+ "dm_mod": {
464
+ "size": "78538",
465
+ "refcount": "0"
466
+ },
467
+ "scsi_mod": {
468
+ "size": "203562",
469
+ "refcount": "0"
470
+ },
471
+ "crc32c_intel": {
472
+ "size": "2187",
473
+ "refcount": "0"
474
+ },
475
+ "ghash_clmulni_intel": {
476
+ "size": "4437",
477
+ "refcount": "0"
478
+ },
479
+ "aesni_intel": {
480
+ "size": "44042",
481
+ "refcount": "0"
482
+ },
483
+ "cryptd": {
484
+ "size": "9319",
485
+ "refcount": "2"
486
+ },
487
+ "aes_x86_64": {
488
+ "size": "7814",
489
+ "refcount": "1"
490
+ },
491
+ "aes_generic": {
492
+ "size": "26955",
493
+ "refcount": "2"
494
+ },
495
+ "microcode": {
496
+ "size": "12451",
497
+ "refcount": "0"
498
+ },
499
+ "ext4": {
500
+ "size": "468843",
501
+ "refcount": "1"
502
+ },
503
+ "mbcache": {
504
+ "size": "7407",
505
+ "refcount": "1"
506
+ },
507
+ "jbd2": {
508
+ "size": "92431",
509
+ "refcount": "1"
510
+ },
511
+ "crc16": {
512
+ "size": "1566",
513
+ "refcount": "1"
514
+ }
515
+ }
516
+ },
268
517
  "keys": {
269
518
  "ssh": {
270
519
  "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
271
520
  "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
272
521
  }
273
522
  },
523
+ "languages": {
524
+ "ruby": {
525
+ "bin_dir": "/usr/local/bin",
526
+ "gem_bin": "/usr/local/bin/gem",
527
+ "gems_dir": "/usr/local/gems",
528
+ "ruby_bin": "/usr/local/bin/ruby"
529
+ },
530
+ "powershell": null
531
+ },
532
+ "lsb": {
533
+ },
274
534
  "macaddress": "11:11:11:11:11:11",
535
+ "machinename": "Fauxhai",
536
+ "memory": {
537
+ "total": "1048576kB"
538
+ },
275
539
  "network": {
276
- "default_gateway": "10.0.0.1",
277
- "default_interface": "eth0",
278
- "settings": {
279
- },
280
540
  "interfaces": {
281
- "eth0": {
541
+ "lo": {
542
+ "mtu": "65536",
543
+ "flags": [
544
+ "LOOPBACK",
545
+ "UP",
546
+ "LOWER_UP"
547
+ ],
548
+ "encapsulation": "Loopback",
282
549
  "addresses": {
283
- "10.0.0.2": {
284
- "broadcast": "10.0.0.255",
550
+ "127.0.0.1": {
285
551
  "family": "inet",
286
- "netmask": "255.255.255.0",
287
- "prefixlen": "24",
288
- "scope": "Global"
552
+ "prefixlen": "8",
553
+ "netmask": "255.0.0.0",
554
+ "scope": "Node",
555
+ "ip_scope": "LOOPBACK"
556
+ },
557
+ "::1": {
558
+ "family": "inet6",
559
+ "prefixlen": "128",
560
+ "scope": "Node",
561
+ "tags": [
562
+
563
+ ],
564
+ "ip_scope": "LINK LOCAL LOOPBACK"
289
565
  }
290
566
  },
291
- "arp": {
292
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
293
- },
294
- "encapsulation": "Ethernet",
567
+ "state": "unknown"
568
+ },
569
+ "eth0": {
570
+ "type": "eth",
571
+ "number": "0",
572
+ "mtu": "1500",
295
573
  "flags": [
296
574
  "BROADCAST",
297
575
  "MULTICAST",
298
576
  "UP",
299
577
  "LOWER_UP"
300
578
  ],
301
- "mtu": "1500",
302
- "number": "0",
579
+ "encapsulation": "Ethernet",
580
+ "addresses": {
581
+ "11:11:11:11:11:11": {
582
+ "family": "lladdr"
583
+ },
584
+ "10.0.0.2": {
585
+ "family": "inet",
586
+ "prefixlen": "24",
587
+ "netmask": "255.255.255.0",
588
+ "broadcast": "10.0.0.255",
589
+ "scope": "Global",
590
+ "ip_scope": "RFC1918 PRIVATE"
591
+ },
592
+ "fe80::11:1111:1111:1111": {
593
+ "family": "inet6",
594
+ "prefixlen": "64",
595
+ "scope": "Link",
596
+ "tags": [
597
+
598
+ ],
599
+ "ip_scope": "LINK LOCAL UNICAST"
600
+ }
601
+ },
602
+ "state": "up",
603
+ "arp": {
604
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
605
+ },
303
606
  "routes": [
607
+ {
608
+ "destination": "default",
609
+ "family": "inet",
610
+ "via": "10.0.0.1"
611
+ },
304
612
  {
305
613
  "destination": "10.0.0.0/24",
306
614
  "family": "inet",
307
615
  "scope": "link",
308
616
  "proto": "kernel",
309
617
  "src": "10.0.0.2"
618
+ },
619
+ {
620
+ "destination": "fe80::/64",
621
+ "family": "inet6",
622
+ "metric": "256",
623
+ "proto": "kernel"
310
624
  }
311
625
  ],
312
- "state": "up",
313
- "type": "eth"
626
+ "ring_params": {
627
+ }
314
628
  }
315
- }
629
+ },
630
+ "default_interface": "eth0",
631
+ "default_gateway": "10.0.0.1"
316
632
  },
317
- "uptime": "30 days 15 hours 07 minutes 30 seconds",
318
- "uptime_seconds": 2646450,
319
- "cpu": {
320
- "real": 1,
321
- "total": 1,
322
- "cores": 1
633
+ "ohai_time": 1492225896.5054057,
634
+ "os": "linux",
635
+ "os_version": "3.4.73-64.112.amzn1.x86_64",
636
+ "packages": {
323
637
  },
324
- "memory": {
325
- "total": "1048576kB"
638
+ "platform": "amazon",
639
+ "platform_family": "amazon",
640
+ "platform_version": "2013.09",
641
+ "root_group": "root",
642
+ "shells": [
643
+ "/bin/sh",
644
+ "/bin/bash",
645
+ "/sbin/nologin",
646
+ "/bin/dash"
647
+ ],
648
+ "time": {
649
+ "timezone": "GMT"
326
650
  },
651
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
652
+ "uptime_seconds": 2646450,
327
653
  "virtualization": {
328
654
  "systems": {
329
655
  }
330
656
  }
331
- }
657
+ }