simp-rspec-puppet-facts 1.3.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/facts/1.7/centos-6-x86_64.facts +11 -11
  3. data/facts/1.7/centos-7-x86_64.facts +12 -12
  4. data/facts/1.7/fedora-23-x86_64.facts +106 -0
  5. data/facts/1.7/redhat-6-x86_64.facts +10 -10
  6. data/facts/2.0/centos-6-x86_64.facts +16 -13
  7. data/facts/2.0/centos-7-x86_64.facts +15 -14
  8. data/facts/2.0/fedora-23-x86_64.facts +202 -0
  9. data/facts/2.0/redhat-6-x86_64.facts +14 -12
  10. data/facts/2.1/centos-6-x86_64.facts +16 -13
  11. data/facts/2.1/centos-7-x86_64.facts +15 -14
  12. data/facts/2.1/fedora-23-x86_64.facts +220 -0
  13. data/facts/2.1/redhat-6-x86_64.facts +14 -12
  14. data/facts/2.2/centos-6-x86_64.facts +17 -14
  15. data/facts/2.2/centos-7-x86_64.facts +16 -15
  16. data/facts/2.2/fedora-23-x86_64.facts +242 -0
  17. data/facts/2.2/redhat-6-x86_64.facts +16 -14
  18. data/facts/2.3/centos-6-x86_64.facts +19 -16
  19. data/facts/2.3/centos-7-x86_64.facts +16 -15
  20. data/facts/2.3/fedora-23-x86_64.facts +243 -0
  21. data/facts/2.3/redhat-6-x86_64.facts +16 -14
  22. data/facts/2.4/centos-6-x86_64.facts +19 -16
  23. data/facts/2.4/centos-7-x86_64.facts +16 -15
  24. data/facts/2.4/fedora-23-x86_64.facts +243 -0
  25. data/facts/2.4/redhat-6-x86_64.facts +16 -14
  26. data/facts/3.0/centos-6-x86_64.facts +28 -26
  27. data/facts/3.0/centos-7-x86_64.facts +33 -31
  28. data/facts/3.0/redhat-6-x86_64.facts +24 -22
  29. data/facts/3.1/centos-6-x86_64.facts +28 -26
  30. data/facts/3.1/centos-7-x86_64.facts +33 -31
  31. data/facts/3.1/redhat-6-x86_64.facts +22 -20
  32. data/facts/3.2/centos-6-x86_64.facts +456 -0
  33. data/facts/3.2/centos-7-x86_64.facts +460 -0
  34. data/facts/3.2/fedora-23-x86_64.facts +496 -0
  35. data/facts/3.2/redhat-6-x86_64.facts +460 -0
  36. data/facts/3.3/centos-6-x86_64.facts +459 -0
  37. data/facts/3.3/centos-7-x86_64.facts +463 -0
  38. data/facts/3.3/fedora-23-x86_64.facts +499 -0
  39. data/facts/3.3/redhat-6-x86_64.facts +461 -0
  40. data/facts/3.4/centos-6-x86_64.facts +460 -0
  41. data/facts/3.4/centos-7-x86_64.facts +464 -0
  42. data/facts/3.4/fedora-23-x86_64.facts +500 -0
  43. data/facts/3.4/redhat-6-x86_64.facts +462 -0
  44. data/facts/Vagrantfile +14 -4
  45. data/facts/scripts/get_facts.rb +2 -1
  46. data/facts/scripts/get_facts_for_each_facter.sh +56 -19
  47. data/lib/simp/rspec-puppet-facts.rb +2 -0
  48. data/lib/simp/version.rb +1 -1
  49. metadata +87 -52
@@ -0,0 +1,463 @@
1
+ {
2
+ "name": "foo.example.com",
3
+ "values": {
4
+ "acpid_enabled": false,
5
+ "aio_agent_version": "1.5.3",
6
+ "architecture": "x86_64",
7
+ "auditd_version": "2.4.1",
8
+ "augeas": {
9
+ "version": "1.4.0"
10
+ },
11
+ "augeasversion": "1.4.0",
12
+ "bios_release_date": "12/01/2006",
13
+ "bios_vendor": "innotek GmbH",
14
+ "bios_version": "VirtualBox",
15
+ "blockdevice_sda_model": "VBOX HARDDISK",
16
+ "blockdevice_sda_size": 21474836480,
17
+ "blockdevice_sda_vendor": "ATA",
18
+ "blockdevices": "sda",
19
+ "boardmanufacturer": "Oracle Corporation",
20
+ "boardproductname": "VirtualBox",
21
+ "boardserialnumber": "0",
22
+ "boot_dir_uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a",
23
+ "chassistype": "Other",
24
+ "cmdline": {
25
+ "BOOT_IMAGE": "/vmlinuz-3.10.0-123.el7.x86_64",
26
+ "root": "UUID",
27
+ "ro": "",
28
+ "rd.lvm.lv": "centos/root",
29
+ "vconsole.font": "latarcyrheb-sun16",
30
+ "crashkernel": "auto",
31
+ "vconsole.keymap": "us",
32
+ "rhgb": "",
33
+ "quiet": "",
34
+ "LANG": "en_US.UTF-8"
35
+ },
36
+ "cpuinfo": {
37
+ "processor0": {
38
+ "vendor_id": "GenuineIntel",
39
+ "cpu_family": "6",
40
+ "model": "61",
41
+ "model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
42
+ "stepping": "4",
43
+ "microcode": "0x19",
44
+ "cpu_MHz": "3178.501",
45
+ "cache_size": "4096 KB",
46
+ "physical_id": "0",
47
+ "siblings": "1",
48
+ "core_id": "0",
49
+ "cpu_cores": "1",
50
+ "apicid": "0",
51
+ "initial_apicid": "0",
52
+ "fpu": "yes",
53
+ "fpu_exception": "yes",
54
+ "cpuid_level": "20",
55
+ "wp": "yes",
56
+ "flags": [
57
+ "fpu",
58
+ "vme",
59
+ "de",
60
+ "pse",
61
+ "tsc",
62
+ "msr",
63
+ "pae",
64
+ "mce",
65
+ "cx8",
66
+ "apic",
67
+ "sep",
68
+ "mtrr",
69
+ "pge",
70
+ "mca",
71
+ "cmov",
72
+ "pat",
73
+ "pse36",
74
+ "clflush",
75
+ "mmx",
76
+ "fxsr",
77
+ "sse",
78
+ "sse2",
79
+ "syscall",
80
+ "nx",
81
+ "rdtscp",
82
+ "lm",
83
+ "constant_tsc",
84
+ "rep_good",
85
+ "nopl",
86
+ "xtopology",
87
+ "nonstop_tsc",
88
+ "pni",
89
+ "pclmulqdq",
90
+ "monitor",
91
+ "ssse3",
92
+ "cx16",
93
+ "sse4_1",
94
+ "sse4_2",
95
+ "movbe",
96
+ "popcnt",
97
+ "aes",
98
+ "xsave",
99
+ "avx",
100
+ "rdrand",
101
+ "lahf_lm",
102
+ "abm",
103
+ "3dnowprefetch",
104
+ "rdseed"
105
+ ],
106
+ "bogomips": "6357.00",
107
+ "clflush_size": "64",
108
+ "cache_alignment": "64",
109
+ "address_sizes": "39 bits physical, 48 bits virtual",
110
+ "power_management": "power management"
111
+ }
112
+ },
113
+ "defaultgateway": "10.0.2.2",
114
+ "defaultgatewayiface": "enp0s3",
115
+ "dhcp_servers": {
116
+ "enp0s3": "10.0.2.2",
117
+ "system": "10.0.2.2"
118
+ },
119
+ "disks": {
120
+ "sda": {
121
+ "model": "VBOX HARDDISK",
122
+ "size": "20.00 GiB",
123
+ "size_bytes": 21474836480,
124
+ "vendor": "ATA"
125
+ }
126
+ },
127
+ "dmi": {
128
+ "bios": {
129
+ "release_date": "12/01/2006",
130
+ "vendor": "innotek GmbH",
131
+ "version": "VirtualBox"
132
+ },
133
+ "board": {
134
+ "manufacturer": "Oracle Corporation",
135
+ "product": "VirtualBox",
136
+ "serial_number": "0"
137
+ },
138
+ "chassis": {
139
+ "type": "Other"
140
+ },
141
+ "manufacturer": "innotek GmbH",
142
+ "product": {
143
+ "name": "VirtualBox",
144
+ "serial_number": "0",
145
+ "uuid": "CC00A467-3CB9-4C34-88E1-492C171D44E1"
146
+ }
147
+ },
148
+ "domain": "example.com",
149
+ "facterversion": "3.3.0",
150
+ "filesystems": "xfs",
151
+ "fips_enabled": false,
152
+ "fqdn": "foo.example.com",
153
+ "fullrun": "false",
154
+ "gid": "root",
155
+ "grub_version": "2.02~beta2",
156
+ "hardwareisa": "x86_64",
157
+ "hardwaremodel": "x86_64",
158
+ "has_clustering": false,
159
+ "has_tpm": false,
160
+ "haveged_startup_provider": "systemd",
161
+ "hostname": "foo",
162
+ "id": "root",
163
+ "identity": {
164
+ "gid": 0,
165
+ "group": "root",
166
+ "uid": 0,
167
+ "user": "root"
168
+ },
169
+ "init_systems": [
170
+ "rc",
171
+ "systemd",
172
+ "sysv"
173
+ ],
174
+ "interfaces": "enp0s3,lo",
175
+ "ipaddress": "10.0.2.15",
176
+ "ipaddress6": "fe80::a00:27ff:febe:2b28",
177
+ "ipaddress6_enp0s3": "fe80::a00:27ff:febe:2b28",
178
+ "ipaddress6_lo": "::1",
179
+ "ipaddress_enp0s3": "10.0.2.15",
180
+ "ipaddress_lo": "127.0.0.1",
181
+ "ipv6_enabled": true,
182
+ "is_pe": false,
183
+ "is_virtual": true,
184
+ "kernel": "Linux",
185
+ "kernelmajversion": "3.10",
186
+ "kernelrelease": "3.10.0-123.el7.x86_64",
187
+ "kernelversion": "3.10.0",
188
+ "load_averages": {
189
+ "15m": 0.06,
190
+ "1m": 0.68,
191
+ "5m": 0.18
192
+ },
193
+ "macaddress": "08:00:27:be:2b:28",
194
+ "macaddress_enp0s3": "08:00:27:be:2b:28",
195
+ "manufacturer": "innotek GmbH",
196
+ "memory": {
197
+ "swap": {
198
+ "available": "1.03 GiB",
199
+ "available_bytes": 1107283968,
200
+ "capacity": "0.00%",
201
+ "total": "1.03 GiB",
202
+ "total_bytes": 1107292160,
203
+ "used": "8.00 KiB",
204
+ "used_bytes": 8192
205
+ },
206
+ "system": {
207
+ "available": "302.52 MiB",
208
+ "available_bytes": 317214720,
209
+ "capacity": "38.31%",
210
+ "total": "490.41 MiB",
211
+ "total_bytes": 514228224,
212
+ "used": "187.89 MiB",
213
+ "used_bytes": 197013504
214
+ }
215
+ },
216
+ "memoryfree": "302.52 MiB",
217
+ "memoryfree_mb": 302.51953125,
218
+ "memorysize": "490.41 MiB",
219
+ "memorysize_mb": 490.40625,
220
+ "mountpoints": {
221
+ "/": {
222
+ "available": "17.04 GiB",
223
+ "available_bytes": 18291433472,
224
+ "capacity": "7.75%",
225
+ "device": "/dev/mapper/centos-root",
226
+ "filesystem": "xfs",
227
+ "options": [
228
+ "rw",
229
+ "relatime",
230
+ "attr2",
231
+ "inode64",
232
+ "noquota"
233
+ ],
234
+ "size": "18.47 GiB",
235
+ "size_bytes": 19828572160,
236
+ "used": "1.43 GiB",
237
+ "used_bytes": 1537138688
238
+ },
239
+ "/boot": {
240
+ "available": "393.11 MiB",
241
+ "available_bytes": 412209152,
242
+ "capacity": "20.85%",
243
+ "device": "/dev/sda1",
244
+ "filesystem": "xfs",
245
+ "options": [
246
+ "rw",
247
+ "relatime",
248
+ "attr2",
249
+ "inode64",
250
+ "noquota"
251
+ ],
252
+ "size": "496.67 MiB",
253
+ "size_bytes": 520794112,
254
+ "used": "103.55 MiB",
255
+ "used_bytes": 108584960
256
+ }
257
+ },
258
+ "mtu_enp0s3": 1500,
259
+ "mtu_lo": 65536,
260
+ "netmask": "255.255.255.0",
261
+ "netmask6": "ffff:ffff:ffff:ffff::",
262
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
263
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
264
+ "netmask_enp0s3": "255.255.255.0",
265
+ "netmask_lo": "255.0.0.0",
266
+ "network": "10.0.2.0",
267
+ "network6": "fe80::",
268
+ "network6_enp0s3": "fe80::",
269
+ "network6_lo": "::1",
270
+ "network_enp0s3": "10.0.2.0",
271
+ "network_lo": "127.0.0.0",
272
+ "networking": {
273
+ "dhcp": "10.0.2.2",
274
+ "domain": "example.com",
275
+ "fqdn": "foo.example.com",
276
+ "hostname": "foo",
277
+ "interfaces": {
278
+ "enp0s3": {
279
+ "bindings": [
280
+ {
281
+ "address": "10.0.2.15",
282
+ "netmask": "255.255.255.0",
283
+ "network": "10.0.2.0"
284
+ }
285
+ ],
286
+ "bindings6": [
287
+ {
288
+ "address": "fe80::a00:27ff:febe:2b28",
289
+ "netmask": "ffff:ffff:ffff:ffff::",
290
+ "network": "fe80::"
291
+ }
292
+ ],
293
+ "dhcp": "10.0.2.2",
294
+ "ip": "10.0.2.15",
295
+ "ip6": "fe80::a00:27ff:febe:2b28",
296
+ "mac": "08:00:27:be:2b:28",
297
+ "mtu": 1500,
298
+ "netmask": "255.255.255.0",
299
+ "netmask6": "ffff:ffff:ffff:ffff::",
300
+ "network": "10.0.2.0",
301
+ "network6": "fe80::"
302
+ },
303
+ "lo": {
304
+ "bindings": [
305
+ {
306
+ "address": "127.0.0.1",
307
+ "netmask": "255.0.0.0",
308
+ "network": "127.0.0.0"
309
+ }
310
+ ],
311
+ "bindings6": [
312
+ {
313
+ "address": "::1",
314
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
315
+ "network": "::1"
316
+ }
317
+ ],
318
+ "ip": "127.0.0.1",
319
+ "ip6": "::1",
320
+ "mtu": 65536,
321
+ "netmask": "255.0.0.0",
322
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
323
+ "network": "127.0.0.0",
324
+ "network6": "::1"
325
+ }
326
+ },
327
+ "ip": "10.0.2.15",
328
+ "ip6": "fe80::a00:27ff:febe:2b28",
329
+ "mac": "08:00:27:be:2b:28",
330
+ "mtu": 1500,
331
+ "netmask": "255.255.255.0",
332
+ "netmask6": "ffff:ffff:ffff:ffff::",
333
+ "network": "10.0.2.0",
334
+ "network6": "fe80::",
335
+ "primary": "enp0s3"
336
+ },
337
+ "openldap_arch": "i386",
338
+ "openssh_version": "6.4",
339
+ "operatingsystem": "CentOS",
340
+ "operatingsystemmajrelease": "7",
341
+ "operatingsystemrelease": "7.0.1406",
342
+ "os": {
343
+ "architecture": "x86_64",
344
+ "family": "RedHat",
345
+ "hardware": "x86_64",
346
+ "name": "CentOS",
347
+ "release": {
348
+ "full": "7.0.1406",
349
+ "major": "7",
350
+ "minor": "0"
351
+ },
352
+ "selinux": {
353
+ "enabled": false
354
+ }
355
+ },
356
+ "osfamily": "RedHat",
357
+ "partitions": {
358
+ "/dev/mapper/centos-root": {
359
+ "filesystem": "xfs",
360
+ "mount": "/",
361
+ "size": "18.48 GiB",
362
+ "size_bytes": 19839057920,
363
+ "uuid": "db651e5f-a2c2-4236-9570-6226f63e1fcd"
364
+ },
365
+ "/dev/mapper/centos-swap": {
366
+ "filesystem": "swap",
367
+ "size": "1.03 GiB",
368
+ "size_bytes": 1107296256,
369
+ "uuid": "ff4ec16c-28c0-4715-846d-11e7c9b4e53b"
370
+ },
371
+ "/dev/sda1": {
372
+ "filesystem": "xfs",
373
+ "mount": "/boot",
374
+ "size": "500.00 MiB",
375
+ "size_bytes": 524288000,
376
+ "uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a"
377
+ },
378
+ "/dev/sda2": {
379
+ "filesystem": "LVM2_member",
380
+ "size": "19.51 GiB",
381
+ "size_bytes": 20949499904,
382
+ "uuid": "pg7zVv-M3hI-zpjY-eYlZ-06aD-ZRO2-J30GLd"
383
+ }
384
+ },
385
+ "path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin",
386
+ "physicalprocessorcount": 1,
387
+ "processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
388
+ "processorcount": 1,
389
+ "processors": {
390
+ "count": 1,
391
+ "isa": "x86_64",
392
+ "models": [
393
+ "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
394
+ ],
395
+ "physicalcount": 1
396
+ },
397
+ "productname": "VirtualBox",
398
+ "puppet_ruby_dir": "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet",
399
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
400
+ "puppetversion": "4.5.3",
401
+ "radius_version": "unknown",
402
+ "reboot_required": false,
403
+ "root_home": "/root",
404
+ "ruby": {
405
+ "platform": "x86_64-linux",
406
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
407
+ "version": "2.1.9"
408
+ },
409
+ "rubyplatform": "x86_64-linux",
410
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
411
+ "rubyversion": "2.1.9",
412
+ "runlevel": "3",
413
+ "selinux": false,
414
+ "serialnumber": "0",
415
+ "shmall": "268435456",
416
+ "ssh": {
417
+ "ecdsa": {
418
+ "fingerprints": {
419
+ "sha1": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb",
420
+ "sha256": "SSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba"
421
+ },
422
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4="
423
+ },
424
+ "rsa": {
425
+ "fingerprints": {
426
+ "sha1": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581",
427
+ "sha256": "SSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199"
428
+ },
429
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1"
430
+ }
431
+ },
432
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4=",
433
+ "sshfp_ecdsa": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb\nSSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba",
434
+ "sshfp_rsa": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581\nSSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199",
435
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1",
436
+ "swapfree": "1.03 GiB",
437
+ "swapfree_mb": 1055.98828125,
438
+ "swapsize": "1.03 GiB",
439
+ "swapsize_mb": 1055.99609375,
440
+ "system_uptime": {
441
+ "days": 0,
442
+ "hours": 0,
443
+ "seconds": 146,
444
+ "uptime": "0:02 hours"
445
+ },
446
+ "timezone": "UTC",
447
+ "tmp_mount_dev_shm": "rw,nosuid,nodev",
448
+ "tmp_mount_fstype_dev_shm": "tmpfs",
449
+ "tmp_mount_path_dev_shm": "tmpfs",
450
+ "uid_min": "1000",
451
+ "uptime": "0:02 hours",
452
+ "uptime_days": 0,
453
+ "uptime_hours": 0,
454
+ "uptime_seconds": 146,
455
+ "uuid": "CC00A467-3CB9-4C34-88E1-492C171D44E1",
456
+ "virtual": "virtualbox",
457
+ "clientcert": "foo.example.com",
458
+ "clientversion": "4.5.3",
459
+ "clientnoop": false
460
+ },
461
+ "timestamp": "2016-08-17T04:12:31.898581337+00:00",
462
+ "expiration": "2016-08-17T04:42:31.898952067+00:00"
463
+ }