facter 1.6.13 → 1.6.14.rc1
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.
- data/Rakefile +1 -5
- data/bin/facter +11 -0
- data/ext/redhat/facter.spec.erb +16 -15
- data/lib/facter/application.rb +0 -1
- data/lib/facter/hardwareisa.rb +7 -2
- data/lib/facter/physicalprocessorcount.rb +13 -1
- data/lib/facter/processor.rb +37 -39
- data/lib/facter/util/ip.rb +2 -2
- data/lib/facter/util/monkey_patches.rb +32 -0
- data/lib/facter/util/processor.rb +74 -23
- data/lib/facter/util/uptime.rb +27 -16
- data/lib/facter/util/virtual.rb +15 -0
- data/lib/facter/version.rb +1 -1
- data/lib/facter/virtual.rb +34 -1
- data/spec/fixtures/ifconfig/centos_5_5 +1 -1
- data/spec/fixtures/ifconfig/centos_5_5_eth0 +1 -1
- data/spec/fixtures/ifconfig/darwin_10_3_0 +1 -1
- data/spec/fixtures/ifconfig/darwin_10_3_0_en0 +1 -1
- data/spec/fixtures/ifconfig/darwin_9_8_0 +1 -1
- data/spec/fixtures/ifconfig/darwin_9_8_0_en0 +1 -1
- data/spec/fixtures/ifconfig/fedora_10 +1 -1
- data/spec/fixtures/ifconfig/fedora_10_eth0 +1 -1
- data/spec/fixtures/ifconfig/fedora_13 +1 -1
- data/spec/fixtures/ifconfig/fedora_13_eth0 +1 -1
- data/spec/fixtures/ifconfig/fedora_8 +1 -1
- data/spec/fixtures/ifconfig/fedora_8_eth0 +1 -1
- data/spec/fixtures/ifconfig/freebsd_6_0 +1 -1
- data/spec/fixtures/ifconfig/open_solaris_10 +1 -1
- data/spec/fixtures/ifconfig/open_solaris_b132 +1 -1
- data/spec/fixtures/ifconfig/ubuntu_7_04 +1 -1
- data/spec/fixtures/ifconfig/ubuntu_7_04_eth0 +1 -1
- data/spec/fixtures/netstat/centos_5_5 +1 -1
- data/spec/fixtures/netstat/darwin_10_3_0 +1 -1
- data/spec/fixtures/netstat/darwin_9_8_0 +1 -1
- data/spec/fixtures/netstat/fedora_10 +1 -1
- data/spec/fixtures/netstat/open_solaris_10 +1 -1
- data/spec/fixtures/netstat/open_solaris_b132 +1 -1
- data/spec/fixtures/netstat/ubuntu_7_04 +1 -1
- data/spec/fixtures/unit/util/ec2/centos-arp-ec2.out +1 -1
- data/spec/fixtures/unit/util/ec2/windows-2008-arp-a.out +1 -1
- data/spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig +1 -1
- data/spec/fixtures/unit/util/ip/linux_get_single_interface_ib0 +1 -1
- data/spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface +1 -1
- data/spec/fixtures/unit/util/ip/linux_ifconfig_ib0 +1 -1
- data/spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface +1 -1
- data/spec/integration/facter_spec.rb +1 -1
- data/spec/unit/architecture_spec.rb +1 -1
- data/spec/unit/domain_spec.rb +1 -1
- data/spec/unit/ec2_spec.rb +1 -1
- data/spec/unit/facter_spec.rb +1 -1
- data/spec/unit/hardwareisa_spec.rb +7 -0
- data/spec/unit/hostname_spec.rb +1 -1
- data/spec/unit/id_spec.rb +1 -1
- data/spec/unit/interfaces_spec.rb +1 -1
- data/spec/unit/ipaddress6_spec.rb +1 -1
- data/spec/unit/lsbdistcodename_spec.rb +1 -1
- data/spec/unit/lsbdistdescription_spec.rb +1 -1
- data/spec/unit/lsbdistid_spec.rb +1 -1
- data/spec/unit/lsbdistrelease_spec.rb +1 -1
- data/spec/unit/lsbrelease_spec.rb +1 -1
- data/spec/unit/macaddress_spec.rb +1 -1
- data/spec/unit/memory_spec.rb +1 -1
- data/spec/unit/operatingsystem_spec.rb +1 -1
- data/spec/unit/operatingsystemrelease_spec.rb +1 -1
- data/spec/unit/physicalprocessorcount_spec.rb +24 -5
- data/spec/unit/processor_spec.rb +75 -9
- data/spec/unit/selinux_spec.rb +1 -1
- data/spec/unit/uptime_spec.rb +1 -1
- data/spec/unit/util/collection_spec.rb +1 -1
- data/spec/unit/util/config_spec.rb +1 -1
- data/spec/unit/util/confine_spec.rb +1 -1
- data/spec/unit/util/ec2_spec.rb +1 -1
- data/spec/unit/util/fact_spec.rb +1 -1
- data/spec/unit/util/ip_spec.rb +3 -3
- data/spec/unit/util/loader_spec.rb +1 -1
- data/spec/unit/util/macaddress_spec.rb +1 -1
- data/spec/unit/util/macosx_spec.rb +1 -1
- data/spec/unit/util/manufacturer_spec.rb +1 -1
- data/spec/unit/util/monkey_patches_spec.rb +42 -0
- data/spec/unit/util/processor_spec.rb +1 -9
- data/spec/unit/util/registry_spec.rb +1 -1
- data/spec/unit/util/resolution_spec.rb +1 -1
- data/spec/unit/util/uptime_spec.rb +61 -20
- data/spec/unit/util/virtual_spec.rb +1 -1
- data/spec/unit/util/vlans_spec.rb +1 -1
- data/spec/unit/util/wmi_spec.rb +1 -1
- data/spec/unit/util/xendomains_spec.rb +1 -1
- data/spec/unit/virtual_spec.rb +66 -34
- metadata +7 -7
- data/spec/fixtures/unit/util/uptime/who_b_boottime +0 -1
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
5
|
-
prerelease:
|
4
|
+
version: 1.6.14.rc1
|
5
|
+
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Puppet Labs
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: You can prove anything with facts!
|
15
15
|
email: info@puppetlabs.com
|
@@ -210,7 +210,6 @@ files:
|
|
210
210
|
- spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
|
211
211
|
- spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
|
212
212
|
- spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
|
213
|
-
- spec/fixtures/unit/util/uptime/who_b_boottime
|
214
213
|
- spec/fixtures/unit/util/vlans/linux_vlan_config
|
215
214
|
- spec/fixtures/unit/util/xendomains/xendomains
|
216
215
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
|
@@ -260,6 +259,7 @@ files:
|
|
260
259
|
- spec/unit/util/macaddress_spec.rb
|
261
260
|
- spec/unit/util/macosx_spec.rb
|
262
261
|
- spec/unit/util/manufacturer_spec.rb
|
262
|
+
- spec/unit/util/monkey_patches_spec.rb
|
263
263
|
- spec/unit/util/processor_spec.rb
|
264
264
|
- spec/unit/util/registry_spec.rb
|
265
265
|
- spec/unit/util/resolution_spec.rb
|
@@ -285,9 +285,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
285
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
286
286
|
none: false
|
287
287
|
requirements:
|
288
|
-
- - ! '
|
288
|
+
- - ! '>'
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
290
|
+
version: 1.3.1
|
291
291
|
requirements: []
|
292
292
|
rubyforge_project:
|
293
293
|
rubygems_version: 1.8.24
|
@@ -376,7 +376,6 @@ test_files:
|
|
376
376
|
- spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
|
377
377
|
- spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
|
378
378
|
- spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
|
379
|
-
- spec/fixtures/unit/util/uptime/who_b_boottime
|
380
379
|
- spec/fixtures/unit/util/vlans/linux_vlan_config
|
381
380
|
- spec/fixtures/unit/util/xendomains/xendomains
|
382
381
|
- spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
|
@@ -426,6 +425,7 @@ test_files:
|
|
426
425
|
- spec/unit/util/macaddress_spec.rb
|
427
426
|
- spec/unit/util/macosx_spec.rb
|
428
427
|
- spec/unit/util/manufacturer_spec.rb
|
428
|
+
- spec/unit/util/monkey_patches_spec.rb
|
429
429
|
- spec/unit/util/processor_spec.rb
|
430
430
|
- spec/unit/util/registry_spec.rb
|
431
431
|
- spec/unit/util/resolution_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
reboot ~ Aug 1 14:13
|