simp-rspec-puppet-facts 3.6.2 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,62 +28,92 @@
28
28
  },
29
29
  "architecture": "x86_64"
30
30
  },
31
+ "osfamily": "RedHat",
32
+ "operatingsystem": "Rocky",
33
+ "operatingsystemmajrelease": "8",
34
+ "operatingsystemrelease": "8.7",
35
+ "lsbdistrelease": "8.7",
36
+ "lsbmajdistrelease": "8",
37
+ "lsbminordistrelease": "7",
38
+ "network_lo": "127.0.0.0",
39
+ "network_eth0": "10.0.2.0",
40
+ "network_eth1": "10.255.0.0",
31
41
  "path": "/opt/puppetlabs/bin:/opt/puppetlabs/puppet/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin",
32
42
  "memory": {
33
43
  "system": {
34
- "available": "418.16 MiB",
35
- "available_bytes": 438468608,
44
+ "available": "418.12 MiB",
45
+ "available_bytes": 438427648,
36
46
  "capacity": "48.04%",
37
47
  "total": "804.73 MiB",
38
48
  "total_bytes": 843821056,
39
- "used": "386.57 MiB",
40
- "used_bytes": 405352448
49
+ "used": "386.61 MiB",
50
+ "used_bytes": 405393408
41
51
  },
42
52
  "swap": {
43
53
  "available": "2.05 GiB",
44
- "available_bytes": 2200399872,
45
- "capacity": "0.26%",
54
+ "available_bytes": 2199523328,
55
+ "capacity": "0.30%",
46
56
  "total": "2.05 GiB",
47
57
  "total_bytes": 2206199808,
48
- "used": "5.53 MiB",
49
- "used_bytes": 5799936
58
+ "used": "6.37 MiB",
59
+ "used_bytes": 6676480
50
60
  }
51
61
  },
62
+ "memoryfree": "418.12 MiB",
63
+ "memoryfree_mb": 418.1171875,
64
+ "memorysize": "804.73 MiB",
65
+ "memorysize_mb": 804.73046875,
66
+ "swapfree": "2.05 GiB",
67
+ "swapfree_mb": 2097.62890625,
68
+ "swapsize": "2.05 GiB",
69
+ "swapsize_mb": 2103.99609375,
52
70
  "ssh": {
53
71
  "rsa": {
54
72
  "fingerprints": {
55
- "sha1": "SSHFP 1 1 50a598e7beae389d07a8afaa17168b2c08d45195",
56
- "sha256": "SSHFP 1 2 8485e6f0b097098b1a0da8f46ba395c25e1c84b4e7c03c2c18a005903af6b375"
73
+ "sha1": "SSHFP 1 1 0735ae7898ac8a0ef359ced7895a91c8da7f6dc8",
74
+ "sha256": "SSHFP 1 2 977046592313811f25da2e7a37c9de0b0c7e84005eba170c3e999326d336fabe"
57
75
  },
58
- "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC7NifVZ01s5iBFGm7ZD3TNrTE4Gwau7m2R71CK3JUrLIF138jew0/59qCIXhdVCoVd2uGQZ+8Xx7QBjkZozAoFgOcJb9yXKIJDXnmSO5yJ9MTGuMO02e2QP4Q7Stn0e64pG3SD/+62bMTQsaS4HBMHDe1x+JOHToe/v1bKg9XK2Z5IAemPqANbi6WMMllV7E88kGgV8E3W0NCY85dxjY4qX+enogRRVRgTI95aWM9LhsOa5fL3HvUeHOrajlMZnOw1ZvaCl3IP+3yTpL6xzaZts42Lb9NIniO4BttDi/qAfOSCdqKXvUY2iIkkpxqdyvDOW/VLcmkD6pDZv7rB2a/K412hwggV+TUk3Q3zvf9YMmyXQNALCohA30rzk2NfR3jH7hlgXFDVoLfgwGXJzHELNIf0yl12NX/QqiT7yLenbWA3iRliJrT0NWvSUVNslM3NLAefahKx6hO4wEEieTd5PDdbI2GQXlwH2wXIhqbBHGhkRwJzf5n05+wm+tG821c=",
76
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/5+n8biqddEfY7nKt/9ahdu0G1GaO6owJnoTZ/s1p9X0HX8t/nG11Sw2hdKzizX3BYisZjG9g6tMF34ICNkkdJzlgFNWM5SRDAMtInH/jP7/9IkNxXcOW7SkwgGff/Z8UyTqYUjxo1etpjPZTbZ5V2ZEDj2Yr6BVA3sYxcYt6j3cWRj5SnqJ+KyBizGwBIOJBgtCJx1BK20uOlz5bjYgu29LqhL3HGqV0AA00bap03IqXt7cFvHf/1s+PIzTo8FKQ++vUGnE54iTY8/lAOgR4OCtkFG8+kMa8bjEt0EVtpXJCBnTvhvYNivf7cTnNQY7Op5fXjbi+acBRqHeLlLnl6mYT+2F9Wv5olqAW2mhB/7cz6jNaIpF3YiPh3cGRCjgfUaBC35CfuirGKwVMV4NmN/0jcl9YkoxS0H48y6HGEAqZnMlyoV9LjA3kmEc/R7/Nm/562s3AKs/0yVbmHn/RVQzBgKabPj1ZO8Ot+p7tu+7qI11480IsG1Np/oSJtrU=",
59
77
  "type": "ssh-rsa"
60
78
  },
61
79
  "ecdsa": {
62
80
  "fingerprints": {
63
- "sha1": "SSHFP 3 1 f6c654533acecc9869c5e647cc51d791393372c9",
64
- "sha256": "SSHFP 3 2 b3304298ce06acebd1ea4c714af7a876e493b87926b5a97c109904269ecefc39"
81
+ "sha1": "SSHFP 3 1 f7c379d1ce1433c750833820724be89b6f269c42",
82
+ "sha256": "SSHFP 3 2 7c08e728bc14721cb40ee0f5eb189b90e86946e6f038a6e8bf0d450fe3e09b34"
65
83
  },
66
- "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKQ82yv4quRrljVkvTE7DcXuJJ9HOzW4h5eVGEDAgNIIqoJOCbyy0iAEYo85cm2ViJIN7LExceeDIXFO/n9tLAw=",
84
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKdhcnIk3OlYd7rppl/ug7zQg74uBNt3H2LakswmEoXqyufHoo3LFXzdSKqFWE7XWnN9o6JnuWlVPQYPi7HC+yc=",
67
85
  "type": "ecdsa-sha2-nistp256"
68
86
  },
69
87
  "ed25519": {
70
88
  "fingerprints": {
71
- "sha1": "SSHFP 4 1 9267ab6926f1276cad797629806219be51b631fa",
72
- "sha256": "SSHFP 4 2 42011bf6d4c13947c96aa6a602af86b8a9f940dfd0787a45f3f6eff53717e3ec"
89
+ "sha1": "SSHFP 4 1 c47cd5da3c2b1dd41453c0aa6ac124f04a9e4524",
90
+ "sha256": "SSHFP 4 2 24a9a3ed7fb252dcde25166d2d32cb93dd0a75c5fe8961294dcee19d3af7f028"
73
91
  },
74
- "key": "AAAAC3NzaC1lZDI1NTE5AAAAIHvAV/m2B9WnMtpcI1qhlZZ3TdcGFcstv1QCktNQzmzi",
92
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIO42oWpdLxQZSFu36NUDiFMoJ3/CktXAUYXYN9zbhJba",
75
93
  "type": "ssh-ed25519"
76
94
  }
77
95
  },
96
+ "hardwaremodel": "x86_64",
97
+ "selinux_config_policy": "targeted",
98
+ "selinux_current_mode": "enforcing",
99
+ "selinux": true,
100
+ "selinux_enforced": true,
101
+ "selinux_policyversion": "33",
102
+ "selinux_config_mode": "enforcing",
103
+ "architecture": "x86_64",
78
104
  "ruby": {
79
105
  "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.7.0",
80
106
  "version": "2.7.7",
81
107
  "platform": "x86_64-linux"
82
108
  },
109
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.7.0",
110
+ "rubyversion": "2.7.7",
111
+ "rubyplatform": "x86_64-linux",
83
112
  "aio_agent_version": "7.24.0",
84
113
  "augeas": {
85
114
  "version": "1.13.0"
86
115
  },
116
+ "augeasversion": "1.13.0",
87
117
  "mountpoints": {
88
118
  "/dev": {
89
119
  "device": "devtmpfs",
@@ -193,21 +223,20 @@
193
223
  "noquota"
194
224
  ],
195
225
  "size_bytes": 134118113280,
196
- "available_bytes": 130953715712,
197
- "used_bytes": 3164397568,
198
- "capacity": "2.36%",
226
+ "available_bytes": 130978238464,
227
+ "used_bytes": 3139874816,
228
+ "capacity": "2.34%",
199
229
  "size": "124.91 GiB",
200
- "available": "121.96 GiB",
201
- "used": "2.95 GiB"
230
+ "available": "121.98 GiB",
231
+ "used": "2.92 GiB"
202
232
  },
203
- "/dev/hugepages": {
204
- "device": "hugetlbfs",
205
- "filesystem": "hugetlbfs",
233
+ "/dev/mqueue": {
234
+ "device": "mqueue",
235
+ "filesystem": "mqueue",
206
236
  "options": [
207
237
  "rw",
208
238
  "seclabel",
209
- "relatime",
210
- "pagesize=2M"
239
+ "relatime"
211
240
  ],
212
241
  "size_bytes": 0,
213
242
  "available_bytes": 0,
@@ -217,13 +246,14 @@
217
246
  "available": "0 bytes",
218
247
  "used": "0 bytes"
219
248
  },
220
- "/dev/mqueue": {
221
- "device": "mqueue",
222
- "filesystem": "mqueue",
249
+ "/dev/hugepages": {
250
+ "device": "hugetlbfs",
251
+ "filesystem": "hugetlbfs",
223
252
  "options": [
224
253
  "rw",
225
254
  "seclabel",
226
- "relatime"
255
+ "relatime",
256
+ "pagesize=2M"
227
257
  ],
228
258
  "size_bytes": 0,
229
259
  "available_bytes": 0,
@@ -275,6 +305,9 @@
275
305
  "used": "0 bytes"
276
306
  }
277
307
  },
308
+ "dhcp_servers": {
309
+ "system": ""
310
+ },
278
311
  "dmi": {
279
312
  "board": {
280
313
  "manufacturer": "Oracle Corporation",
@@ -292,17 +325,38 @@
292
325
  },
293
326
  "product": {
294
327
  "name": "VirtualBox",
295
- "uuid": "b2c6e94c-d596-ef4e-90df-07922ba13fad",
328
+ "uuid": "e03dc4b0-d6a6-864a-b9d4-dc164017a107",
296
329
  "serial_number": "0"
297
330
  }
298
331
  },
332
+ "boardmanufacturer": "Oracle Corporation",
333
+ "boardproductname": "VirtualBox",
334
+ "boardserialnumber": "0",
335
+ "chassistype": "Other",
336
+ "manufacturer": "innotek GmbH",
337
+ "bios_version": "VirtualBox",
338
+ "bios_release_date": "12/01/2006",
339
+ "bios_vendor": "innotek GmbH",
340
+ "productname": "VirtualBox",
341
+ "uuid": "e03dc4b0-d6a6-864a-b9d4-dc164017a107",
342
+ "serialnumber": "0",
299
343
  "timezone": "UTC",
344
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/5+n8biqddEfY7nKt/9ahdu0G1GaO6owJnoTZ/s1p9X0HX8t/nG11Sw2hdKzizX3BYisZjG9g6tMF34ICNkkdJzlgFNWM5SRDAMtInH/jP7/9IkNxXcOW7SkwgGff/Z8UyTqYUjxo1etpjPZTbZ5V2ZEDj2Yr6BVA3sYxcYt6j3cWRj5SnqJ+KyBizGwBIOJBgtCJx1BK20uOlz5bjYgu29LqhL3HGqV0AA00bap03IqXt7cFvHf/1s+PIzTo8FKQ++vUGnE54iTY8/lAOgR4OCtkFG8+kMa8bjEt0EVtpXJCBnTvhvYNivf7cTnNQY7Op5fXjbi+acBRqHeLlLnl6mYT+2F9Wv5olqAW2mhB/7cz6jNaIpF3YiPh3cGRCjgfUaBC35CfuirGKwVMV4NmN/0jcl9YkoxS0H48y6HGEAqZnMlyoV9LjA3kmEc/R7/Nm/562s3AKs/0yVbmHn/RVQzBgKabPj1ZO8Ot+p7tu+7qI11480IsG1Np/oSJtrU=",
345
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKdhcnIk3OlYd7rppl/ug7zQg74uBNt3H2LakswmEoXqyufHoo3LFXzdSKqFWE7XWnN9o6JnuWlVPQYPi7HC+yc=",
346
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIO42oWpdLxQZSFu36NUDiFMoJ3/CktXAUYXYN9zbhJba",
347
+ "sshfp_rsa": "SSHFP 1 1 0735ae7898ac8a0ef359ced7895a91c8da7f6dc8\nSSHFP 1 2 977046592313811f25da2e7a37c9de0b0c7e84005eba170c3e999326d336fabe",
348
+ "sshfp_ecdsa": "SSHFP 3 1 f7c379d1ce1433c750833820724be89b6f269c42\nSSHFP 3 2 7c08e728bc14721cb40ee0f5eb189b90e86946e6f038a6e8bf0d450fe3e09b34",
349
+ "sshfp_ed25519": "SSHFP 4 1 c47cd5da3c2b1dd41453c0aa6ac124f04a9e4524\nSSHFP 4 2 24a9a3ed7fb252dcde25166d2d32cb93dd0a75c5fe8961294dcee19d3af7f028",
300
350
  "system_uptime": {
301
351
  "days": 0,
302
352
  "hours": 0,
303
- "seconds": 215,
353
+ "seconds": 201,
304
354
  "uptime": "0:03 hours"
305
355
  },
356
+ "uptime_days": 0,
357
+ "uptime_hours": 0,
358
+ "uptime_seconds": 201,
359
+ "uptime": "0:03 hours",
306
360
  "disks": {
307
361
  "sda": {
308
362
  "model": "VBOX HARDDISK",
@@ -310,9 +364,13 @@
310
364
  "size": "128.00 GiB",
311
365
  "vendor": "ATA",
312
366
  "type": "hdd",
313
- "serial": "VBaf4048ef-4895b684"
367
+ "serial": "VBae7883a9-3761d554"
314
368
  }
315
369
  },
370
+ "blockdevices": "sda",
371
+ "blockdevice_sda_model": "VBOX HARDDISK",
372
+ "blockdevice_sda_size": 137438953472,
373
+ "blockdevice_sda_vendor": "ATA",
316
374
  "hypervisors": {
317
375
  "virtualbox": {
318
376
  "version": "7.0.4",
@@ -359,10 +417,19 @@
359
417
  "uid": 0,
360
418
  "user": "root"
361
419
  },
420
+ "gid": "root",
421
+ "id": "root",
422
+ "ipaddress_lo": "127.0.0.1",
423
+ "ipaddress_eth0": "10.0.2.15",
424
+ "ipaddress_eth1": "10.255.180.83",
362
425
  "is_virtual": true,
426
+ "processor0": "Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz",
363
427
  "kernelmajversion": "4.18",
428
+ "interfaces": "eth0,eth1,lo",
364
429
  "kernelrelease": "4.18.0-425.13.1.el8_7.x86_64",
365
430
  "kernelversion": "4.18.0",
431
+ "macaddress_eth0": "08:00:27:81:83:ce",
432
+ "macaddress_eth1": "08:00:27:93:f3:35",
366
433
  "networking": {
367
434
  "domain": "example.com",
368
435
  "fqdn": "foo.example.com",
@@ -395,16 +462,16 @@
395
462
  "network": "10.0.2.0"
396
463
  },
397
464
  "eth1": {
398
- "mac": "08:00:27:4a:5b:de",
465
+ "mac": "08:00:27:93:f3:35",
399
466
  "bindings": [
400
467
  {
401
- "address": "10.255.126.12",
468
+ "address": "10.255.180.83",
402
469
  "netmask": "255.255.0.0",
403
470
  "network": "10.255.0.0"
404
471
  }
405
472
  ],
406
473
  "mtu": 1500,
407
- "ip": "10.255.126.12",
474
+ "ip": "10.255.180.83",
408
475
  "netmask": "255.255.0.0",
409
476
  "network": "10.255.0.0"
410
477
  }
@@ -417,24 +484,40 @@
417
484
  "netmask": "255.255.0.0",
418
485
  "network": "10.0.2.0"
419
486
  },
487
+ "domain": "example.com",
488
+ "fqdn": "foo.example.com",
489
+ "macaddress": "08:00:27:81:83:ce",
490
+ "ipaddress": "10.0.2.15",
491
+ "hostname": "foo",
492
+ "netmask": "255.255.0.0",
493
+ "network": "10.0.2.0",
420
494
  "processors": {
421
495
  "isa": "x86_64",
422
496
  "models": [
423
497
  "Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz"
424
498
  ],
425
499
  "physicalcount": 1,
426
- "speed": "2.31 GHz",
500
+ "speed": "2.29 GHz",
427
501
  "threads": 1,
428
502
  "cores": 1,
429
503
  "count": 1
430
504
  },
505
+ "hardwareisa": "x86_64",
506
+ "physicalprocessorcount": 1,
507
+ "processorcount": 1,
431
508
  "virtual": "virtualbox",
432
509
  "kernel": "Linux",
433
510
  "load_averages": {
434
- "1m": 0.56,
511
+ "1m": 0.8,
435
512
  "5m": 0.52,
436
- "15m": 0.23
513
+ "15m": 0.22
437
514
  },
515
+ "mtu_lo": 65536,
516
+ "mtu_eth0": 1500,
517
+ "mtu_eth1": 1500,
518
+ "netmask_lo": "255.0.0.0",
519
+ "netmask_eth0": "255.255.0.0",
520
+ "netmask_eth1": "255.255.0.0",
438
521
  "puppetversion": "7.24.0",
439
522
  "systemd": true,
440
523
  "systemd_version": "239",
@@ -618,7 +701,7 @@
618
701
  "model": "126",
619
702
  "model_name": "Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz",
620
703
  "stepping": "5",
621
- "cpu_MHz": "2309.458",
704
+ "cpu_MHz": "2285.698",
622
705
  "cache_size": "8192 KB",
623
706
  "physical_id": "0",
624
707
  "siblings": "1",
@@ -698,7 +781,7 @@
698
781
  "arch_capabilities"
699
782
  ],
700
783
  "bugs": "cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_stale_data retbleed",
701
- "bogomips": "4618.91",
784
+ "bogomips": "4571.39",
702
785
  "clflush_size": "64",
703
786
  "cache_alignment": "64",
704
787
  "address_sizes": "39 bits physical, 48 bits virtual",
@@ -1093,7 +1176,7 @@
1093
1176
  "enabled": true,
1094
1177
  "version": "3.0.7",
1095
1178
  "failure": 1,
1096
- "pid": 797,
1179
+ "pid": 790,
1097
1180
  "rate_limit": 0,
1098
1181
  "backlog_limit": 8192,
1099
1182
  "lost": 0,
@@ -1187,7 +1270,7 @@
1187
1270
  "name": "System eth1"
1188
1271
  },
1189
1272
  "": {
1190
- "uuid": "5e7faaea-99dc-3c4c-86ef-7ba03f7951e5",
1273
+ "uuid": "b7231c9f-9d82-37da-b0c5-8ad303e2e0de",
1191
1274
  "type": "802-3-ethernet",
1192
1275
  "name": "Wired connection 1"
1193
1276
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files (x86)\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files (x86)\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Git\\cmd;C:\\Program Files (x86)\\Git\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin",
3
+ "network_Ethernet": "10.0.2.0",
3
4
  "os": {
4
5
  "name": "windows",
5
6
  "release": {
@@ -16,6 +17,16 @@
16
17
  "family": "windows",
17
18
  "hardware": "x86_64"
18
19
  },
20
+ "operatingsystem": "windows",
21
+ "operatingsystemmajrelease": "2012 R2",
22
+ "operatingsystemrelease": "2012 R2",
23
+ "architecture": "x64",
24
+ "system32": "C:\\Windows\\system32",
25
+ "windows_edition_id": "ServerDatacenter",
26
+ "windows_installation_type": "Server",
27
+ "windows_product_name": "Windows Server 2012 R2 Datacenter",
28
+ "osfamily": "windows",
29
+ "hardwaremodel": "x86_64",
19
30
  "hypervisors": {
20
31
  "virtualbox": {
21
32
  "version": "7.0.4",
@@ -24,38 +35,60 @@
24
35
  },
25
36
  "memory": {
26
37
  "system": {
27
- "available": "1.39 GiB",
28
- "available_bytes": 1497456640,
29
- "capacity": "30.25%",
38
+ "available": "1.41 GiB",
39
+ "available_bytes": 1510866944,
40
+ "capacity": "29.63%",
30
41
  "total": "2.00 GiB",
31
42
  "total_bytes": 2147012608,
32
- "used": "619.46 MiB",
33
- "used_bytes": 649555968
43
+ "used": "606.68 MiB",
44
+ "used_bytes": 636145664
34
45
  }
35
46
  },
47
+ "memoryfree": "1.41 GiB",
48
+ "memoryfree_mb": 1440.875,
49
+ "memorysize": "2.00 GiB",
50
+ "memorysize_mb": 2047.55078125,
36
51
  "ruby": {
37
52
  "version": "2.7.7",
38
53
  "platform": "x64-mingw32",
39
54
  "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/2.7.0"
40
55
  },
56
+ "rubyversion": "2.7.7",
57
+ "rubyplatform": "x64-mingw32",
58
+ "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/2.7.0",
41
59
  "aio_agent_version": "7.24.0",
42
60
  "facterversion": "4.3.1",
43
61
  "identity": {
44
62
  "user": "WIN\\vagrant",
45
63
  "privileged": true
46
64
  },
65
+ "id": "WIN\\vagrant",
66
+ "processor0": "Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz",
67
+ "interfaces": "Ethernet",
68
+ "ipaddress6_Ethernet": "fe80::a180:36e0:3a6e:1005",
47
69
  "fips_enabled": false,
70
+ "ipaddress_Ethernet": "10.0.2.15",
48
71
  "is_virtual": true,
49
72
  "kernelmajversion": "6.3",
50
73
  "kernelrelease": "6.3.9600",
51
74
  "kernelversion": "6.3.9600",
75
+ "macaddress_Ethernet": "08:00:27:81:38:FA",
76
+ "scope6_Ethernet": "link",
52
77
  "timezone": "Coordinated Universal Time",
53
78
  "system_uptime": {
54
79
  "days": 0,
55
80
  "hours": 0,
56
- "seconds": 264,
81
+ "seconds": 246,
57
82
  "uptime": "0:04 hours"
58
83
  },
84
+ "uptime_days": 0,
85
+ "uptime_hours": 0,
86
+ "uptime_seconds": 246,
87
+ "uptime": "0:04 hours",
88
+ "mtu_Ethernet": 1500,
89
+ "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
90
+ "netmask_Ethernet": "255.255.0.0",
91
+ "network6_Ethernet": "fe80::",
59
92
  "kernel": "windows",
60
93
  "networking": {
61
94
  "primary": "Ethernet",
@@ -102,7 +135,22 @@
102
135
  }
103
136
  }
104
137
  },
138
+ "scope6": "link",
139
+ "network": "10.0.2.0",
140
+ "hostname": "foo",
141
+ "domain": "example.com",
142
+ "fqdn": "foo.example.com",
143
+ "ipaddress": "10.0.2.15",
144
+ "ipaddress6": "fe80::a180:36e0:3a6e:1005",
145
+ "macaddress": "08:00:27:81:38:FA",
146
+ "netmask": "255.255.0.0",
147
+ "netmask6": "ffff:ffff:ffff:ffff::",
148
+ "network6": "fe80::",
105
149
  "virtual": "virtualbox",
150
+ "dhcp_servers": {
151
+ "system": "10.0.2.2",
152
+ "Ethernet": "10.0.2.2"
153
+ },
106
154
  "processors": {
107
155
  "threads": 1,
108
156
  "cores": 2,
@@ -113,14 +161,21 @@
113
161
  ],
114
162
  "physicalcount": 1
115
163
  },
164
+ "processorcount": 2,
165
+ "hardwareisa": "x64",
166
+ "physicalprocessorcount": 1,
116
167
  "dmi": {
117
168
  "product": {
118
169
  "name": "VirtualBox",
119
170
  "serial_number": "0",
120
- "uuid": "3E8C3329-49D3-7546-B5B9-3F02026C0E33"
171
+ "uuid": "BD4B78E4-A39B-654F-A4FE-915A719431AF"
121
172
  },
122
173
  "manufacturer": "innotek GmbH"
123
174
  },
175
+ "productname": "VirtualBox",
176
+ "serialnumber": "0",
177
+ "uuid": "BD4B78E4-A39B-654F-A4FE-915A719431AF",
178
+ "manufacturer": "innotek GmbH",
124
179
  "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
125
180
  "puppetversion": "7.24.0",
126
181
  "puppet_ruby_dir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet",
@@ -36,7 +36,7 @@ def scrub_data(f)
36
36
  ff = "#{f}.yaml"
37
37
  File.open(ff,'w'){|fd| fd.puts data.to_yaml }
38
38
  fb = f.sub(/.facts$/,'.facts.bak')
39
- unless File.exists? fb
39
+ unless File.exist? fb
40
40
  File.open(fb,'w'){|fd| fd.puts data}
41
41
  warn "== wrote '#{fb}'"
42
42
  end
@@ -191,7 +191,7 @@ module Simp::RspecPuppetFacts
191
191
  facter_xy_version = Facter.version.split('.')[0..1].join('.')
192
192
  fact_dir = File.join(fact_dir_path,facter_xy_version)
193
193
 
194
- unless File.exists? fact_dir
194
+ unless File.exist? fact_dir
195
195
  _msg = "Can't find SIMP facts for Facter #{facter_xy_version}, skipping...
196
196
 
197
197
  HINT: If this version of Facter has been released recently, try running
data/lib/simp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Simp; end
2
2
  module Simp::RspecPuppetFacts
3
- VERSION = '3.6.2'
3
+ VERSION = '3.7.0'
4
4
  end
@@ -37,7 +37,7 @@ describe 'look out muppets' do
37
37
  end
38
38
 
39
39
  it 'should collect valid fact data' do
40
- output = on(host, 'puppet facts --render-as json').stdout.lines.last
40
+ output = on(host, 'puppet facts show --show-legacy --render-as json').stdout.lines.last
41
41
 
42
42
  expect do
43
43
  parsed_output = JSON.parse(output)