fauxhai-chef 9.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +2 -0
- data/LICENSE +22 -0
- data/bin/fauxhai +23 -0
- data/fauxhai-chef.gemspec +28 -0
- data/lib/fauxhai/exception.rb +6 -0
- data/lib/fauxhai/fetcher.rb +80 -0
- data/lib/fauxhai/keys/id_dsa +12 -0
- data/lib/fauxhai/keys/id_dsa.pub +1 -0
- data/lib/fauxhai/keys/id_rsa +27 -0
- data/lib/fauxhai/keys/id_rsa.pub +1 -0
- data/lib/fauxhai/mocker.rb +143 -0
- data/lib/fauxhai/platforms/aix/7.1.json +1889 -0
- data/lib/fauxhai/platforms/aix/7.2.json +5289 -0
- data/lib/fauxhai/platforms/almalinux/8.json +5754 -0
- data/lib/fauxhai/platforms/amazon/2.json +4697 -0
- data/lib/fauxhai/platforms/amazon/2018.03.json +3525 -0
- data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1669 -0
- data/lib/fauxhai/platforms/centos/6.10.json +2691 -0
- data/lib/fauxhai/platforms/centos/7.7.1908.json +3855 -0
- data/lib/fauxhai/platforms/centos/7.8.2003.json +3803 -0
- data/lib/fauxhai/platforms/centos/8.json +4715 -0
- data/lib/fauxhai/platforms/chefspec/0.6.1.json +20 -0
- data/lib/fauxhai/platforms/clearos/7.4.json +6130 -0
- data/lib/fauxhai/platforms/debian/10.json +2928 -0
- data/lib/fauxhai/platforms/debian/11.json +2744 -0
- data/lib/fauxhai/platforms/debian/9.11.json +2943 -0
- data/lib/fauxhai/platforms/debian/9.12.json +2942 -0
- data/lib/fauxhai/platforms/debian/9.13.json +2959 -0
- data/lib/fauxhai/platforms/dragonfly4/4.8-RELEASE.json +392 -0
- data/lib/fauxhai/platforms/fedora/31.json +3994 -0
- data/lib/fauxhai/platforms/fedora/32.json +3554 -0
- data/lib/fauxhai/platforms/freebsd/11.2.json +427 -0
- data/lib/fauxhai/platforms/freebsd/12.1.json +913 -0
- data/lib/fauxhai/platforms/gentoo/4.9.95-gentoo.json +989 -0
- data/lib/fauxhai/platforms/linuxmint/19.0.json +9649 -0
- data/lib/fauxhai/platforms/mac_os_x/10.14.json +1350 -0
- data/lib/fauxhai/platforms/mac_os_x/10.15.json +1510 -0
- data/lib/fauxhai/platforms/mac_os_x/11.0.json +2821 -0
- data/lib/fauxhai/platforms/mac_os_x/11.json +3356 -0
- data/lib/fauxhai/platforms/mac_os_x/12.json +3546 -0
- data/lib/fauxhai/platforms/openbsd/6.2.json +295 -0
- data/lib/fauxhai/platforms/opensuse/15.2.json +5967 -0
- data/lib/fauxhai/platforms/oracle/6.10.json +4349 -0
- data/lib/fauxhai/platforms/oracle/7.5.json +6576 -0
- data/lib/fauxhai/platforms/oracle/7.6.json +6591 -0
- data/lib/fauxhai/platforms/raspbian/10.json +3664 -0
- data/lib/fauxhai/platforms/redhat/6.10.json +5822 -0
- data/lib/fauxhai/platforms/redhat/7.7.json +3969 -0
- data/lib/fauxhai/platforms/redhat/7.8.json +3958 -0
- data/lib/fauxhai/platforms/redhat/7.9.json +3959 -0
- data/lib/fauxhai/platforms/redhat/8.json +4547 -0
- data/lib/fauxhai/platforms/rocky/8.json +5768 -0
- data/lib/fauxhai/platforms/smartos/5.11.json +1680 -0
- data/lib/fauxhai/platforms/solaris2/5.11.json +10290 -0
- data/lib/fauxhai/platforms/suse/12.4.json +5875 -0
- data/lib/fauxhai/platforms/suse/12.5.json +5012 -0
- data/lib/fauxhai/platforms/suse/15.json +6096 -0
- data/lib/fauxhai/platforms/ubuntu/16.04.json +3885 -0
- data/lib/fauxhai/platforms/ubuntu/18.04.json +4042 -0
- data/lib/fauxhai/platforms/ubuntu/20.04.json +4613 -0
- data/lib/fauxhai/platforms/windows/10.json +431 -0
- data/lib/fauxhai/platforms/windows/2012.json +404 -0
- data/lib/fauxhai/platforms/windows/2012R2.json +406 -0
- data/lib/fauxhai/platforms/windows/2016.json +408 -0
- data/lib/fauxhai/platforms/windows/2019.json +408 -0
- data/lib/fauxhai/platforms/windows/8.1.json +416 -0
- data/lib/fauxhai/runner/default.rb +284 -0
- data/lib/fauxhai/runner/windows.rb +101 -0
- data/lib/fauxhai/runner.rb +45 -0
- data/lib/fauxhai/version.rb +3 -0
- data/lib/fauxhai.rb +18 -0
- metadata +202 -0
@@ -0,0 +1,392 @@
|
|
1
|
+
{
|
2
|
+
"chef_packages": {
|
3
|
+
"chef": {
|
4
|
+
"chef_root": "/usr/local/lib/ruby/gems/2.3/gems/chef-13.1.31/lib",
|
5
|
+
"version": "13.1.31"
|
6
|
+
},
|
7
|
+
"ohai": {
|
8
|
+
"ohai_root": "/usr/local/lib/ruby/gems/2.3/gems/ohai-13.1.0/lib/ohai",
|
9
|
+
"version": "13.1.0"
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"command": {
|
13
|
+
"ps": "ps -axww"
|
14
|
+
},
|
15
|
+
"counters": {
|
16
|
+
"network": {
|
17
|
+
"interfaces": {
|
18
|
+
"em0": {
|
19
|
+
"rx": {
|
20
|
+
"bytes": 0,
|
21
|
+
"compressed": 0,
|
22
|
+
"drop": 0,
|
23
|
+
"errors": 0,
|
24
|
+
"frame": 0,
|
25
|
+
"multicast": 0,
|
26
|
+
"overrun": 0,
|
27
|
+
"packets": 0
|
28
|
+
},
|
29
|
+
"tx": {
|
30
|
+
"bytes": 0,
|
31
|
+
"carrier": 0,
|
32
|
+
"collisions": 0,
|
33
|
+
"compressed": 0,
|
34
|
+
"drop": 0,
|
35
|
+
"errors": 0,
|
36
|
+
"overrun": 0,
|
37
|
+
"packets": 0
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"lo": {
|
41
|
+
"rx": {
|
42
|
+
"bytes": 0,
|
43
|
+
"drop": 0,
|
44
|
+
"errors": 0,
|
45
|
+
"overrun": 0,
|
46
|
+
"packets": 0
|
47
|
+
},
|
48
|
+
"tx": {
|
49
|
+
"bytes": 0,
|
50
|
+
"carrier": 0,
|
51
|
+
"collisions": 0,
|
52
|
+
"drop": 0,
|
53
|
+
"errors": 0,
|
54
|
+
"packets": 0,
|
55
|
+
"queuelen": "1"
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
"cpu": {
|
62
|
+
"cores": 1,
|
63
|
+
"real": 1,
|
64
|
+
"total": 1
|
65
|
+
},
|
66
|
+
"current_user": "fauxhai",
|
67
|
+
"dmi": {
|
68
|
+
},
|
69
|
+
"domain": "local",
|
70
|
+
"etc": {
|
71
|
+
"group": {
|
72
|
+
"fauxhai": {
|
73
|
+
"gid": 0,
|
74
|
+
"members": [
|
75
|
+
"fauxhai"
|
76
|
+
]
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"passwd": {
|
80
|
+
"fauxhai": {
|
81
|
+
"dir": "/home/fauxhai",
|
82
|
+
"gecos": "Fauxhai",
|
83
|
+
"gid": 0,
|
84
|
+
"shell": "/bin/bash",
|
85
|
+
"uid": 0
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
"filesystem": {
|
90
|
+
"/build/usr.obj": {
|
91
|
+
"inodes_available": "0",
|
92
|
+
"inodes_percent_used": "100",
|
93
|
+
"inodes_used": "99363",
|
94
|
+
"kb_available": "11621344",
|
95
|
+
"kb_size": "13500416",
|
96
|
+
"kb_used": "1879072",
|
97
|
+
"mount": "/usr/obj",
|
98
|
+
"percent_used": "14%",
|
99
|
+
"total_inodes": "99363"
|
100
|
+
},
|
101
|
+
"/build/var.cache": {
|
102
|
+
"inodes_available": "0",
|
103
|
+
"inodes_percent_used": "100",
|
104
|
+
"inodes_used": "99363",
|
105
|
+
"kb_available": "11621344",
|
106
|
+
"kb_size": "13500416",
|
107
|
+
"kb_used": "1879072",
|
108
|
+
"mount": "/var/cache",
|
109
|
+
"percent_used": "14%",
|
110
|
+
"total_inodes": "99363"
|
111
|
+
},
|
112
|
+
"/build/var.crash": {
|
113
|
+
"inodes_available": "0",
|
114
|
+
"inodes_percent_used": "100",
|
115
|
+
"inodes_used": "99363",
|
116
|
+
"kb_available": "11621344",
|
117
|
+
"kb_size": "13500416",
|
118
|
+
"kb_used": "1879072",
|
119
|
+
"mount": "/var/crash",
|
120
|
+
"percent_used": "14%",
|
121
|
+
"total_inodes": "99363"
|
122
|
+
},
|
123
|
+
"/build/var.log": {
|
124
|
+
"inodes_available": "0",
|
125
|
+
"inodes_percent_used": "100",
|
126
|
+
"inodes_used": "99363",
|
127
|
+
"kb_available": "11621344",
|
128
|
+
"kb_size": "13500416",
|
129
|
+
"kb_used": "1879072",
|
130
|
+
"mount": "/var/log",
|
131
|
+
"percent_used": "14%",
|
132
|
+
"total_inodes": "99363"
|
133
|
+
},
|
134
|
+
"/build/var.spool": {
|
135
|
+
"inodes_available": "0",
|
136
|
+
"inodes_percent_used": "100",
|
137
|
+
"inodes_used": "99363",
|
138
|
+
"kb_available": "11621344",
|
139
|
+
"kb_size": "13500416",
|
140
|
+
"kb_used": "1879072",
|
141
|
+
"mount": "/var/spool",
|
142
|
+
"percent_used": "14%",
|
143
|
+
"total_inodes": "99363"
|
144
|
+
},
|
145
|
+
"/build/var.tmp": {
|
146
|
+
"inodes_available": "0",
|
147
|
+
"inodes_percent_used": "100",
|
148
|
+
"inodes_used": "99363",
|
149
|
+
"kb_available": "11621344",
|
150
|
+
"kb_size": "13500416",
|
151
|
+
"kb_used": "1879072",
|
152
|
+
"mount": "/var/tmp",
|
153
|
+
"percent_used": "14%",
|
154
|
+
"total_inodes": "99363"
|
155
|
+
},
|
156
|
+
"/dev/serno/VB479f1e2c-4509c5c9.s1a": {
|
157
|
+
"inodes_available": "15947",
|
158
|
+
"inodes_percent_used": "4",
|
159
|
+
"inodes_used": "691",
|
160
|
+
"kb_available": "806998",
|
161
|
+
"kb_size": "1046318",
|
162
|
+
"kb_used": "155616",
|
163
|
+
"mount": "/boot",
|
164
|
+
"percent_used": "16%",
|
165
|
+
"total_inodes": "16638"
|
166
|
+
},
|
167
|
+
"ROOT": {
|
168
|
+
"inodes_available": "0",
|
169
|
+
"inodes_percent_used": "100",
|
170
|
+
"inodes_used": "99363",
|
171
|
+
"kb_available": "11621344",
|
172
|
+
"kb_size": "13500416",
|
173
|
+
"kb_used": "1879072",
|
174
|
+
"mount": "/",
|
175
|
+
"percent_used": "14%",
|
176
|
+
"total_inodes": "99363"
|
177
|
+
},
|
178
|
+
"devfs": {
|
179
|
+
"inodes_available": "0",
|
180
|
+
"inodes_percent_used": "100",
|
181
|
+
"inodes_used": "671",
|
182
|
+
"kb_available": "0",
|
183
|
+
"kb_size": "1",
|
184
|
+
"kb_used": "1",
|
185
|
+
"mount": "/dev",
|
186
|
+
"percent_used": "100%",
|
187
|
+
"total_inodes": "671"
|
188
|
+
},
|
189
|
+
"procfs": {
|
190
|
+
"inodes_available": "1952",
|
191
|
+
"inodes_percent_used": "1",
|
192
|
+
"inodes_used": "20",
|
193
|
+
"kb_available": "0",
|
194
|
+
"kb_size": "4",
|
195
|
+
"kb_used": "4",
|
196
|
+
"mount": "/proc",
|
197
|
+
"percent_used": "100%",
|
198
|
+
"total_inodes": "1972"
|
199
|
+
},
|
200
|
+
"tmpfs": {
|
201
|
+
"inodes_available": "243514",
|
202
|
+
"inodes_percent_used": "0",
|
203
|
+
"inodes_used": "1",
|
204
|
+
"kb_available": "243512",
|
205
|
+
"kb_size": "243512",
|
206
|
+
"kb_used": "0",
|
207
|
+
"mount": "/tmp",
|
208
|
+
"percent_used": "0%",
|
209
|
+
"total_inodes": "243515"
|
210
|
+
}
|
211
|
+
},
|
212
|
+
"fqdn": "fauxhai.local",
|
213
|
+
"hostname": "Fauxhai",
|
214
|
+
"idle": "30 days 15 hours 07 minutes 30 seconds",
|
215
|
+
"idletime_seconds": 2646450,
|
216
|
+
"ipaddress": "10.0.0.2",
|
217
|
+
"kernel": {
|
218
|
+
"ident": "X86_64_GENERIC",
|
219
|
+
"machine": "x86_64",
|
220
|
+
"modules": {
|
221
|
+
"acpi": {
|
222
|
+
"refcount": "1",
|
223
|
+
"size": "debb0"
|
224
|
+
},
|
225
|
+
"ehci": {
|
226
|
+
"refcount": "1",
|
227
|
+
"size": "cff0"
|
228
|
+
},
|
229
|
+
"kernel": {
|
230
|
+
"refcount": "7",
|
231
|
+
"size": "1eeb980"
|
232
|
+
},
|
233
|
+
"xhci": {
|
234
|
+
"refcount": "1",
|
235
|
+
"size": "d350"
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"name": "DragonFly",
|
239
|
+
"os": "DragonFly",
|
240
|
+
"processor": "x86_64",
|
241
|
+
"release": "4.8-RELEASE",
|
242
|
+
"securelevel": [
|
243
|
+
"kern.securelevel: -1"
|
244
|
+
],
|
245
|
+
"version": "DragonFly v4.8.0-RELEASE #4: Sun Mar 26 20:55:22 EDT 2017 root@www.shiningsilence.com:/usr/obj/home/justin/release/4_8/sys/X86_64_GENERIC "
|
246
|
+
},
|
247
|
+
"keys": {
|
248
|
+
"ssh": {
|
249
|
+
"host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
|
250
|
+
"host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
"languages": {
|
254
|
+
"powershell": null,
|
255
|
+
"ruby": {
|
256
|
+
"bin_dir": "/usr/local/bin",
|
257
|
+
"gem_bin": "/usr/local/bin/gem",
|
258
|
+
"gems_dir": "/usr/local/gems",
|
259
|
+
"host": "x86_64-portbld-dragonfly4",
|
260
|
+
"host_cpu": "x86_64",
|
261
|
+
"host_os": "dragonfly4",
|
262
|
+
"host_vendor": "portbld",
|
263
|
+
"platform": "x86_64-dragonfly4",
|
264
|
+
"release_date": "2017-03-30",
|
265
|
+
"ruby_bin": "/usr/local/bin/ruby",
|
266
|
+
"target": "x86_64-portbld-dragonfly4",
|
267
|
+
"target_cpu": "x86_64",
|
268
|
+
"target_os": "dragonfly4",
|
269
|
+
"target_vendor": "portbld",
|
270
|
+
"version": "2.3.4"
|
271
|
+
}
|
272
|
+
},
|
273
|
+
"macaddress": "11:11:11:11:11:11",
|
274
|
+
"machinename": "Fauxhai",
|
275
|
+
"memory": {
|
276
|
+
"total": "1048576kB"
|
277
|
+
},
|
278
|
+
"network": {
|
279
|
+
"default_gateway": "10.0.0.1",
|
280
|
+
"default_interface": "em0",
|
281
|
+
"interfaces": {
|
282
|
+
"em0": {
|
283
|
+
"addresses": {
|
284
|
+
"10.0.0.2": {
|
285
|
+
"broadcast": "10.0.0.255",
|
286
|
+
"family": "inet",
|
287
|
+
"ip_scope": "RFC1918 PRIVATE",
|
288
|
+
"netmask": "255.255.255.0",
|
289
|
+
"prefixlen": "24",
|
290
|
+
"scope": "Global"
|
291
|
+
},
|
292
|
+
"11:11:11:11:11:11": {
|
293
|
+
"family": "lladdr"
|
294
|
+
},
|
295
|
+
"fe80::11:1111:1111:1111": {
|
296
|
+
"family": "inet6",
|
297
|
+
"ip_scope": "LINK LOCAL UNICAST",
|
298
|
+
"prefixlen": "64",
|
299
|
+
"scope": "Link",
|
300
|
+
"tags": [
|
301
|
+
]
|
302
|
+
}
|
303
|
+
},
|
304
|
+
"arp": {
|
305
|
+
"10.0.0.1": "fe:ff:ff:ff:ff:ff"
|
306
|
+
},
|
307
|
+
"encapsulation": "Ethernet",
|
308
|
+
"flags": [
|
309
|
+
"BROADCAST",
|
310
|
+
"MULTICAST",
|
311
|
+
"UP",
|
312
|
+
"LOWER_UP"
|
313
|
+
],
|
314
|
+
"mtu": "1500",
|
315
|
+
"number": "0",
|
316
|
+
"ring_params": {
|
317
|
+
},
|
318
|
+
"routes": [
|
319
|
+
{
|
320
|
+
"destination": "default",
|
321
|
+
"family": "inet",
|
322
|
+
"via": "10.0.0.1"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"destination": "10.0.0.0/24",
|
326
|
+
"family": "inet",
|
327
|
+
"proto": "kernel",
|
328
|
+
"scope": "link",
|
329
|
+
"src": "10.0.0.2"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"destination": "fe80::/64",
|
333
|
+
"family": "inet6",
|
334
|
+
"metric": "256",
|
335
|
+
"proto": "kernel"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"state": "up",
|
339
|
+
"type": "em"
|
340
|
+
},
|
341
|
+
"lo": {
|
342
|
+
"addresses": {
|
343
|
+
"127.0.0.1": {
|
344
|
+
"family": "inet",
|
345
|
+
"ip_scope": "LOOPBACK",
|
346
|
+
"netmask": "255.0.0.0",
|
347
|
+
"prefixlen": "8",
|
348
|
+
"scope": "Node"
|
349
|
+
},
|
350
|
+
"::1": {
|
351
|
+
"family": "inet6",
|
352
|
+
"ip_scope": "LINK LOCAL LOOPBACK",
|
353
|
+
"prefixlen": "128",
|
354
|
+
"scope": "Node",
|
355
|
+
"tags": [
|
356
|
+
]
|
357
|
+
}
|
358
|
+
},
|
359
|
+
"encapsulation": "Loopback",
|
360
|
+
"flags": [
|
361
|
+
"LOOPBACK",
|
362
|
+
"UP",
|
363
|
+
"LOWER_UP"
|
364
|
+
],
|
365
|
+
"mtu": "65536",
|
366
|
+
"state": "unknown"
|
367
|
+
}
|
368
|
+
}
|
369
|
+
},
|
370
|
+
"ohai_time": 1497441132.986166,
|
371
|
+
"os": "dragonflybsd",
|
372
|
+
"os_version": "400800",
|
373
|
+
"platform": "dragonfly",
|
374
|
+
"platform_family": "dragonflybsd",
|
375
|
+
"platform_version": "4.8-RELEASE",
|
376
|
+
"root_group": "wheel",
|
377
|
+
"shells": [
|
378
|
+
"/bin/sh",
|
379
|
+
"/bin/csh",
|
380
|
+
"/bin/tcsh",
|
381
|
+
"/usr/local/libexec/git-core/git-shell"
|
382
|
+
],
|
383
|
+
"time": {
|
384
|
+
"timezone": "GMT"
|
385
|
+
},
|
386
|
+
"uptime": "30 days 15 hours 07 minutes 30 seconds",
|
387
|
+
"uptime_seconds": 2646450,
|
388
|
+
"virtualization": {
|
389
|
+
"systems": {
|
390
|
+
}
|
391
|
+
}
|
392
|
+
}
|