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,464 @@
1
+ {
2
+ "name": "foo.example.com",
3
+ "values": {
4
+ "acpid_enabled": false,
5
+ "aio_agent_version": "1.6.0",
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.4.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
+ "privileged": true,
167
+ "uid": 0,
168
+ "user": "root"
169
+ },
170
+ "init_systems": [
171
+ "rc",
172
+ "systemd",
173
+ "sysv"
174
+ ],
175
+ "interfaces": "enp0s3,lo",
176
+ "ipaddress": "10.0.2.15",
177
+ "ipaddress6": "fe80::a00:27ff:febe:2b28",
178
+ "ipaddress6_enp0s3": "fe80::a00:27ff:febe:2b28",
179
+ "ipaddress6_lo": "::1",
180
+ "ipaddress_enp0s3": "10.0.2.15",
181
+ "ipaddress_lo": "127.0.0.1",
182
+ "ipv6_enabled": true,
183
+ "is_pe": false,
184
+ "is_virtual": true,
185
+ "kernel": "Linux",
186
+ "kernelmajversion": "3.10",
187
+ "kernelrelease": "3.10.0-123.el7.x86_64",
188
+ "kernelversion": "3.10.0",
189
+ "load_averages": {
190
+ "15m": 0.09,
191
+ "1m": 0.96,
192
+ "5m": 0.26
193
+ },
194
+ "macaddress": "08:00:27:be:2b:28",
195
+ "macaddress_enp0s3": "08:00:27:be:2b:28",
196
+ "manufacturer": "innotek GmbH",
197
+ "memory": {
198
+ "swap": {
199
+ "available": "1.03 GiB",
200
+ "available_bytes": 1107283968,
201
+ "capacity": "0.00%",
202
+ "total": "1.03 GiB",
203
+ "total_bytes": 1107292160,
204
+ "used": "8.00 KiB",
205
+ "used_bytes": 8192
206
+ },
207
+ "system": {
208
+ "available": "301.22 MiB",
209
+ "available_bytes": 315854848,
210
+ "capacity": "38.58%",
211
+ "total": "490.41 MiB",
212
+ "total_bytes": 514228224,
213
+ "used": "189.18 MiB",
214
+ "used_bytes": 198373376
215
+ }
216
+ },
217
+ "memoryfree": "301.22 MiB",
218
+ "memoryfree_mb": 301.22265625,
219
+ "memorysize": "490.41 MiB",
220
+ "memorysize_mb": 490.40625,
221
+ "mountpoints": {
222
+ "/": {
223
+ "available": "17.06 GiB",
224
+ "available_bytes": 18321133568,
225
+ "capacity": "7.60%",
226
+ "device": "/dev/mapper/centos-root",
227
+ "filesystem": "xfs",
228
+ "options": [
229
+ "rw",
230
+ "relatime",
231
+ "attr2",
232
+ "inode64",
233
+ "noquota"
234
+ ],
235
+ "size": "18.47 GiB",
236
+ "size_bytes": 19828572160,
237
+ "used": "1.40 GiB",
238
+ "used_bytes": 1507438592
239
+ },
240
+ "/boot": {
241
+ "available": "393.11 MiB",
242
+ "available_bytes": 412209152,
243
+ "capacity": "20.85%",
244
+ "device": "/dev/sda1",
245
+ "filesystem": "xfs",
246
+ "options": [
247
+ "rw",
248
+ "relatime",
249
+ "attr2",
250
+ "inode64",
251
+ "noquota"
252
+ ],
253
+ "size": "496.67 MiB",
254
+ "size_bytes": 520794112,
255
+ "used": "103.55 MiB",
256
+ "used_bytes": 108584960
257
+ }
258
+ },
259
+ "mtu_enp0s3": 1500,
260
+ "mtu_lo": 65536,
261
+ "netmask": "255.255.255.0",
262
+ "netmask6": "ffff:ffff:ffff:ffff::",
263
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
264
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
265
+ "netmask_enp0s3": "255.255.255.0",
266
+ "netmask_lo": "255.0.0.0",
267
+ "network": "10.0.2.0",
268
+ "network6": "fe80::",
269
+ "network6_enp0s3": "fe80::",
270
+ "network6_lo": "::1",
271
+ "network_enp0s3": "10.0.2.0",
272
+ "network_lo": "127.0.0.0",
273
+ "networking": {
274
+ "dhcp": "10.0.2.2",
275
+ "domain": "example.com",
276
+ "fqdn": "foo.example.com",
277
+ "hostname": "foo",
278
+ "interfaces": {
279
+ "enp0s3": {
280
+ "bindings": [
281
+ {
282
+ "address": "10.0.2.15",
283
+ "netmask": "255.255.255.0",
284
+ "network": "10.0.2.0"
285
+ }
286
+ ],
287
+ "bindings6": [
288
+ {
289
+ "address": "fe80::a00:27ff:febe:2b28",
290
+ "netmask": "ffff:ffff:ffff:ffff::",
291
+ "network": "fe80::"
292
+ }
293
+ ],
294
+ "dhcp": "10.0.2.2",
295
+ "ip": "10.0.2.15",
296
+ "ip6": "fe80::a00:27ff:febe:2b28",
297
+ "mac": "08:00:27:be:2b:28",
298
+ "mtu": 1500,
299
+ "netmask": "255.255.255.0",
300
+ "netmask6": "ffff:ffff:ffff:ffff::",
301
+ "network": "10.0.2.0",
302
+ "network6": "fe80::"
303
+ },
304
+ "lo": {
305
+ "bindings": [
306
+ {
307
+ "address": "127.0.0.1",
308
+ "netmask": "255.0.0.0",
309
+ "network": "127.0.0.0"
310
+ }
311
+ ],
312
+ "bindings6": [
313
+ {
314
+ "address": "::1",
315
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
316
+ "network": "::1"
317
+ }
318
+ ],
319
+ "ip": "127.0.0.1",
320
+ "ip6": "::1",
321
+ "mtu": 65536,
322
+ "netmask": "255.0.0.0",
323
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
324
+ "network": "127.0.0.0",
325
+ "network6": "::1"
326
+ }
327
+ },
328
+ "ip": "10.0.2.15",
329
+ "ip6": "fe80::a00:27ff:febe:2b28",
330
+ "mac": "08:00:27:be:2b:28",
331
+ "mtu": 1500,
332
+ "netmask": "255.255.255.0",
333
+ "netmask6": "ffff:ffff:ffff:ffff::",
334
+ "network": "10.0.2.0",
335
+ "network6": "fe80::",
336
+ "primary": "enp0s3"
337
+ },
338
+ "openldap_arch": "i386",
339
+ "openssh_version": "6.4",
340
+ "operatingsystem": "CentOS",
341
+ "operatingsystemmajrelease": "7",
342
+ "operatingsystemrelease": "7.0.1406",
343
+ "os": {
344
+ "architecture": "x86_64",
345
+ "family": "RedHat",
346
+ "hardware": "x86_64",
347
+ "name": "CentOS",
348
+ "release": {
349
+ "full": "7.0.1406",
350
+ "major": "7",
351
+ "minor": "0"
352
+ },
353
+ "selinux": {
354
+ "enabled": false
355
+ }
356
+ },
357
+ "osfamily": "RedHat",
358
+ "partitions": {
359
+ "/dev/mapper/centos-root": {
360
+ "filesystem": "xfs",
361
+ "mount": "/",
362
+ "size": "18.48 GiB",
363
+ "size_bytes": 19839057920,
364
+ "uuid": "db651e5f-a2c2-4236-9570-6226f63e1fcd"
365
+ },
366
+ "/dev/mapper/centos-swap": {
367
+ "filesystem": "swap",
368
+ "size": "1.03 GiB",
369
+ "size_bytes": 1107296256,
370
+ "uuid": "ff4ec16c-28c0-4715-846d-11e7c9b4e53b"
371
+ },
372
+ "/dev/sda1": {
373
+ "filesystem": "xfs",
374
+ "mount": "/boot",
375
+ "size": "500.00 MiB",
376
+ "size_bytes": 524288000,
377
+ "uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a"
378
+ },
379
+ "/dev/sda2": {
380
+ "filesystem": "LVM2_member",
381
+ "size": "19.51 GiB",
382
+ "size_bytes": 20949499904,
383
+ "uuid": "pg7zVv-M3hI-zpjY-eYlZ-06aD-ZRO2-J30GLd"
384
+ }
385
+ },
386
+ "path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin",
387
+ "physicalprocessorcount": 1,
388
+ "processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
389
+ "processorcount": 1,
390
+ "processors": {
391
+ "count": 1,
392
+ "isa": "x86_64",
393
+ "models": [
394
+ "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
395
+ ],
396
+ "physicalcount": 1
397
+ },
398
+ "productname": "VirtualBox",
399
+ "puppet_ruby_dir": "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet",
400
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
401
+ "puppetversion": "4.6.0",
402
+ "radius_version": "unknown",
403
+ "reboot_required": false,
404
+ "root_home": "/root",
405
+ "ruby": {
406
+ "platform": "x86_64-linux",
407
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
408
+ "version": "2.1.9"
409
+ },
410
+ "rubyplatform": "x86_64-linux",
411
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
412
+ "rubyversion": "2.1.9",
413
+ "runlevel": "3",
414
+ "selinux": false,
415
+ "serialnumber": "0",
416
+ "shmall": "268435456",
417
+ "ssh": {
418
+ "ecdsa": {
419
+ "fingerprints": {
420
+ "sha1": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb",
421
+ "sha256": "SSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba"
422
+ },
423
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4="
424
+ },
425
+ "rsa": {
426
+ "fingerprints": {
427
+ "sha1": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581",
428
+ "sha256": "SSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199"
429
+ },
430
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1"
431
+ }
432
+ },
433
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4=",
434
+ "sshfp_ecdsa": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb\nSSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba",
435
+ "sshfp_rsa": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581\nSSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199",
436
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1",
437
+ "swapfree": "1.03 GiB",
438
+ "swapfree_mb": 1055.98828125,
439
+ "swapsize": "1.03 GiB",
440
+ "swapsize_mb": 1055.99609375,
441
+ "system_uptime": {
442
+ "days": 0,
443
+ "hours": 0,
444
+ "seconds": 156,
445
+ "uptime": "0:02 hours"
446
+ },
447
+ "timezone": "UTC",
448
+ "tmp_mount_dev_shm": "rw,nosuid,nodev",
449
+ "tmp_mount_fstype_dev_shm": "tmpfs",
450
+ "tmp_mount_path_dev_shm": "tmpfs",
451
+ "uid_min": "1000",
452
+ "uptime": "0:02 hours",
453
+ "uptime_days": 0,
454
+ "uptime_hours": 0,
455
+ "uptime_seconds": 156,
456
+ "uuid": "CC00A467-3CB9-4C34-88E1-492C171D44E1",
457
+ "virtual": "virtualbox",
458
+ "clientcert": "foo.example.com",
459
+ "clientversion": "4.6.0",
460
+ "clientnoop": false
461
+ },
462
+ "timestamp": "2016-08-17T04:12:41.701054539+00:00",
463
+ "expiration": "2016-08-17T04:42:41.701390990+00:00"
464
+ }