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.

Files changed (90) hide show
  1. data/Rakefile +1 -5
  2. data/bin/facter +11 -0
  3. data/ext/redhat/facter.spec.erb +16 -15
  4. data/lib/facter/application.rb +0 -1
  5. data/lib/facter/hardwareisa.rb +7 -2
  6. data/lib/facter/physicalprocessorcount.rb +13 -1
  7. data/lib/facter/processor.rb +37 -39
  8. data/lib/facter/util/ip.rb +2 -2
  9. data/lib/facter/util/monkey_patches.rb +32 -0
  10. data/lib/facter/util/processor.rb +74 -23
  11. data/lib/facter/util/uptime.rb +27 -16
  12. data/lib/facter/util/virtual.rb +15 -0
  13. data/lib/facter/version.rb +1 -1
  14. data/lib/facter/virtual.rb +34 -1
  15. data/spec/fixtures/ifconfig/centos_5_5 +1 -1
  16. data/spec/fixtures/ifconfig/centos_5_5_eth0 +1 -1
  17. data/spec/fixtures/ifconfig/darwin_10_3_0 +1 -1
  18. data/spec/fixtures/ifconfig/darwin_10_3_0_en0 +1 -1
  19. data/spec/fixtures/ifconfig/darwin_9_8_0 +1 -1
  20. data/spec/fixtures/ifconfig/darwin_9_8_0_en0 +1 -1
  21. data/spec/fixtures/ifconfig/fedora_10 +1 -1
  22. data/spec/fixtures/ifconfig/fedora_10_eth0 +1 -1
  23. data/spec/fixtures/ifconfig/fedora_13 +1 -1
  24. data/spec/fixtures/ifconfig/fedora_13_eth0 +1 -1
  25. data/spec/fixtures/ifconfig/fedora_8 +1 -1
  26. data/spec/fixtures/ifconfig/fedora_8_eth0 +1 -1
  27. data/spec/fixtures/ifconfig/freebsd_6_0 +1 -1
  28. data/spec/fixtures/ifconfig/open_solaris_10 +1 -1
  29. data/spec/fixtures/ifconfig/open_solaris_b132 +1 -1
  30. data/spec/fixtures/ifconfig/ubuntu_7_04 +1 -1
  31. data/spec/fixtures/ifconfig/ubuntu_7_04_eth0 +1 -1
  32. data/spec/fixtures/netstat/centos_5_5 +1 -1
  33. data/spec/fixtures/netstat/darwin_10_3_0 +1 -1
  34. data/spec/fixtures/netstat/darwin_9_8_0 +1 -1
  35. data/spec/fixtures/netstat/fedora_10 +1 -1
  36. data/spec/fixtures/netstat/open_solaris_10 +1 -1
  37. data/spec/fixtures/netstat/open_solaris_b132 +1 -1
  38. data/spec/fixtures/netstat/ubuntu_7_04 +1 -1
  39. data/spec/fixtures/unit/util/ec2/centos-arp-ec2.out +1 -1
  40. data/spec/fixtures/unit/util/ec2/windows-2008-arp-a.out +1 -1
  41. data/spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig +1 -1
  42. data/spec/fixtures/unit/util/ip/linux_get_single_interface_ib0 +1 -1
  43. data/spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface +1 -1
  44. data/spec/fixtures/unit/util/ip/linux_ifconfig_ib0 +1 -1
  45. data/spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface +1 -1
  46. data/spec/integration/facter_spec.rb +1 -1
  47. data/spec/unit/architecture_spec.rb +1 -1
  48. data/spec/unit/domain_spec.rb +1 -1
  49. data/spec/unit/ec2_spec.rb +1 -1
  50. data/spec/unit/facter_spec.rb +1 -1
  51. data/spec/unit/hardwareisa_spec.rb +7 -0
  52. data/spec/unit/hostname_spec.rb +1 -1
  53. data/spec/unit/id_spec.rb +1 -1
  54. data/spec/unit/interfaces_spec.rb +1 -1
  55. data/spec/unit/ipaddress6_spec.rb +1 -1
  56. data/spec/unit/lsbdistcodename_spec.rb +1 -1
  57. data/spec/unit/lsbdistdescription_spec.rb +1 -1
  58. data/spec/unit/lsbdistid_spec.rb +1 -1
  59. data/spec/unit/lsbdistrelease_spec.rb +1 -1
  60. data/spec/unit/lsbrelease_spec.rb +1 -1
  61. data/spec/unit/macaddress_spec.rb +1 -1
  62. data/spec/unit/memory_spec.rb +1 -1
  63. data/spec/unit/operatingsystem_spec.rb +1 -1
  64. data/spec/unit/operatingsystemrelease_spec.rb +1 -1
  65. data/spec/unit/physicalprocessorcount_spec.rb +24 -5
  66. data/spec/unit/processor_spec.rb +75 -9
  67. data/spec/unit/selinux_spec.rb +1 -1
  68. data/spec/unit/uptime_spec.rb +1 -1
  69. data/spec/unit/util/collection_spec.rb +1 -1
  70. data/spec/unit/util/config_spec.rb +1 -1
  71. data/spec/unit/util/confine_spec.rb +1 -1
  72. data/spec/unit/util/ec2_spec.rb +1 -1
  73. data/spec/unit/util/fact_spec.rb +1 -1
  74. data/spec/unit/util/ip_spec.rb +3 -3
  75. data/spec/unit/util/loader_spec.rb +1 -1
  76. data/spec/unit/util/macaddress_spec.rb +1 -1
  77. data/spec/unit/util/macosx_spec.rb +1 -1
  78. data/spec/unit/util/manufacturer_spec.rb +1 -1
  79. data/spec/unit/util/monkey_patches_spec.rb +42 -0
  80. data/spec/unit/util/processor_spec.rb +1 -9
  81. data/spec/unit/util/registry_spec.rb +1 -1
  82. data/spec/unit/util/resolution_spec.rb +1 -1
  83. data/spec/unit/util/uptime_spec.rb +61 -20
  84. data/spec/unit/util/virtual_spec.rb +1 -1
  85. data/spec/unit/util/vlans_spec.rb +1 -1
  86. data/spec/unit/util/wmi_spec.rb +1 -1
  87. data/spec/unit/util/xendomains_spec.rb +1 -1
  88. data/spec/unit/virtual_spec.rb +66 -34
  89. metadata +7 -7
  90. 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.13
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-04 00:00:00.000000000 Z
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: '0'
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