facter 2.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of facter might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +14 -0
- data/ext/project_data.yaml +9 -6
- data/lib/facter/core/execution/base.rb +3 -3
- data/lib/facter/core/suitable.rb +1 -5
- data/lib/facter/dhcp_servers.rb +39 -0
- data/lib/facter/ec2.rb +33 -26
- data/lib/facter/ec2/rest.rb +130 -0
- data/lib/facter/fqdn.rb +2 -0
- data/lib/facter/gce.rb +16 -0
- data/lib/facter/gce/metadata.rb +87 -0
- data/lib/facter/kernelmajversion.rb +8 -0
- data/lib/facter/kernelrelease.rb +8 -0
- data/lib/facter/memory.rb +21 -15
- data/lib/facter/netmask.rb +1 -1
- data/lib/facter/operatingsystem.rb +20 -0
- data/lib/facter/operatingsystemmajrelease.rb +2 -1
- data/lib/facter/operatingsystemrelease.rb +19 -0
- data/lib/facter/osfamily.rb +3 -1
- data/lib/facter/partitions.rb +35 -0
- data/lib/facter/physicalprocessorcount.rb +9 -0
- data/lib/facter/processor.rb +25 -25
- data/lib/facter/util/config.rb +3 -1
- data/lib/facter/util/dhcp_servers.rb +43 -0
- data/lib/facter/util/ec2.rb +5 -0
- data/lib/facter/util/formatter.rb +2 -1
- data/lib/facter/util/ip.rb +1 -1
- data/lib/facter/util/loader.rb +10 -1
- data/lib/facter/util/manufacturer.rb +15 -16
- data/lib/facter/util/memory.rb +12 -12
- data/lib/facter/util/netmask.rb +1 -1
- data/lib/facter/util/operatingsystem.rb +21 -0
- data/lib/facter/util/partitions.rb +41 -0
- data/lib/facter/util/partitions/linux.rb +65 -0
- data/lib/facter/util/posix.rb +16 -0
- data/lib/facter/util/processor.rb +8 -10
- data/lib/facter/util/resolution.rb +4 -0
- data/lib/facter/util/values.rb +29 -0
- data/lib/facter/util/virtual.rb +32 -3
- data/lib/facter/util/windows_root.rb +2 -32
- data/lib/facter/version.rb +1 -1
- data/lib/facter/virtual.rb +53 -12
- data/spec/fixtures/ifconfig/openbsd_bridge_rules +11 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_devices +4 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected +4 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp +36 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_eth0_static +24 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp +49 -0
- data/spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static +37 -0
- data/spec/fixtures/unit/dhcp_servers/route +3 -0
- data/spec/fixtures/unit/dhcp_servers/route_nogw +1 -0
- data/spec/fixtures/unit/ec2/rest/meta-data/root +20 -0
- data/spec/fixtures/unit/gce/metadata/metadata.json +69 -0
- data/spec/fixtures/unit/kernelrelease/openbsd-5.3 +2 -0
- data/spec/fixtures/unit/kernelrelease/openbsd-5.3-current +3 -0
- data/spec/fixtures/unit/memory/aix-svmon +9 -0
- data/spec/fixtures/unit/memory/aix-swap_l +2 -0
- data/spec/fixtures/unit/memory/darwin-swapinfo-multiple +3 -0
- data/spec/fixtures/unit/memory/darwin-swapinfo-single +2 -0
- data/spec/fixtures/unit/memory/darwin-vm_stat +13 -0
- data/spec/fixtures/unit/memory/dragonfly-vmstat +3 -0
- data/spec/fixtures/unit/memory/freebsd-vmstat +3 -0
- data/spec/fixtures/unit/memory/linux-proc_meminfo +10 -0
- data/spec/fixtures/unit/memory/openbsd-vmstat +3 -0
- data/spec/fixtures/unit/memory/smartos_zone_swap_l-single +2 -0
- data/spec/fixtures/unit/memory/solaris-prtconf +4 -0
- data/spec/fixtures/unit/memory/solaris-swap_l-multiple +3 -0
- data/spec/fixtures/unit/memory/solaris-swap_l-single +2 -0
- data/spec/fixtures/unit/memory/solaris-vmstat +3 -0
- data/spec/fixtures/unit/netmask/ifconfig_aix_7.txt +3 -0
- data/spec/fixtures/unit/util/dhcp_servers/route +3 -0
- data/spec/fixtures/unit/util/dhcp_servers/route_nogw +1 -0
- data/spec/fixtures/unit/util/manufacturer/smartos_smbios +533 -0
- data/spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt +8 -0
- data/spec/fixtures/unit/util/operatingsystem/redhat-7.txt +12 -0
- data/spec/fixtures/unit/util/operatingsystem/sabayon.txt +7 -0
- data/spec/fixtures/unit/util/operatingsystem/wheezy.txt +9 -0
- data/spec/fixtures/unit/util/partitions/partitions/mount +9 -0
- data/spec/fixtures/virtual/proc_1_cgroup/in_a_container +9 -0
- data/spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container +8 -0
- data/spec/fixtures/virtual/proc_1_cgroup/not_in_a_container +9 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/unit/core/execution/base_spec.rb +3 -5
- data/spec/unit/core/execution/posix_spec.rb +2 -2
- data/spec/unit/core/suitable_spec.rb +10 -0
- data/spec/unit/dhcp_servers_spec.rb +152 -0
- data/spec/unit/ec2/rest_spec.rb +145 -0
- data/spec/unit/ec2_spec.rb +87 -147
- data/spec/unit/fqdn_spec.rb +16 -0
- data/spec/unit/gce/metadata_spec.rb +49 -0
- data/spec/unit/gce_spec.rb +34 -0
- data/spec/unit/interfaces_spec.rb +9 -9
- data/spec/unit/kernelmajversion_spec.rb +14 -9
- data/spec/unit/kernelrelease_spec.rb +16 -0
- data/spec/unit/macaddress_spec.rb +12 -0
- data/spec/unit/memory_spec.rb +53 -122
- data/spec/unit/netmask_spec.rb +11 -0
- data/spec/unit/operatingsystem_spec.rb +19 -0
- data/spec/unit/operatingsystemmajrelease_spec.rb +1 -1
- data/spec/unit/operatingsystemrelease_spec.rb +8 -0
- data/spec/unit/osfamily_spec.rb +62 -0
- data/spec/unit/partitions_spec.rb +48 -0
- data/spec/unit/physicalprocessorcount_spec.rb +9 -0
- data/spec/unit/processor_spec.rb +15 -7
- data/spec/unit/util/config_spec.rb +13 -0
- data/spec/unit/util/dhcp_servers_spec.rb +63 -0
- data/spec/unit/util/ec2_spec.rb +4 -0
- data/spec/unit/util/formatter_spec.rb +50 -0
- data/spec/unit/util/loader_spec.rb +4 -4
- data/spec/unit/util/macosx_spec.rb +3 -2
- data/spec/unit/util/manufacturer_spec.rb +44 -0
- data/spec/unit/util/operatingsystem_spec.rb +92 -0
- data/spec/unit/util/partitions/partitions_spec.rb +67 -0
- data/spec/unit/util/partitions_spec.rb +19 -0
- data/spec/unit/util/posix_spec.rb +11 -0
- data/spec/unit/util/values_spec.rb +40 -0
- data/spec/unit/util/virtual_spec.rb +72 -2
- data/spec/unit/virtual_spec.rb +67 -18
- metadata +116 -4
- data/spec/fixtures/unit/util/loader/nosuchfact.rb +0 -1
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: You can prove anything with facts!
|
14
14
|
email: info@puppetlabs.com
|
@@ -60,11 +60,15 @@ files:
|
|
60
60
|
- lib/facter/core/logging.rb
|
61
61
|
- lib/facter/core/resolvable.rb
|
62
62
|
- lib/facter/core/suitable.rb
|
63
|
+
- lib/facter/dhcp_servers.rb
|
63
64
|
- lib/facter/domain.rb
|
64
65
|
- lib/facter/ec2.rb
|
66
|
+
- lib/facter/ec2/rest.rb
|
65
67
|
- lib/facter/facterversion.rb
|
66
68
|
- lib/facter/filesystems.rb
|
67
69
|
- lib/facter/fqdn.rb
|
70
|
+
- lib/facter/gce.rb
|
71
|
+
- lib/facter/gce/metadata.rb
|
68
72
|
- lib/facter/hardwareisa.rb
|
69
73
|
- lib/facter/hardwaremodel.rb
|
70
74
|
- lib/facter/hostname.rb
|
@@ -94,6 +98,7 @@ files:
|
|
94
98
|
- lib/facter/operatingsystemmajrelease.rb
|
95
99
|
- lib/facter/operatingsystemrelease.rb
|
96
100
|
- lib/facter/osfamily.rb
|
101
|
+
- lib/facter/partitions.rb
|
97
102
|
- lib/facter/path.rb
|
98
103
|
- lib/facter/physicalprocessorcount.rb
|
99
104
|
- lib/facter/processor.rb
|
@@ -114,6 +119,7 @@ files:
|
|
114
119
|
- lib/facter/util/composite_loader.rb
|
115
120
|
- lib/facter/util/config.rb
|
116
121
|
- lib/facter/util/confine.rb
|
122
|
+
- lib/facter/util/dhcp_servers.rb
|
117
123
|
- lib/facter/util/directory_loader.rb
|
118
124
|
- lib/facter/util/ec2.rb
|
119
125
|
- lib/facter/util/fact.rb
|
@@ -129,10 +135,14 @@ files:
|
|
129
135
|
- lib/facter/util/netmask.rb
|
130
136
|
- lib/facter/util/normalization.rb
|
131
137
|
- lib/facter/util/nothing_loader.rb
|
138
|
+
- lib/facter/util/operatingsystem.rb
|
132
139
|
- lib/facter/util/parser.rb
|
140
|
+
- lib/facter/util/partitions.rb
|
141
|
+
- lib/facter/util/partitions/linux.rb
|
133
142
|
- lib/facter/util/plist.rb
|
134
143
|
- lib/facter/util/plist/generator.rb
|
135
144
|
- lib/facter/util/plist/parser.rb
|
145
|
+
- lib/facter/util/posix.rb
|
136
146
|
- lib/facter/util/processor.rb
|
137
147
|
- lib/facter/util/registry.rb
|
138
148
|
- lib/facter/util/resolution.rb
|
@@ -198,6 +208,7 @@ files:
|
|
198
208
|
- spec/fixtures/ifconfig/linux_ifconfig_venet
|
199
209
|
- spec/fixtures/ifconfig/open_solaris_10
|
200
210
|
- spec/fixtures/ifconfig/open_solaris_b132
|
211
|
+
- spec/fixtures/ifconfig/openbsd_bridge_rules
|
201
212
|
- spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
|
202
213
|
- spec/fixtures/ifconfig/ubuntu_7_04
|
203
214
|
- spec/fixtures/ifconfig/ubuntu_7_04_eth0
|
@@ -214,7 +225,17 @@ files:
|
|
214
225
|
- spec/fixtures/processorcount/solaris-psrinfo
|
215
226
|
- spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
|
216
227
|
- spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
|
228
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_devices
|
229
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
|
230
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
|
231
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
|
232
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
|
233
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
|
234
|
+
- spec/fixtures/unit/dhcp_servers/route
|
235
|
+
- spec/fixtures/unit/dhcp_servers/route_nogw
|
236
|
+
- spec/fixtures/unit/ec2/rest/meta-data/root
|
217
237
|
- spec/fixtures/unit/filesystems/linux
|
238
|
+
- spec/fixtures/unit/gce/metadata/metadata.json
|
218
239
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
|
219
240
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
|
220
241
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
|
@@ -222,10 +243,29 @@ files:
|
|
222
243
|
- spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
|
223
244
|
- spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
|
224
245
|
- spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
|
246
|
+
- spec/fixtures/unit/kernelrelease/openbsd-5.3
|
247
|
+
- spec/fixtures/unit/kernelrelease/openbsd-5.3-current
|
248
|
+
- spec/fixtures/unit/memory/aix-svmon
|
249
|
+
- spec/fixtures/unit/memory/aix-swap_l
|
250
|
+
- spec/fixtures/unit/memory/darwin-swapinfo-multiple
|
251
|
+
- spec/fixtures/unit/memory/darwin-swapinfo-single
|
252
|
+
- spec/fixtures/unit/memory/darwin-vm_stat
|
253
|
+
- spec/fixtures/unit/memory/dragonfly-vmstat
|
254
|
+
- spec/fixtures/unit/memory/freebsd-vmstat
|
255
|
+
- spec/fixtures/unit/memory/linux-proc_meminfo
|
256
|
+
- spec/fixtures/unit/memory/openbsd-vmstat
|
257
|
+
- spec/fixtures/unit/memory/smartos_zone_swap_l-single
|
258
|
+
- spec/fixtures/unit/memory/solaris-prtconf
|
259
|
+
- spec/fixtures/unit/memory/solaris-swap_l-multiple
|
260
|
+
- spec/fixtures/unit/memory/solaris-swap_l-single
|
261
|
+
- spec/fixtures/unit/memory/solaris-vmstat
|
225
262
|
- spec/fixtures/unit/netmask/darwin_10_8_5.txt
|
263
|
+
- spec/fixtures/unit/netmask/ifconfig_aix_7.txt
|
226
264
|
- spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
|
227
265
|
- spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
|
228
266
|
- spec/fixtures/unit/selinux/selinux_sestatus
|
267
|
+
- spec/fixtures/unit/util/dhcp_servers/route
|
268
|
+
- spec/fixtures/unit/util/dhcp_servers/route_nogw
|
229
269
|
- spec/fixtures/unit/util/ec2/centos-arp-ec2.out
|
230
270
|
- spec/fixtures/unit/util/ec2/linux-arp-ec2.out
|
231
271
|
- spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
|
@@ -269,13 +309,18 @@ files:
|
|
269
309
|
- spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
|
270
310
|
- spec/fixtures/unit/util/ip/windows_netsh_single_interface
|
271
311
|
- spec/fixtures/unit/util/ip/windows_netsh_single_interface6
|
272
|
-
- spec/fixtures/unit/util/loader/nosuchfact.rb
|
273
312
|
- spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
|
274
313
|
- spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
|
275
314
|
- spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
|
276
315
|
- spec/fixtures/unit/util/manufacturer/opensolaris_smbios
|
316
|
+
- spec/fixtures/unit/util/manufacturer/smartos_smbios
|
277
317
|
- spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
|
278
318
|
- spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
|
319
|
+
- spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
|
320
|
+
- spec/fixtures/unit/util/operatingsystem/redhat-7.txt
|
321
|
+
- spec/fixtures/unit/util/operatingsystem/sabayon.txt
|
322
|
+
- spec/fixtures/unit/util/operatingsystem/wheezy.txt
|
323
|
+
- spec/fixtures/unit/util/partitions/partitions/mount
|
279
324
|
- spec/fixtures/unit/util/processor/solaris-i86pc
|
280
325
|
- spec/fixtures/unit/util/processor/solaris-sun4u
|
281
326
|
- spec/fixtures/unit/util/processor/x86-pentium2
|
@@ -299,6 +344,9 @@ files:
|
|
299
344
|
- spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
|
300
345
|
- spec/fixtures/unit/zpool_version/solaris_10
|
301
346
|
- spec/fixtures/unit/zpool_version/solaris_11
|
347
|
+
- spec/fixtures/virtual/proc_1_cgroup/in_a_container
|
348
|
+
- spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
|
349
|
+
- spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
|
302
350
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
|
303
351
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/host
|
304
352
|
- spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
|
@@ -326,10 +374,15 @@ files:
|
|
326
374
|
- spec/unit/core/logging_spec.rb
|
327
375
|
- spec/unit/core/resolvable_spec.rb
|
328
376
|
- spec/unit/core/suitable_spec.rb
|
377
|
+
- spec/unit/dhcp_servers_spec.rb
|
329
378
|
- spec/unit/domain_spec.rb
|
379
|
+
- spec/unit/ec2/rest_spec.rb
|
330
380
|
- spec/unit/ec2_spec.rb
|
331
381
|
- spec/unit/facter_spec.rb
|
332
382
|
- spec/unit/filesystems_spec.rb
|
383
|
+
- spec/unit/fqdn_spec.rb
|
384
|
+
- spec/unit/gce/metadata_spec.rb
|
385
|
+
- spec/unit/gce_spec.rb
|
333
386
|
- spec/unit/hardwareisa_spec.rb
|
334
387
|
- spec/unit/hardwaremodel_spec.rb
|
335
388
|
- spec/unit/hostname_spec.rb
|
@@ -355,6 +408,8 @@ files:
|
|
355
408
|
- spec/unit/operatingsystem_spec.rb
|
356
409
|
- spec/unit/operatingsystemmajrelease_spec.rb
|
357
410
|
- spec/unit/operatingsystemrelease_spec.rb
|
411
|
+
- spec/unit/osfamily_spec.rb
|
412
|
+
- spec/unit/partitions_spec.rb
|
358
413
|
- spec/unit/physicalprocessorcount_spec.rb
|
359
414
|
- spec/unit/processor_spec.rb
|
360
415
|
- spec/unit/ps_spec.rb
|
@@ -365,10 +420,12 @@ files:
|
|
365
420
|
- spec/unit/util/collection_spec.rb
|
366
421
|
- spec/unit/util/config_spec.rb
|
367
422
|
- spec/unit/util/confine_spec.rb
|
423
|
+
- spec/unit/util/dhcp_servers_spec.rb
|
368
424
|
- spec/unit/util/directory_loader_spec.rb
|
369
425
|
- spec/unit/util/ec2_spec.rb
|
370
426
|
- spec/unit/util/fact_spec.rb
|
371
427
|
- spec/unit/util/file_read_spec.rb
|
428
|
+
- spec/unit/util/formatter_spec.rb
|
372
429
|
- spec/unit/util/ip/windows_spec.rb
|
373
430
|
- spec/unit/util/ip_spec.rb
|
374
431
|
- spec/unit/util/loader_spec.rb
|
@@ -376,7 +433,11 @@ files:
|
|
376
433
|
- spec/unit/util/macosx_spec.rb
|
377
434
|
- spec/unit/util/manufacturer_spec.rb
|
378
435
|
- spec/unit/util/normalization_spec.rb
|
436
|
+
- spec/unit/util/operatingsystem_spec.rb
|
379
437
|
- spec/unit/util/parser_spec.rb
|
438
|
+
- spec/unit/util/partitions/partitions_spec.rb
|
439
|
+
- spec/unit/util/partitions_spec.rb
|
440
|
+
- spec/unit/util/posix_spec.rb
|
380
441
|
- spec/unit/util/processor_spec.rb
|
381
442
|
- spec/unit/util/registry_spec.rb
|
382
443
|
- spec/unit/util/resolution_spec.rb
|
@@ -463,6 +524,7 @@ test_files:
|
|
463
524
|
- spec/fixtures/ifconfig/linux_ifconfig_venet
|
464
525
|
- spec/fixtures/ifconfig/open_solaris_10
|
465
526
|
- spec/fixtures/ifconfig/open_solaris_b132
|
527
|
+
- spec/fixtures/ifconfig/openbsd_bridge_rules
|
466
528
|
- spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
|
467
529
|
- spec/fixtures/ifconfig/ubuntu_7_04
|
468
530
|
- spec/fixtures/ifconfig/ubuntu_7_04_eth0
|
@@ -479,7 +541,17 @@ test_files:
|
|
479
541
|
- spec/fixtures/processorcount/solaris-psrinfo
|
480
542
|
- spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
|
481
543
|
- spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
|
544
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_devices
|
545
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
|
546
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
|
547
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
|
548
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
|
549
|
+
- spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
|
550
|
+
- spec/fixtures/unit/dhcp_servers/route
|
551
|
+
- spec/fixtures/unit/dhcp_servers/route_nogw
|
552
|
+
- spec/fixtures/unit/ec2/rest/meta-data/root
|
482
553
|
- spec/fixtures/unit/filesystems/linux
|
554
|
+
- spec/fixtures/unit/gce/metadata/metadata.json
|
483
555
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
|
484
556
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
|
485
557
|
- spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
|
@@ -487,10 +559,29 @@ test_files:
|
|
487
559
|
- spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
|
488
560
|
- spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
|
489
561
|
- spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
|
562
|
+
- spec/fixtures/unit/kernelrelease/openbsd-5.3
|
563
|
+
- spec/fixtures/unit/kernelrelease/openbsd-5.3-current
|
564
|
+
- spec/fixtures/unit/memory/aix-svmon
|
565
|
+
- spec/fixtures/unit/memory/aix-swap_l
|
566
|
+
- spec/fixtures/unit/memory/darwin-swapinfo-multiple
|
567
|
+
- spec/fixtures/unit/memory/darwin-swapinfo-single
|
568
|
+
- spec/fixtures/unit/memory/darwin-vm_stat
|
569
|
+
- spec/fixtures/unit/memory/dragonfly-vmstat
|
570
|
+
- spec/fixtures/unit/memory/freebsd-vmstat
|
571
|
+
- spec/fixtures/unit/memory/linux-proc_meminfo
|
572
|
+
- spec/fixtures/unit/memory/openbsd-vmstat
|
573
|
+
- spec/fixtures/unit/memory/smartos_zone_swap_l-single
|
574
|
+
- spec/fixtures/unit/memory/solaris-prtconf
|
575
|
+
- spec/fixtures/unit/memory/solaris-swap_l-multiple
|
576
|
+
- spec/fixtures/unit/memory/solaris-swap_l-single
|
577
|
+
- spec/fixtures/unit/memory/solaris-vmstat
|
490
578
|
- spec/fixtures/unit/netmask/darwin_10_8_5.txt
|
579
|
+
- spec/fixtures/unit/netmask/ifconfig_aix_7.txt
|
491
580
|
- spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
|
492
581
|
- spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
|
493
582
|
- spec/fixtures/unit/selinux/selinux_sestatus
|
583
|
+
- spec/fixtures/unit/util/dhcp_servers/route
|
584
|
+
- spec/fixtures/unit/util/dhcp_servers/route_nogw
|
494
585
|
- spec/fixtures/unit/util/ec2/centos-arp-ec2.out
|
495
586
|
- spec/fixtures/unit/util/ec2/linux-arp-ec2.out
|
496
587
|
- spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
|
@@ -534,13 +625,18 @@ test_files:
|
|
534
625
|
- spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
|
535
626
|
- spec/fixtures/unit/util/ip/windows_netsh_single_interface
|
536
627
|
- spec/fixtures/unit/util/ip/windows_netsh_single_interface6
|
537
|
-
- spec/fixtures/unit/util/loader/nosuchfact.rb
|
538
628
|
- spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
|
539
629
|
- spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
|
540
630
|
- spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
|
541
631
|
- spec/fixtures/unit/util/manufacturer/opensolaris_smbios
|
632
|
+
- spec/fixtures/unit/util/manufacturer/smartos_smbios
|
542
633
|
- spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
|
543
634
|
- spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
|
635
|
+
- spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
|
636
|
+
- spec/fixtures/unit/util/operatingsystem/redhat-7.txt
|
637
|
+
- spec/fixtures/unit/util/operatingsystem/sabayon.txt
|
638
|
+
- spec/fixtures/unit/util/operatingsystem/wheezy.txt
|
639
|
+
- spec/fixtures/unit/util/partitions/partitions/mount
|
544
640
|
- spec/fixtures/unit/util/processor/solaris-i86pc
|
545
641
|
- spec/fixtures/unit/util/processor/solaris-sun4u
|
546
642
|
- spec/fixtures/unit/util/processor/x86-pentium2
|
@@ -564,6 +660,9 @@ test_files:
|
|
564
660
|
- spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
|
565
661
|
- spec/fixtures/unit/zpool_version/solaris_10
|
566
662
|
- spec/fixtures/unit/zpool_version/solaris_11
|
663
|
+
- spec/fixtures/virtual/proc_1_cgroup/in_a_container
|
664
|
+
- spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
|
665
|
+
- spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
|
567
666
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
|
568
667
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/host
|
569
668
|
- spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
|
@@ -591,10 +690,15 @@ test_files:
|
|
591
690
|
- spec/unit/core/logging_spec.rb
|
592
691
|
- spec/unit/core/resolvable_spec.rb
|
593
692
|
- spec/unit/core/suitable_spec.rb
|
693
|
+
- spec/unit/dhcp_servers_spec.rb
|
594
694
|
- spec/unit/domain_spec.rb
|
695
|
+
- spec/unit/ec2/rest_spec.rb
|
595
696
|
- spec/unit/ec2_spec.rb
|
596
697
|
- spec/unit/facter_spec.rb
|
597
698
|
- spec/unit/filesystems_spec.rb
|
699
|
+
- spec/unit/fqdn_spec.rb
|
700
|
+
- spec/unit/gce/metadata_spec.rb
|
701
|
+
- spec/unit/gce_spec.rb
|
598
702
|
- spec/unit/hardwareisa_spec.rb
|
599
703
|
- spec/unit/hardwaremodel_spec.rb
|
600
704
|
- spec/unit/hostname_spec.rb
|
@@ -620,6 +724,8 @@ test_files:
|
|
620
724
|
- spec/unit/operatingsystem_spec.rb
|
621
725
|
- spec/unit/operatingsystemmajrelease_spec.rb
|
622
726
|
- spec/unit/operatingsystemrelease_spec.rb
|
727
|
+
- spec/unit/osfamily_spec.rb
|
728
|
+
- spec/unit/partitions_spec.rb
|
623
729
|
- spec/unit/physicalprocessorcount_spec.rb
|
624
730
|
- spec/unit/processor_spec.rb
|
625
731
|
- spec/unit/ps_spec.rb
|
@@ -630,10 +736,12 @@ test_files:
|
|
630
736
|
- spec/unit/util/collection_spec.rb
|
631
737
|
- spec/unit/util/config_spec.rb
|
632
738
|
- spec/unit/util/confine_spec.rb
|
739
|
+
- spec/unit/util/dhcp_servers_spec.rb
|
633
740
|
- spec/unit/util/directory_loader_spec.rb
|
634
741
|
- spec/unit/util/ec2_spec.rb
|
635
742
|
- spec/unit/util/fact_spec.rb
|
636
743
|
- spec/unit/util/file_read_spec.rb
|
744
|
+
- spec/unit/util/formatter_spec.rb
|
637
745
|
- spec/unit/util/ip/windows_spec.rb
|
638
746
|
- spec/unit/util/ip_spec.rb
|
639
747
|
- spec/unit/util/loader_spec.rb
|
@@ -641,7 +749,11 @@ test_files:
|
|
641
749
|
- spec/unit/util/macosx_spec.rb
|
642
750
|
- spec/unit/util/manufacturer_spec.rb
|
643
751
|
- spec/unit/util/normalization_spec.rb
|
752
|
+
- spec/unit/util/operatingsystem_spec.rb
|
644
753
|
- spec/unit/util/parser_spec.rb
|
754
|
+
- spec/unit/util/partitions/partitions_spec.rb
|
755
|
+
- spec/unit/util/partitions_spec.rb
|
756
|
+
- spec/unit/util/posix_spec.rb
|
645
757
|
- spec/unit/util/processor_spec.rb
|
646
758
|
- spec/unit/util/registry_spec.rb
|
647
759
|
- spec/unit/util/resolution_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
Facter.value(:nosuchfact)
|