fauxhai 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bcffdf1524396c0e946e537607dd5607a5a65ca
4
- data.tar.gz: 75141299b2120af531c1d2469c489099fee1b037
3
+ metadata.gz: 94a25c817bafd214aef8f069de0ae9c560e3153f
4
+ data.tar.gz: 265de3dd520bb26449a41832b5be7f6006e5b76f
5
5
  SHA512:
6
- metadata.gz: 161d0dd89e991bd7b488f859ad4fcbbfed02e1f0afa957fc061d5b604c7ad3aeadb4f0d9a9037453879687d8b0d9c5f9629ca6d07e04e7952a7063bf493d0f6c
7
- data.tar.gz: 983065894946c67d2e8dfa1bf43252d238aef3513d893bd6be6142af4f7f6b64a2d657c000a5547b65ffca14a7c9b6c8e67a376b9915db76f4e7c45d3971585f
6
+ metadata.gz: a78f4d09650f2a14a2cba85cb852c6e61567455ccda7eaf0373654f7eacf46a254df2b5dc1bfd27956db7efab9b906bc0f22a132a3bfae65fb712fede6ad7038
7
+ data.tar.gz: 8efcb5a014d2e8fdec79333a663bed52ed84311d6cdc71fb3ea1389af9ab2e5fbaa4b7e6e5b85446da7ae6fa512f67045e864ebdbf217df89637012a5071310e
@@ -1,6 +1,10 @@
1
1
  Fauxhai Changelog
2
2
  =================
3
3
 
4
+ v2.1.1
5
+ ------
6
+ - Switch to OpenURI (#99)
7
+
4
8
  v2.1.0
5
9
  ------
6
10
  - Add CPU stanza information to all platforms
@@ -3,7 +3,7 @@ $:.unshift(lib) unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'fauxhai'
6
- spec.version = '2.1.0'
6
+ spec.version = '2.1.1'
7
7
  spec.authors = ['Seth Vargo']
8
8
  spec.email = ['sethvargo@gmail.com']
9
9
  spec.description = %q{Easily mock out ohai data}
@@ -1,6 +1,6 @@
1
1
  require 'json'
2
- require 'net/http'
3
2
  require 'pathname'
3
+ require 'open-uri'
4
4
 
5
5
  module Fauxhai
6
6
  class Mocker
@@ -57,14 +57,15 @@ module Fauxhai
57
57
  elsif
58
58
  # Try loading from github (in case someone submitted a PR with a new file, but we haven't
59
59
  # yet updated the gem version). Cache the response locally so it's faster next time.
60
- response = get("#{RAW_BASE}/lib/fauxhai/platforms/#{platform}/#{version}.json")
60
+ response = open("#{RAW_BASE}/lib/fauxhai/platforms/#{platform}/#{version}.json")
61
61
 
62
- if response.code.to_i == 200
62
+ if response.status.first.to_i == 200
63
+ response_body = response.read
63
64
  path = Pathname.new(filepath)
64
65
  FileUtils.mkdir_p(path.dirname)
65
66
 
66
- File.open(filepath, 'w'){ |f| f.write(response.body) }
67
- return JSON.parse(response.body)
67
+ File.open(filepath, 'w'){ |f| f.write(response_body) }
68
+ return JSON.parse(response_body)
68
69
  else
69
70
  raise Fauxhai::Exception::InvalidPlatform.new("Could not find platform '#{platform}/#{version}' in any of the sources!")
70
71
  end
@@ -87,14 +88,5 @@ module Fauxhai
87
88
  def chefspec_version
88
89
  platform == 'chefspec' ? '0.6.1' : nil
89
90
  end
90
-
91
- def get(url)
92
- url = URI.parse(url)
93
- http = Net::HTTP.new(url.host, url.port)
94
- http.use_ssl = true
95
-
96
- request = Net::HTTP::Get.new(url.path)
97
- http.start { |http| http.request(request) }
98
- end
99
91
  end
100
92
  end
@@ -0,0 +1,316 @@
1
+ {
2
+ "kernel": {
3
+ "name": "Linux",
4
+ "release": "3.4.68-59.97.amzn1.x86_64",
5
+ "version": "#1 SMP Tue Nov 5 07:40:09 UTC 2013",
6
+ "machine": "x86_64",
7
+ "modules": {
8
+ "ext3": {
9
+ "size": "215312",
10
+ "refcount": "1"
11
+ },
12
+ "jbd": {
13
+ "size": "79093",
14
+ "refcount": "1"
15
+ },
16
+ "ipv6": {
17
+ "size": "329579",
18
+ "refcount": "10"
19
+ },
20
+ "binfmt_misc": {
21
+ "size": "7864",
22
+ "refcount": "1"
23
+ },
24
+ "scsi_mod": {
25
+ "size": "203562",
26
+ "refcount": "0"
27
+ },
28
+ "acpiphp": {
29
+ "size": "17564",
30
+ "refcount": "0"
31
+ },
32
+ "pci_hotplug": {
33
+ "size": "12845",
34
+ "refcount": "1"
35
+ },
36
+ "crc32c_intel": {
37
+ "size": "2187",
38
+ "refcount": "0"
39
+ },
40
+ "microcode": {
41
+ "size": "12515",
42
+ "refcount": "0"
43
+ },
44
+ "ext4": {
45
+ "size": "468843",
46
+ "refcount": "1"
47
+ },
48
+ "mbcache": {
49
+ "size": "7407",
50
+ "refcount": "2"
51
+ },
52
+ "jbd2": {
53
+ "size": "92431",
54
+ "refcount": "1"
55
+ },
56
+ "crc16": {
57
+ "size": "1566",
58
+ "refcount": "1"
59
+ },
60
+ "dm_mirror": {
61
+ "size": "14096",
62
+ "refcount": "0"
63
+ },
64
+ "dm_region_hash": {
65
+ "size": "9733",
66
+ "refcount": "1"
67
+ },
68
+ "dm_log": {
69
+ "size": "9396",
70
+ "refcount": "2"
71
+ },
72
+ "dm_mod": {
73
+ "size": "78506",
74
+ "refcount": "2"
75
+ }
76
+ },
77
+ "os": "GNU/Linux"
78
+ },
79
+ "os": "linux",
80
+ "os_version": "3.4.68-59.97.amzn1.x86_64",
81
+ "command": {
82
+ "ps": "ps -ef"
83
+ },
84
+ "dmi": {
85
+ },
86
+ "lsb": {
87
+ },
88
+ "platform": "amazon",
89
+ "platform_version": "2013.09",
90
+ "platform_family": "rhel",
91
+ "ohai_time": 1395617389.734144,
92
+ "filesystem": {
93
+ "/dev/xvda1": {
94
+ "kb_size": "8256952",
95
+ "kb_used": "1309776",
96
+ "kb_available": "6863292",
97
+ "percent_used": "17%",
98
+ "mount": "/",
99
+ "fs_type": "ext4",
100
+ "mount_options": [
101
+ "rw",
102
+ "noatime"
103
+ ],
104
+ "uuid": "1701d228-e1bd-4094-a14c-8c64d6819362",
105
+ "label": "/"
106
+ },
107
+ "tmpfs": {
108
+ "kb_size": "848344",
109
+ "kb_used": "0",
110
+ "kb_available": "848344",
111
+ "percent_used": "0%",
112
+ "mount": "/dev/shm",
113
+ "fs_type": "tmpfs",
114
+ "mount_options": [
115
+ "rw"
116
+ ]
117
+ },
118
+ "/dev/xvda2": {
119
+ "kb_size": "153899044",
120
+ "kb_used": "192068",
121
+ "kb_available": "145889352",
122
+ "percent_used": "1%",
123
+ "mount": "/media/ephemeral0",
124
+ "fs_type": "ext3",
125
+ "mount_options": [
126
+ "rw"
127
+ ],
128
+ "uuid": "b3c490c3-3a22-4bf9-8dc1-a80729216b70"
129
+ },
130
+ "proc": {
131
+ "mount": "/proc",
132
+ "fs_type": "proc",
133
+ "mount_options": [
134
+ "rw"
135
+ ]
136
+ },
137
+ "sysfs": {
138
+ "mount": "/sys",
139
+ "fs_type": "sysfs",
140
+ "mount_options": [
141
+ "rw"
142
+ ]
143
+ },
144
+ "devpts": {
145
+ "mount": "/dev/pts",
146
+ "fs_type": "devpts",
147
+ "mount_options": [
148
+ "rw",
149
+ "gid=5",
150
+ "mode=620"
151
+ ]
152
+ },
153
+ "none": {
154
+ "mount": "/proc/sys/fs/binfmt_misc",
155
+ "fs_type": "binfmt_misc",
156
+ "mount_options": [
157
+ "rw"
158
+ ]
159
+ },
160
+ "/dev/xvda3": {
161
+ "fs_type": "swap",
162
+ "uuid": "a3e34831-91a5-46ce-9b0e-109fde024db3"
163
+ },
164
+ "rootfs": {
165
+ "mount": "/",
166
+ "fs_type": "rootfs",
167
+ "mount_options": [
168
+ "rw"
169
+ ]
170
+ },
171
+ "devtmpfs": {
172
+ "mount": "/dev",
173
+ "fs_type": "devtmpfs",
174
+ "mount_options": [
175
+ "rw",
176
+ "relatime",
177
+ "size=836300k",
178
+ "nr_inodes=209075",
179
+ "mode=755"
180
+ ]
181
+ }
182
+ },
183
+ "languages": {
184
+ "ruby": {
185
+ "platform": "x86_64-linux",
186
+ "version": "1.8.7",
187
+ "release_date": "2013-06-27",
188
+ "target": "x86_64-amazon-linux-gnu",
189
+ "target_cpu": "x86_64",
190
+ "target_vendor": "amazon",
191
+ "target_os": "linux",
192
+ "host": "x86_64-redhat-linux-gnu",
193
+ "host_cpu": "x86_64",
194
+ "host_os": "linux-gnu",
195
+ "host_vendor": "redhat",
196
+ "bin_dir": "/usr/local/bin",
197
+ "ruby_bin": "/usr/local/bin/ruby",
198
+ "gems_dir": "/usr/local/gems",
199
+ "gem_bin": "/usr/local/bin/gem"
200
+ }
201
+ },
202
+ "chef_packages": {
203
+ "chef": {
204
+ "version": "11.10.4",
205
+ "chef_root": "/usr/local/gems/chef-11.10.4/lib"
206
+ },
207
+ "ohai": {
208
+ "version": "6.20.0",
209
+ "ohai_root": "/usr/local/gems/ohai-6.20.0/lib/ohai"
210
+ }
211
+ },
212
+ "counters": {
213
+ "network": {
214
+ "interfaces": {
215
+ "eth0": {
216
+ "rx": {
217
+ "bytes": "0",
218
+ "packets": "0",
219
+ "errors": "0",
220
+ "drop": 0,
221
+ "overrun": 0,
222
+ "frame": 0,
223
+ "compressed": 0,
224
+ "multicast": 0
225
+ },
226
+ "tx": {
227
+ "bytes": "342",
228
+ "packets": "0",
229
+ "errors": "0",
230
+ "drop": 0,
231
+ "overrun": 0,
232
+ "collisions": "0",
233
+ "carrier": 0,
234
+ "compressed": 0
235
+ }
236
+ }
237
+ }
238
+ }
239
+ },
240
+ "current_user": "fauxhai",
241
+ "domain": "local",
242
+ "etc": {
243
+ "passwd": {
244
+ "fauxhai": {
245
+ "dir": "/home/fauxhai",
246
+ "gid": 0,
247
+ "uid": 0,
248
+ "shell": "/bin/bash",
249
+ "gecos": "Fauxhai"
250
+ }
251
+ },
252
+ "group": {
253
+ "fauxhai": {
254
+ "gid": 0,
255
+ "members": [
256
+ "fauxhai"
257
+ ]
258
+ }
259
+ }
260
+ },
261
+ "hostname": "Fauxhai",
262
+ "fqdn": "fauxhai.local",
263
+ "ipaddress": "10.0.0.2",
264
+ "keys": {
265
+ "ssh": {
266
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
267
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
268
+ }
269
+ },
270
+ "macaddress": "11:11:11:11:11:11",
271
+ "network": {
272
+ "default_gateway": "10.0.0.1",
273
+ "default_interface": "eth0",
274
+ "settings": {
275
+ },
276
+ "interfaces": {
277
+ "eth0": {
278
+ "addresses": {
279
+ "10.0.0.2": {
280
+ "broadcast": "10.0.0.255",
281
+ "family": "inet",
282
+ "netmask": "255.255.255.0",
283
+ "prefixlen": "23",
284
+ "scope": "Global"
285
+ }
286
+ },
287
+ "arp": {
288
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
289
+ },
290
+ "encapsulation": "Ethernet",
291
+ "flags": [
292
+ "BROADCAST",
293
+ "MULTICAST",
294
+ "UP",
295
+ "LOWER_UP"
296
+ ],
297
+ "mtu": "1500",
298
+ "number": "0",
299
+ "routes": {
300
+ "10.0.0.0/255": {
301
+ "scope": "link",
302
+ "src": "10.0.0.2"
303
+ }
304
+ },
305
+ "state": "up",
306
+ "type": "eth"
307
+ }
308
+ }
309
+ },
310
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
311
+ "uptime_seconds": 2646450,
312
+ "cpu": {
313
+ "real": 1,
314
+ "total": 1
315
+ }
316
+ }
@@ -0,0 +1,315 @@
1
+ {
2
+ "kernel": {
3
+ "name": "Linux",
4
+ "release": "3.10.34-37.137.amzn1.x86_64",
5
+ "version": "#1 SMP Tue Mar 25 01:00:47 UTC 2014",
6
+ "machine": "x86_64",
7
+ "modules": {
8
+ "ext3": {
9
+ "size": "201459",
10
+ "refcount": "1"
11
+ },
12
+ "jbd": {
13
+ "size": "79239",
14
+ "refcount": "1"
15
+ },
16
+ "ipv6": {
17
+ "size": "343708",
18
+ "refcount": "10"
19
+ },
20
+ "binfmt_misc": {
21
+ "size": "7359",
22
+ "refcount": "1"
23
+ },
24
+ "microcode": {
25
+ "size": "12859",
26
+ "refcount": "0"
27
+ },
28
+ "ext4": {
29
+ "size": "509180",
30
+ "refcount": "1"
31
+ },
32
+ "crc16": {
33
+ "size": "1691",
34
+ "refcount": "1"
35
+ },
36
+ "jbd2": {
37
+ "size": "104496",
38
+ "refcount": "1"
39
+ },
40
+ "mbcache": {
41
+ "size": "7966",
42
+ "refcount": "2"
43
+ },
44
+ "dm_mirror": {
45
+ "size": "13854",
46
+ "refcount": "0"
47
+ },
48
+ "dm_region_hash": {
49
+ "size": "10917",
50
+ "refcount": "1"
51
+ },
52
+ "dm_log": {
53
+ "size": "9483",
54
+ "refcount": "2"
55
+ },
56
+ "dm_mod": {
57
+ "size": "82289",
58
+ "refcount": "2"
59
+ }
60
+ },
61
+ "os": "GNU/Linux"
62
+ },
63
+ "os": "linux",
64
+ "os_version": "3.10.34-37.137.amzn1.x86_64",
65
+ "command": {
66
+ "ps": "ps -ef"
67
+ },
68
+ "dmi": {
69
+ },
70
+ "lsb": {
71
+ },
72
+ "platform": "amazon",
73
+ "platform_version": "2014.03",
74
+ "platform_family": "rhel",
75
+ "ohai_time": 1396019221.6967757,
76
+ "filesystem": {
77
+ "/dev/xvda1": {
78
+ "kb_size": "8125880",
79
+ "kb_used": "1289648",
80
+ "kb_available": "6735964",
81
+ "percent_used": "17%",
82
+ "mount": "/",
83
+ "fs_type": "ext4",
84
+ "mount_options": [
85
+ "rw",
86
+ "noatime",
87
+ "data=ordered"
88
+ ],
89
+ "uuid": "fef13390-440f-44d7-9a86-5d0fb16838c1",
90
+ "label": "/"
91
+ },
92
+ "devtmpfs": {
93
+ "kb_size": "832192",
94
+ "kb_used": "20",
95
+ "kb_available": "832172",
96
+ "percent_used": "1%",
97
+ "mount": "/dev",
98
+ "fs_type": "devtmpfs",
99
+ "mount_options": [
100
+ "rw",
101
+ "relatime",
102
+ "size=832192k",
103
+ "nr_inodes=208048",
104
+ "mode=755"
105
+ ]
106
+ },
107
+ "tmpfs": {
108
+ "kb_size": "847608",
109
+ "kb_used": "0",
110
+ "kb_available": "847608",
111
+ "percent_used": "0%",
112
+ "mount": "/dev/shm",
113
+ "fs_type": "tmpfs",
114
+ "mount_options": [
115
+ "rw",
116
+ "relatime"
117
+ ]
118
+ },
119
+ "/dev/xvda2": {
120
+ "kb_size": "153899044",
121
+ "kb_used": "192068",
122
+ "kb_available": "145889352",
123
+ "percent_used": "1%",
124
+ "mount": "/media/ephemeral0",
125
+ "fs_type": "ext3",
126
+ "mount_options": [
127
+ "rw",
128
+ "relatime",
129
+ "errors=continue",
130
+ "barrier=1",
131
+ "data=ordered"
132
+ ],
133
+ "uuid": "0ce03e44-4986-4cce-b73e-627441c3a990"
134
+ },
135
+ "proc": {
136
+ "mount": "/proc",
137
+ "fs_type": "proc",
138
+ "mount_options": [
139
+ "rw",
140
+ "relatime"
141
+ ]
142
+ },
143
+ "sysfs": {
144
+ "mount": "/sys",
145
+ "fs_type": "sysfs",
146
+ "mount_options": [
147
+ "rw",
148
+ "relatime"
149
+ ]
150
+ },
151
+ "devpts": {
152
+ "mount": "/dev/pts",
153
+ "fs_type": "devpts",
154
+ "mount_options": [
155
+ "rw",
156
+ "relatime",
157
+ "gid=5",
158
+ "mode=620",
159
+ "ptmxmode=000"
160
+ ]
161
+ },
162
+ "none": {
163
+ "mount": "/proc/sys/fs/binfmt_misc",
164
+ "fs_type": "binfmt_misc",
165
+ "mount_options": [
166
+ "rw",
167
+ "relatime"
168
+ ]
169
+ },
170
+ "/dev/xvda3": {
171
+ "fs_type": "swap",
172
+ "uuid": "65d5b238-2cab-4933-9491-5293497df24e"
173
+ },
174
+ "rootfs": {
175
+ "mount": "/",
176
+ "fs_type": "rootfs",
177
+ "mount_options": [
178
+ "rw"
179
+ ]
180
+ }
181
+ },
182
+ "languages": {
183
+ "ruby": {
184
+ "platform": "x86_64-linux",
185
+ "version": "2.0.0",
186
+ "release_date": "2014-02-24",
187
+ "target": "x86_64-amazon-linux-gnu",
188
+ "target_cpu": "x86_64",
189
+ "target_vendor": "amazon",
190
+ "target_os": "linux",
191
+ "host": "x86_64-redhat-linux-gnu",
192
+ "host_cpu": "x86_64",
193
+ "host_os": "linux-gnu",
194
+ "host_vendor": "redhat",
195
+ "bin_dir": "/usr/local/bin",
196
+ "ruby_bin": "/usr/local/bin/ruby",
197
+ "gems_dir": "/usr/local/gems",
198
+ "gem_bin": "/usr/local/bin/gem"
199
+ }
200
+ },
201
+ "chef_packages": {
202
+ "chef": {
203
+ "version": "11.10.4",
204
+ "chef_root": "/usr/local/gems/chef-11.10.4/lib"
205
+ },
206
+ "ohai": {
207
+ "version": "6.20.0",
208
+ "ohai_root": "/usr/local/gems/ohai-6.20.0/lib/ohai"
209
+ }
210
+ },
211
+ "counters": {
212
+ "network": {
213
+ "interfaces": {
214
+ "eth0": {
215
+ "rx": {
216
+ "bytes": "0",
217
+ "packets": "0",
218
+ "errors": "0",
219
+ "drop": 0,
220
+ "overrun": 0,
221
+ "frame": 0,
222
+ "compressed": 0,
223
+ "multicast": 0
224
+ },
225
+ "tx": {
226
+ "bytes": "342",
227
+ "packets": "0",
228
+ "errors": "0",
229
+ "drop": 0,
230
+ "overrun": 0,
231
+ "collisions": "0",
232
+ "carrier": 0,
233
+ "compressed": 0
234
+ }
235
+ }
236
+ }
237
+ }
238
+ },
239
+ "current_user": "fauxhai",
240
+ "domain": "local",
241
+ "etc": {
242
+ "passwd": {
243
+ "fauxhai": {
244
+ "dir": "/home/fauxhai",
245
+ "gid": 0,
246
+ "uid": 0,
247
+ "shell": "/bin/bash",
248
+ "gecos": "Fauxhai"
249
+ }
250
+ },
251
+ "group": {
252
+ "fauxhai": {
253
+ "gid": 0,
254
+ "members": [
255
+ "fauxhai"
256
+ ]
257
+ }
258
+ }
259
+ },
260
+ "hostname": "Fauxhai",
261
+ "fqdn": "fauxhai.local",
262
+ "ipaddress": "10.0.0.2",
263
+ "keys": {
264
+ "ssh": {
265
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
266
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
267
+ }
268
+ },
269
+ "macaddress": "11:11:11:11:11:11",
270
+ "network": {
271
+ "default_gateway": "10.0.0.1",
272
+ "default_interface": "eth0",
273
+ "settings": {
274
+ },
275
+ "interfaces": {
276
+ "eth0": {
277
+ "addresses": {
278
+ "10.0.0.2": {
279
+ "broadcast": "10.0.0.255",
280
+ "family": "inet",
281
+ "netmask": "255.255.255.0",
282
+ "prefixlen": "23",
283
+ "scope": "Global"
284
+ }
285
+ },
286
+ "arp": {
287
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
288
+ },
289
+ "encapsulation": "Ethernet",
290
+ "flags": [
291
+ "BROADCAST",
292
+ "MULTICAST",
293
+ "UP",
294
+ "LOWER_UP"
295
+ ],
296
+ "mtu": "1500",
297
+ "number": "0",
298
+ "routes": {
299
+ "10.0.0.0/255": {
300
+ "scope": "link",
301
+ "src": "10.0.0.2"
302
+ }
303
+ },
304
+ "state": "up",
305
+ "type": "eth"
306
+ }
307
+ }
308
+ },
309
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
310
+ "uptime_seconds": 2646450,
311
+ "cpu": {
312
+ "real": 1,
313
+ "total": 1
314
+ }
315
+ }