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