facter 1.6.11 → 1.6.12.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 (43) hide show
  1. data/CHANGELOG +26 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +31 -73
  5. data/ext/build_defaults.yaml +20 -0
  6. data/ext/debian/changelog.erb +71 -0
  7. data/ext/debian/compat +1 -0
  8. data/ext/debian/control +14 -0
  9. data/ext/debian/copyright +19 -0
  10. data/ext/debian/docs +2 -0
  11. data/ext/debian/lintian-overrides +0 -0
  12. data/ext/debian/rules +9 -0
  13. data/ext/debian/source/format +1 -0
  14. data/ext/facter-diff +74 -0
  15. data/{conf → ext}/osx/PackageInfo.plist +0 -0
  16. data/{conf → ext}/osx/createpackage.sh +0 -0
  17. data/ext/osx/file_mapping.yaml +27 -0
  18. data/ext/osx/preflight.erb +30 -0
  19. data/ext/osx/prototype.plist.erb +38 -0
  20. data/ext/packaging/README.md +89 -0
  21. data/ext/packaging/tasks/00_utils.rb +214 -0
  22. data/ext/packaging/tasks/10_setupvars.rake +59 -0
  23. data/ext/packaging/tasks/apple.rake +201 -0
  24. data/ext/packaging/tasks/clean.rake +5 -0
  25. data/ext/packaging/tasks/deb.rake +105 -0
  26. data/ext/packaging/tasks/gem.rake +50 -0
  27. data/ext/packaging/tasks/mock.rake +88 -0
  28. data/ext/packaging/tasks/release.rake +18 -0
  29. data/ext/packaging/tasks/rpm.rake +39 -0
  30. data/ext/packaging/tasks/ship.rake +25 -0
  31. data/ext/packaging/tasks/sign.rake +62 -0
  32. data/ext/packaging/tasks/tar.rake +19 -0
  33. data/ext/project_data.yaml +15 -0
  34. data/{conf/redhat/facter.spec → ext/redhat/facter.spec.erb} +37 -19
  35. data/{conf → ext}/solaris/pkginfo +0 -0
  36. data/lib/facter.rb +2 -6
  37. data/lib/facter/facterversion.rb +5 -2
  38. data/lib/facter/util/ec2.rb +4 -3
  39. data/lib/facter/version.rb +13 -0
  40. data/spec/unit/facter_spec.rb +0 -5
  41. data/spec/unit/util/ec2_spec.rb +16 -0
  42. metadata +370 -200
  43. data/conf/osx/preflight +0 -16
File without changes
@@ -14,6 +14,8 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
+ require 'facter/version'
18
+
17
19
  module Facter
18
20
  # This is just so the other classes have the constant.
19
21
  module Util; end
@@ -25,7 +27,6 @@ module Facter
25
27
  include Comparable
26
28
  include Enumerable
27
29
 
28
- FACTERVERSION = '1.6.11'
29
30
  # = Facter
30
31
  # Functions as a hash of 'facts' you might care about about your
31
32
  # system, such as mac address, IP address, Video card, etc.
@@ -58,11 +59,6 @@ module Facter
58
59
  @collection
59
60
  end
60
61
 
61
- # Return the version of the library.
62
- def self.version
63
- return FACTERVERSION
64
- end
65
-
66
62
  # Add some debugging
67
63
  def self.debug(string)
68
64
  if string.nil?
@@ -2,11 +2,14 @@
2
2
  #
3
3
  # Purpose: returns the version of the facter module.
4
4
  #
5
- # Resolution: Uses the version constant.
5
+ # Resolution: Uses the Facter.version method.
6
6
  #
7
7
  # Caveats:
8
8
  #
9
9
 
10
10
  Facter.add(:facterversion) do
11
- setcode { Facter::FACTERVERSION.to_s }
11
+ setcode do
12
+ require 'facter/version'
13
+ Facter.version.to_s
14
+ end
12
15
  end
@@ -26,10 +26,11 @@ module Facter::Util::EC2
26
26
  !!(Facter.value(:macaddress) =~ %r{^[dD]0:0[dD]:})
27
27
  end
28
28
 
29
- # Test if this host has a mac address used by OpenStack, which
30
- # normally starts with 02:16:3E
29
+ # Test if this host has a mac address used by OpenStack, which
30
+ # normally starts with FA:16:3E (older versions of OpenStack
31
+ # may generate mac addresses starting with 02:16:3E)
31
32
  def has_openstack_mac?
32
- !!(Facter.value(:macaddress) =~ %r{^02:16:3[eE]})
33
+ !!(Facter.value(:macaddress) =~ %r{^(02|[fF][aA]):16:3[eE]})
33
34
  end
34
35
 
35
36
  # Test if the host has an arp entry in its cache that matches the EC2 arp,
@@ -0,0 +1,13 @@
1
+ module Facter
2
+ if not defined? FACTERVERSION then
3
+ FACTERVERSION = '1.6.12-rc1'
4
+ end
5
+
6
+ def self.version
7
+ @facter_version || FACTERVERSION
8
+ end
9
+
10
+ def self.version=(version)
11
+ @facter_version = version
12
+ end
13
+ end
@@ -3,11 +3,6 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe Facter do
6
-
7
- it "should have a version" do
8
- Facter.version.should =~ /^[0-9]+(\.[0-9]+)*$/
9
- end
10
-
11
6
  it "should have a method for returning its collection" do
12
7
  Facter.should respond_to(:collection)
13
8
  end
@@ -83,6 +83,22 @@ describe Facter::Util::EC2 do
83
83
  Facter::Util::EC2.has_openstack_mac?.should == true
84
84
  end
85
85
 
86
+ it "should return true when the mac is a newer openstack mac" do
87
+ # https://github.com/openstack/nova/commit/b684d651f540fc512ced58acd5ae2ef4d55a885c#nova/utils.py
88
+ Facter.expects(:value).with(:macaddress).\
89
+ at_least_once.returns("fa:16:3e:54:89:fd")
90
+
91
+ Facter::Util::EC2.has_openstack_mac?.should == true
92
+ end
93
+
94
+ it "should return true when the mac is a newer openstack mac and returned in upper case" do
95
+ # https://github.com/openstack/nova/commit/b684d651f540fc512ced58acd5ae2ef4d55a885c#nova/utils.py
96
+ Facter.expects(:value).with(:macaddress).\
97
+ at_least_once.returns("FA:16:3E:54:89:FD")
98
+
99
+ Facter::Util::EC2.has_openstack_mac?.should == true
100
+ end
101
+
86
102
  it "should return false when the mac is not a openstack one" do
87
103
  Facter.expects(:value).with(:macaddress).\
88
104
  at_least_once.returns("0c:1d:a0:bc:aa:02")
metadata CHANGED
@@ -1,12 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facter
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: -3110484270
5
+ prerelease: 7
5
6
  segments:
6
7
  - 1
7
8
  - 6
8
- - 11
9
- version: 1.6.11
9
+ - 12
10
+ - rc
11
+ - 1
12
+ version: 1.6.12.rc1
10
13
  platform: ruby
11
14
  authors:
12
15
  - Puppet Labs
@@ -14,8 +17,7 @@ autorequire:
14
17
  bindir: bin
15
18
  cert_chain: []
16
19
 
17
- date: 2012-08-08 00:00:00 -07:00
18
- default_executable:
20
+ date: 2012-08-30 00:00:00 Z
19
21
  dependencies: []
20
22
 
21
23
  description: You can prove anything with facts!
@@ -27,272 +29,440 @@ extensions: []
27
29
  extra_rdoc_files: []
28
30
 
29
31
  files:
32
+ - README.md
30
33
  - CHANGELOG
31
34
  - CONTRIBUTING.md
32
35
  - INSTALL
33
36
  - LICENSE
37
+ - Gemfile
38
+ - Gemfile.lock
34
39
  - Rakefile
35
- - README.md
36
40
  - install.rb
37
41
  - bin/facter
38
- - lib/facter/application.rb
39
- - lib/facter/architecture.rb
40
- - lib/facter/arp.rb
41
- - lib/facter/augeasversion.rb
42
- - lib/facter/Cfkey.rb
43
- - lib/facter/domain.rb
42
+ - etc/facter.conf
43
+ - ext/debian/changelog.erb
44
+ - ext/debian/docs
45
+ - ext/debian/lintian-overrides
46
+ - ext/debian/rules
47
+ - ext/debian/compat
48
+ - ext/debian/copyright
49
+ - ext/debian/source/format
50
+ - ext/debian/control
51
+ - ext/project_data.yaml
52
+ - ext/packaging/README.md
53
+ - ext/packaging/tasks/00_utils.rb
54
+ - ext/packaging/tasks/apple.rake
55
+ - ext/packaging/tasks/10_setupvars.rake
56
+ - ext/packaging/tasks/deb.rake
57
+ - ext/packaging/tasks/tar.rake
58
+ - ext/packaging/tasks/mock.rake
59
+ - ext/packaging/tasks/clean.rake
60
+ - ext/packaging/tasks/ship.rake
61
+ - ext/packaging/tasks/rpm.rake
62
+ - ext/packaging/tasks/release.rake
63
+ - ext/packaging/tasks/sign.rake
64
+ - ext/packaging/tasks/gem.rake
65
+ - ext/redhat/facter.spec.erb
66
+ - ext/solaris/pkginfo
67
+ - ext/facter-diff
68
+ - ext/osx/preflight.erb
69
+ - ext/osx/prototype.plist.erb
70
+ - ext/osx/file_mapping.yaml
71
+ - ext/osx/createpackage.sh
72
+ - ext/osx/PackageInfo.plist
73
+ - ext/build_defaults.yaml
74
+ - lib/facter/interfaces.rb
44
75
  - lib/facter/ec2.rb
45
- - lib/facter/facterversion.rb
46
- - lib/facter/fqdn.rb
47
- - lib/facter/hardwareisa.rb
48
- - lib/facter/hardwaremodel.rb
76
+ - lib/facter/puppetversion.rb
77
+ - lib/facter/arp.rb
78
+ - lib/facter/kernelversion.rb
79
+ - lib/facter/application.rb
80
+ - lib/facter/path.rb
81
+ - lib/facter/kernel.rb
82
+ - lib/facter/lsbrelease.rb
83
+ - lib/facter/rubysitedir.rb
49
84
  - lib/facter/hostname.rb
50
- - lib/facter/id.rb
51
- - lib/facter/interfaces.rb
52
- - lib/facter/ipaddress.rb
53
85
  - lib/facter/ipaddress6.rb
54
- - lib/facter/iphostnumber.rb
55
- - lib/facter/kernel.rb
86
+ - lib/facter/uniqueid.rb
87
+ - lib/facter/operatingsystemrelease.rb
88
+ - lib/facter/id.rb
89
+ - lib/facter/uptime_hours.rb
90
+ - lib/facter/physicalprocessorcount.rb
91
+ - lib/facter/version.rb
92
+ - lib/facter/fqdn.rb
93
+ - lib/facter/uptime.rb
94
+ - lib/facter/xendomains.rb
95
+ - lib/facter/virtual.rb
56
96
  - lib/facter/kernelmajversion.rb
97
+ - lib/facter/ipaddress.rb
98
+ - lib/facter/domain.rb
57
99
  - lib/facter/kernelrelease.rb
58
- - lib/facter/kernelversion.rb
59
- - lib/facter/lsbdistcodename.rb
60
- - lib/facter/lsbdistdescription.rb
61
- - lib/facter/lsbdistid.rb
62
- - lib/facter/lsbdistrelease.rb
63
- - lib/facter/lsbmajdistrelease.rb
64
- - lib/facter/lsbrelease.rb
65
100
  - lib/facter/macaddress.rb
66
- - lib/facter/macosx.rb
67
- - lib/facter/manufacturer.rb
68
- - lib/facter/memory.rb
69
- - lib/facter/netmask.rb
101
+ - lib/facter/lsbdistrelease.rb
70
102
  - lib/facter/network.rb
71
- - lib/facter/operatingsystem.rb
72
- - lib/facter/operatingsystemrelease.rb
73
- - lib/facter/osfamily.rb
74
- - lib/facter/path.rb
75
- - lib/facter/physicalprocessorcount.rb
76
- - lib/facter/processor.rb
77
- - lib/facter/ps.rb
78
- - lib/facter/puppetversion.rb
79
- - lib/facter/rubysitedir.rb
80
- - lib/facter/rubyversion.rb
81
- - lib/facter/selinux.rb
82
- - lib/facter/ssh.rb
83
- - lib/facter/timezone.rb
84
- - lib/facter/uniqueid.rb
85
- - lib/facter/uptime.rb
103
+ - lib/facter/Cfkey.rb
104
+ - lib/facter/lsbdistcodename.rb
105
+ - lib/facter/lsbdistid.rb
106
+ - lib/facter/lsbdistdescription.rb
107
+ - lib/facter/hardwareisa.rb
86
108
  - lib/facter/uptime_days.rb
87
- - lib/facter/uptime_hours.rb
88
- - lib/facter/uptime_seconds.rb
89
- - lib/facter/util/collection.rb
90
- - lib/facter/util/config.rb
91
- - lib/facter/util/confine.rb
92
- - lib/facter/util/ec2.rb
109
+ - lib/facter/selinux.rb
93
110
  - lib/facter/util/fact.rb
94
- - lib/facter/util/ip.rb
95
- - lib/facter/util/loader.rb
111
+ - lib/facter/util/registry.rb
112
+ - lib/facter/util/ec2.rb
113
+ - lib/facter/util/values.rb
114
+ - lib/facter/util/monkey_patches.rb
115
+ - lib/facter/util/plist.rb
116
+ - lib/facter/util/uptime.rb
117
+ - lib/facter/util/xendomains.rb
118
+ - lib/facter/util/virtual.rb
119
+ - lib/facter/util/wmi.rb
96
120
  - lib/facter/util/macaddress.rb
97
- - lib/facter/util/macosx.rb
121
+ - lib/facter/util/confine.rb
122
+ - lib/facter/util/config.rb
123
+ - lib/facter/util/collection.rb
124
+ - lib/facter/util/loader.rb
98
125
  - lib/facter/util/manufacturer.rb
126
+ - lib/facter/util/vlans.rb
99
127
  - lib/facter/util/memory.rb
100
- - lib/facter/util/monkey_patches.rb
128
+ - lib/facter/util/macosx.rb
101
129
  - lib/facter/util/netmask.rb
102
- - lib/facter/util/plist/generator.rb
103
- - lib/facter/util/plist/parser.rb
104
- - lib/facter/util/plist.rb
105
130
  - lib/facter/util/processor.rb
106
- - lib/facter/util/registry.rb
131
+ - lib/facter/util/ip.rb
132
+ - lib/facter/util/plist/parser.rb
133
+ - lib/facter/util/plist/generator.rb
107
134
  - lib/facter/util/resolution.rb
108
- - lib/facter/util/uptime.rb
109
- - lib/facter/util/values.rb
110
- - lib/facter/util/virtual.rb
111
- - lib/facter/util/vlans.rb
112
- - lib/facter/util/wmi.rb
113
- - lib/facter/util/xendomains.rb
114
- - lib/facter/virtual.rb
135
+ - lib/facter/uptime_seconds.rb
136
+ - lib/facter/architecture.rb
137
+ - lib/facter/hardwaremodel.rb
138
+ - lib/facter/manufacturer.rb
115
139
  - lib/facter/vlans.rb
116
- - lib/facter/xendomains.rb
140
+ - lib/facter/ps.rb
141
+ - lib/facter/facterversion.rb
142
+ - lib/facter/rubyversion.rb
143
+ - lib/facter/memory.rb
144
+ - lib/facter/timezone.rb
145
+ - lib/facter/macosx.rb
146
+ - lib/facter/iphostnumber.rb
147
+ - lib/facter/operatingsystem.rb
148
+ - lib/facter/netmask.rb
149
+ - lib/facter/ssh.rb
150
+ - lib/facter/processor.rb
151
+ - lib/facter/lsbmajdistrelease.rb
152
+ - lib/facter/augeasversion.rb
153
+ - lib/facter/osfamily.rb
117
154
  - lib/facter.rb
118
- - conf/osx/createpackage.sh
119
- - conf/osx/PackageInfo.plist
120
- - conf/osx/preflight
121
- - conf/redhat/facter.spec
122
- - conf/solaris/pkginfo
123
- - etc/facter.conf
124
- - spec/fixtures/cpuinfo/amd64dual
125
- - spec/fixtures/cpuinfo/amd64quad
126
- - spec/fixtures/cpuinfo/amd64solo
127
- - spec/fixtures/cpuinfo/amd64tri
128
- - spec/fixtures/cpuinfo/bbg3-armel
129
- - spec/fixtures/cpuinfo/beaglexm-armel
130
- - spec/fixtures/cpuinfo/panda-armel
131
- - spec/fixtures/cpuinfo/ppc64
132
- - spec/fixtures/cpuinfo/sparc
133
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
134
- - spec/fixtures/ifconfig/centos_5_5
135
- - spec/fixtures/ifconfig/centos_5_5_eth0
136
- - spec/fixtures/ifconfig/darwin_10_3_0
137
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
138
- - spec/fixtures/ifconfig/darwin_10_6_4
139
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
140
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
141
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
142
- - spec/fixtures/ifconfig/darwin_9_8_0
143
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
144
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
145
- - spec/fixtures/ifconfig/fedora_10
146
- - spec/fixtures/ifconfig/fedora_10_eth0
147
- - spec/fixtures/ifconfig/fedora_13
148
- - spec/fixtures/ifconfig/fedora_13_eth0
149
- - spec/fixtures/ifconfig/fedora_8
150
- - spec/fixtures/ifconfig/fedora_8_eth0
151
- - spec/fixtures/ifconfig/freebsd_6_0
152
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
153
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
154
- - spec/fixtures/ifconfig/linux_ifconfig_venet
155
- - spec/fixtures/ifconfig/open_solaris_10
156
- - spec/fixtures/ifconfig/open_solaris_b132
157
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
158
- - spec/fixtures/ifconfig/ubuntu_7_04
159
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
160
- - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
161
- - spec/fixtures/netstat/centos_5_5
162
- - spec/fixtures/netstat/darwin_10_3_0
163
- - spec/fixtures/netstat/darwin_10_6_4
164
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
165
- - spec/fixtures/netstat/darwin_9_8_0
166
- - spec/fixtures/netstat/fedora_10
167
- - spec/fixtures/netstat/open_solaris_10
168
- - spec/fixtures/netstat/open_solaris_b132
169
- - spec/fixtures/netstat/ubuntu_7_04
170
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
171
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
172
155
  - spec/fixtures/unit/selinux/selinux_sestatus
173
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
174
- - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
175
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
176
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
177
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
156
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
157
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
158
+ - spec/fixtures/unit/util/processor/solaris-sun4u
159
+ - spec/fixtures/unit/util/processor/solaris-i86pc
160
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
161
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
162
+ - spec/fixtures/unit/util/uptime/who_b_boottime
163
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
164
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
165
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
166
+ - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
167
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
178
168
  - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
169
+ - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
179
170
  - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
180
171
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
181
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
182
- - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
183
- - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
184
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
185
172
  - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
186
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
187
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
188
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
173
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
174
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
189
175
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface
190
176
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
191
- - spec/fixtures/unit/util/loader/nosuchfact.rb
177
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
192
178
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
193
- - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
194
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
195
179
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
180
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
181
+ - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
196
182
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
197
- - spec/fixtures/unit/util/processor/solaris-i86pc
198
- - spec/fixtures/unit/util/processor/solaris-sun4u
199
- - spec/fixtures/unit/util/uptime/kstat_boot_time
200
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
201
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
202
- - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
203
- - spec/fixtures/unit/util/uptime/who_b_boottime
204
- - spec/fixtures/unit/util/vlans/linux_vlan_config
205
183
  - spec/fixtures/unit/util/xendomains/xendomains
206
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
207
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
184
+ - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
185
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
186
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
187
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
188
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
189
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
190
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
191
+ - spec/fixtures/netstat/darwin_10_6_4
192
+ - spec/fixtures/netstat/darwin_10_3_0
193
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
194
+ - spec/fixtures/netstat/fedora_10
195
+ - spec/fixtures/netstat/ubuntu_7_04
196
+ - spec/fixtures/netstat/open_solaris_b132
197
+ - spec/fixtures/netstat/open_solaris_10
198
+ - spec/fixtures/netstat/centos_5_5
199
+ - spec/fixtures/netstat/darwin_9_8_0
200
+ - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
201
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
202
+ - spec/fixtures/ifconfig/darwin_10_6_4
203
+ - spec/fixtures/ifconfig/darwin_10_3_0
204
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
205
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
206
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
207
+ - spec/fixtures/ifconfig/fedora_10
208
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
209
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
210
+ - spec/fixtures/ifconfig/fedora_13_eth0
211
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
212
+ - spec/fixtures/ifconfig/centos_5_5_eth0
213
+ - spec/fixtures/ifconfig/ubuntu_7_04
214
+ - spec/fixtures/ifconfig/open_solaris_b132
215
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
216
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
217
+ - spec/fixtures/ifconfig/fedora_13
218
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
219
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
220
+ - spec/fixtures/ifconfig/open_solaris_10
221
+ - spec/fixtures/ifconfig/fedora_8_eth0
222
+ - spec/fixtures/ifconfig/fedora_8
223
+ - spec/fixtures/ifconfig/centos_5_5
224
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
225
+ - spec/fixtures/ifconfig/darwin_9_8_0
226
+ - spec/fixtures/ifconfig/freebsd_6_0
227
+ - spec/fixtures/ifconfig/fedora_10_eth0
228
+ - spec/fixtures/cpuinfo/sparc
229
+ - spec/fixtures/cpuinfo/beaglexm-armel
230
+ - spec/fixtures/cpuinfo/amd64solo
231
+ - spec/fixtures/cpuinfo/amd64dual
232
+ - spec/fixtures/cpuinfo/bbg3-armel
233
+ - spec/fixtures/cpuinfo/amd64tri
234
+ - spec/fixtures/cpuinfo/ppc64
235
+ - spec/fixtures/cpuinfo/panda-armel
236
+ - spec/fixtures/cpuinfo/amd64quad
208
237
  - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
209
238
  - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
210
- - spec/integration/facter_spec.rb
211
- - spec/puppetlabs_spec/files.rb
239
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
240
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
212
241
  - spec/puppetlabs_spec/fixtures.rb
213
242
  - spec/puppetlabs_spec/matchers.rb
243
+ - spec/puppetlabs_spec/files.rb
214
244
  - spec/puppetlabs_spec/verbose.rb
215
- - spec/puppetlabs_spec_helper.rb
216
- - spec/shared_contexts/platform.rb
217
- - spec/spec_helper.rb
218
- - spec/unit/architecture_spec.rb
219
- - spec/unit/domain_spec.rb
220
- - spec/unit/ec2_spec.rb
221
- - spec/unit/facter_spec.rb
245
+ - spec/unit/lsbdistdescription_spec.rb
246
+ - spec/unit/operatingsystemrelease_spec.rb
222
247
  - spec/unit/hardwareisa_spec.rb
223
- - spec/unit/hardwaremodel_spec.rb
224
- - spec/unit/hostname_spec.rb
225
- - spec/unit/id_spec.rb
226
- - spec/unit/interfaces_spec.rb
248
+ - spec/unit/virtual_spec.rb
227
249
  - spec/unit/ipaddress6_spec.rb
228
- - spec/unit/lsbdistcodename_spec.rb
229
- - spec/unit/lsbdistdescription_spec.rb
230
- - spec/unit/lsbdistid_spec.rb
231
- - spec/unit/lsbdistrelease_spec.rb
232
- - spec/unit/lsbmajdistrelease_spec.rb
233
- - spec/unit/lsbrelease_spec.rb
234
- - spec/unit/macaddress_spec.rb
235
- - spec/unit/memory_spec.rb
250
+ - spec/unit/ec2_spec.rb
251
+ - spec/unit/selinux_spec.rb
252
+ - spec/unit/hostname_spec.rb
236
253
  - spec/unit/operatingsystem_spec.rb
237
- - spec/unit/operatingsystemrelease_spec.rb
238
- - spec/unit/physicalprocessorcount_spec.rb
254
+ - spec/unit/lsbdistcodename_spec.rb
239
255
  - spec/unit/processor_spec.rb
240
- - spec/unit/selinux_spec.rb
241
256
  - spec/unit/uniqueid_spec.rb
242
- - spec/unit/uptime_spec.rb
243
- - spec/unit/util/collection_spec.rb
244
- - spec/unit/util/config_spec.rb
257
+ - spec/unit/macaddress_spec.rb
258
+ - spec/unit/physicalprocessorcount_spec.rb
259
+ - spec/unit/domain_spec.rb
260
+ - spec/unit/lsbrelease_spec.rb
261
+ - spec/unit/util/manufacturer_spec.rb
245
262
  - spec/unit/util/confine_spec.rb
263
+ - spec/unit/util/xendomains_spec.rb
264
+ - spec/unit/util/resolution_spec.rb
265
+ - spec/unit/util/virtual_spec.rb
266
+ - spec/unit/util/config_spec.rb
267
+ - spec/unit/util/collection_spec.rb
246
268
  - spec/unit/util/ec2_spec.rb
247
- - spec/unit/util/fact_spec.rb
248
- - spec/unit/util/ip_spec.rb
269
+ - spec/unit/util/processor_spec.rb
249
270
  - spec/unit/util/loader_spec.rb
250
271
  - spec/unit/util/macaddress_spec.rb
251
- - spec/unit/util/macosx_spec.rb
252
- - spec/unit/util/manufacturer_spec.rb
253
- - spec/unit/util/processor_spec.rb
254
- - spec/unit/util/registry_spec.rb
255
- - spec/unit/util/resolution_spec.rb
256
272
  - spec/unit/util/uptime_spec.rb
257
- - spec/unit/util/virtual_spec.rb
258
273
  - spec/unit/util/vlans_spec.rb
274
+ - spec/unit/util/ip_spec.rb
275
+ - spec/unit/util/registry_spec.rb
259
276
  - spec/unit/util/wmi_spec.rb
260
- - spec/unit/util/xendomains_spec.rb
261
- - spec/unit/virtual_spec.rb
277
+ - spec/unit/util/fact_spec.rb
278
+ - spec/unit/util/macosx_spec.rb
279
+ - spec/unit/id_spec.rb
280
+ - spec/unit/uptime_spec.rb
281
+ - spec/unit/lsbdistid_spec.rb
282
+ - spec/unit/memory_spec.rb
283
+ - spec/unit/interfaces_spec.rb
284
+ - spec/unit/hardwaremodel_spec.rb
285
+ - spec/unit/facter_spec.rb
286
+ - spec/unit/architecture_spec.rb
287
+ - spec/unit/lsbmajdistrelease_spec.rb
288
+ - spec/unit/lsbdistrelease_spec.rb
289
+ - spec/spec_helper.rb
290
+ - spec/shared_contexts/platform.rb
262
291
  - spec/watchr.rb
263
- has_rdoc: true
264
- homepage: http://puppetlabs.com
292
+ - spec/puppetlabs_spec_helper.rb
293
+ - spec/integration/facter_spec.rb
294
+ homepage: https://github.com/puppetlabs/facter
265
295
  licenses: []
266
296
 
267
297
  post_install_message:
268
- rdoc_options:
269
- - --title
270
- - Facter - System Inventory Tool
271
- - --main
272
- - README
273
- - --line-numbers
298
+ rdoc_options: []
299
+
274
300
  require_paths:
275
301
  - lib
276
302
  required_ruby_version: !ruby/object:Gem::Requirement
303
+ none: false
277
304
  requirements:
278
305
  - - ">="
279
306
  - !ruby/object:Gem::Version
307
+ hash: 3
280
308
  segments:
281
309
  - 0
282
310
  version: "0"
283
311
  required_rubygems_version: !ruby/object:Gem::Requirement
312
+ none: false
284
313
  requirements:
285
- - - ">="
314
+ - - ">"
286
315
  - !ruby/object:Gem::Version
316
+ hash: 25
287
317
  segments:
288
- - 0
289
- version: "0"
318
+ - 1
319
+ - 3
320
+ - 1
321
+ version: 1.3.1
290
322
  requirements: []
291
323
 
292
- rubyforge_project: facter
293
- rubygems_version: 1.3.6
324
+ rubyforge_project:
325
+ rubygems_version: 1.8.11
294
326
  signing_key:
295
327
  specification_version: 3
296
328
  summary: Facter, a system inventory tool
297
- test_files: []
298
-
329
+ test_files:
330
+ - spec/fixtures/unit/selinux/selinux_sestatus
331
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
332
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
333
+ - spec/fixtures/unit/util/processor/solaris-sun4u
334
+ - spec/fixtures/unit/util/processor/solaris-i86pc
335
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
336
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
337
+ - spec/fixtures/unit/util/uptime/who_b_boottime
338
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
339
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
340
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
341
+ - spec/fixtures/unit/util/ip/hpux_netstat_all_interfaces
342
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
343
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
344
+ - spec/fixtures/unit/util/ip/hpux_ifconfig_single_interface
345
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
346
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
347
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
348
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
349
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
350
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
351
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
352
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
353
+ - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
354
+ - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
355
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
356
+ - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
357
+ - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
358
+ - spec/fixtures/unit/util/xendomains/xendomains
359
+ - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
360
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
361
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
362
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
363
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
364
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
365
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
366
+ - spec/fixtures/netstat/darwin_10_6_4
367
+ - spec/fixtures/netstat/darwin_10_3_0
368
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
369
+ - spec/fixtures/netstat/fedora_10
370
+ - spec/fixtures/netstat/ubuntu_7_04
371
+ - spec/fixtures/netstat/open_solaris_b132
372
+ - spec/fixtures/netstat/open_solaris_10
373
+ - spec/fixtures/netstat/centos_5_5
374
+ - spec/fixtures/netstat/darwin_9_8_0
375
+ - spec/fixtures/netsh/windows_netsh_addresses_with_multiple_interfaces
376
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
377
+ - spec/fixtures/ifconfig/darwin_10_6_4
378
+ - spec/fixtures/ifconfig/darwin_10_3_0
379
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
380
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
381
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
382
+ - spec/fixtures/ifconfig/fedora_10
383
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
384
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
385
+ - spec/fixtures/ifconfig/fedora_13_eth0
386
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
387
+ - spec/fixtures/ifconfig/centos_5_5_eth0
388
+ - spec/fixtures/ifconfig/ubuntu_7_04
389
+ - spec/fixtures/ifconfig/open_solaris_b132
390
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
391
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
392
+ - spec/fixtures/ifconfig/fedora_13
393
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
394
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
395
+ - spec/fixtures/ifconfig/open_solaris_10
396
+ - spec/fixtures/ifconfig/fedora_8_eth0
397
+ - spec/fixtures/ifconfig/fedora_8
398
+ - spec/fixtures/ifconfig/centos_5_5
399
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
400
+ - spec/fixtures/ifconfig/darwin_9_8_0
401
+ - spec/fixtures/ifconfig/freebsd_6_0
402
+ - spec/fixtures/ifconfig/fedora_10_eth0
403
+ - spec/fixtures/cpuinfo/sparc
404
+ - spec/fixtures/cpuinfo/beaglexm-armel
405
+ - spec/fixtures/cpuinfo/amd64solo
406
+ - spec/fixtures/cpuinfo/amd64dual
407
+ - spec/fixtures/cpuinfo/bbg3-armel
408
+ - spec/fixtures/cpuinfo/amd64tri
409
+ - spec/fixtures/cpuinfo/ppc64
410
+ - spec/fixtures/cpuinfo/panda-armel
411
+ - spec/fixtures/cpuinfo/amd64quad
412
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
413
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
414
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
415
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
416
+ - spec/puppetlabs_spec/fixtures.rb
417
+ - spec/puppetlabs_spec/matchers.rb
418
+ - spec/puppetlabs_spec/files.rb
419
+ - spec/puppetlabs_spec/verbose.rb
420
+ - spec/unit/lsbdistdescription_spec.rb
421
+ - spec/unit/operatingsystemrelease_spec.rb
422
+ - spec/unit/hardwareisa_spec.rb
423
+ - spec/unit/virtual_spec.rb
424
+ - spec/unit/ipaddress6_spec.rb
425
+ - spec/unit/ec2_spec.rb
426
+ - spec/unit/selinux_spec.rb
427
+ - spec/unit/hostname_spec.rb
428
+ - spec/unit/operatingsystem_spec.rb
429
+ - spec/unit/lsbdistcodename_spec.rb
430
+ - spec/unit/processor_spec.rb
431
+ - spec/unit/uniqueid_spec.rb
432
+ - spec/unit/macaddress_spec.rb
433
+ - spec/unit/physicalprocessorcount_spec.rb
434
+ - spec/unit/domain_spec.rb
435
+ - spec/unit/lsbrelease_spec.rb
436
+ - spec/unit/util/manufacturer_spec.rb
437
+ - spec/unit/util/confine_spec.rb
438
+ - spec/unit/util/xendomains_spec.rb
439
+ - spec/unit/util/resolution_spec.rb
440
+ - spec/unit/util/virtual_spec.rb
441
+ - spec/unit/util/config_spec.rb
442
+ - spec/unit/util/collection_spec.rb
443
+ - spec/unit/util/ec2_spec.rb
444
+ - spec/unit/util/processor_spec.rb
445
+ - spec/unit/util/loader_spec.rb
446
+ - spec/unit/util/macaddress_spec.rb
447
+ - spec/unit/util/uptime_spec.rb
448
+ - spec/unit/util/vlans_spec.rb
449
+ - spec/unit/util/ip_spec.rb
450
+ - spec/unit/util/registry_spec.rb
451
+ - spec/unit/util/wmi_spec.rb
452
+ - spec/unit/util/fact_spec.rb
453
+ - spec/unit/util/macosx_spec.rb
454
+ - spec/unit/id_spec.rb
455
+ - spec/unit/uptime_spec.rb
456
+ - spec/unit/lsbdistid_spec.rb
457
+ - spec/unit/memory_spec.rb
458
+ - spec/unit/interfaces_spec.rb
459
+ - spec/unit/hardwaremodel_spec.rb
460
+ - spec/unit/facter_spec.rb
461
+ - spec/unit/architecture_spec.rb
462
+ - spec/unit/lsbmajdistrelease_spec.rb
463
+ - spec/unit/lsbdistrelease_spec.rb
464
+ - spec/spec_helper.rb
465
+ - spec/shared_contexts/platform.rb
466
+ - spec/watchr.rb
467
+ - spec/puppetlabs_spec_helper.rb
468
+ - spec/integration/facter_spec.rb