facter 1.7.3 → 1.7.4.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 (39) hide show
  1. data/Gemfile +10 -7
  2. data/bin/facter +0 -58
  3. data/ext/build_defaults.yaml +2 -2
  4. data/ext/debian/rules +1 -1
  5. data/lib/facter/application.rb +69 -24
  6. data/lib/facter/architecture.rb +14 -1
  7. data/lib/facter/operatingsystemrelease.rb +3 -3
  8. data/lib/facter/util/architecture.rb +19 -0
  9. data/lib/facter/util/collection.rb +13 -7
  10. data/lib/facter/util/config.rb +11 -5
  11. data/lib/facter/util/ip/windows.rb +2 -2
  12. data/lib/facter/util/loader.rb +1 -1
  13. data/lib/facter/util/memory.rb +19 -3
  14. data/lib/facter/util/parser.rb +13 -5
  15. data/lib/facter/util/processor.rb +2 -0
  16. data/lib/facter/util/resolution.rb +3 -3
  17. data/lib/facter/util/unix_root.rb +5 -0
  18. data/lib/facter/util/windows_root.rb +37 -0
  19. data/lib/facter/version.rb +1 -1
  20. data/lib/facter/virtual.rb +20 -10
  21. data/spec/fixtures/cpuinfo/amd64twentyfour +600 -0
  22. data/spec/fixtures/hpux/machinfo/superdome-server-SD32B +53 -0
  23. data/spec/fixtures/hpux/machinfo/superdome2-16s +31 -0
  24. data/spec/fixtures/processorcount/solaris-psrinfo +24 -0
  25. data/spec/lib/facter_spec/cpuinfo.rb +15 -0
  26. data/spec/unit/architecture_spec.rb +8 -0
  27. data/spec/unit/ec2_spec.rb +1 -1
  28. data/spec/unit/memory_spec.rb +27 -4
  29. data/spec/unit/operatingsystemrelease_spec.rb +2 -2
  30. data/spec/unit/processor_spec.rb +120 -151
  31. data/spec/unit/util/collection_spec.rb +17 -1
  32. data/spec/unit/util/config_spec.rb +9 -0
  33. data/spec/unit/util/ip/windows_spec.rb +34 -2
  34. data/spec/unit/util/loader_spec.rb +1 -1
  35. data/spec/unit/util/parser_spec.rb +65 -51
  36. data/spec/unit/util/processor_spec.rb +7 -8
  37. data/spec/unit/util/resolution_spec.rb +3 -3
  38. data/spec/unit/virtual_spec.rb +18 -0
  39. metadata +491 -478
@@ -209,7 +209,8 @@ describe Facter::Util::Collection do
209
209
  end
210
210
 
211
211
  describe "external facts" do
212
- let(:collection) { Facter::Util::Collection.new(internal_loader, SingleFactLoader.new(:test_fact, "fact value")) }
212
+ let(:external_loader) { SingleFactLoader.new(:test_fact, "fact value") }
213
+ let(:collection) { Facter::Util::Collection.new(internal_loader, external_loader) }
213
214
 
214
215
  it "loads when a specific fact is requested" do
215
216
  collection.fact(:test_fact).value.should == "fact value"
@@ -225,6 +226,21 @@ describe Facter::Util::Collection do
225
226
 
226
227
  facts.should == [["test_fact", "fact value"]]
227
228
  end
229
+
230
+ it "are loaded only once" do
231
+ external_loader.expects(:load).with(collection)
232
+
233
+ collection.load_all
234
+ collection.load_all
235
+ end
236
+
237
+ it "are reloaded after flushing" do
238
+ external_loader.expects(:load).with(collection).twice
239
+
240
+ collection.load_all
241
+ collection.flush
242
+ collection.load_all
243
+ end
228
244
  end
229
245
 
230
246
  class SingleFactLoader
@@ -34,6 +34,10 @@ describe Facter::Util::Config do
34
34
  end
35
35
 
36
36
  describe "external_facts_dirs" do
37
+ before :each do
38
+ Facter::Util::Root.stubs(:root?).returns(true)
39
+ end
40
+
37
41
  it "should return the default value for linux" do
38
42
  Facter::Util::Config.stubs(:is_windows?).returns(false)
39
43
  Facter::Util::Config.stubs(:windows_data_dir).returns(nil)
@@ -51,5 +55,10 @@ describe Facter::Util::Config do
51
55
  Facter::Util::Config.stubs(:windows_data_dir).returns("C:\\Documents")
52
56
  Facter::Util::Config.external_facts_dirs.should == [File.join("C:\\Documents", 'PuppetLabs', 'facter', 'facts.d')]
53
57
  end
58
+
59
+ it "returns the users home directory when not root" do
60
+ Facter::Util::Root.stubs(:root?).returns(false)
61
+ Facter::Util::Config.external_facts_dirs.should == [File.expand_path(File.join("~", ".facter", "facts.d"))]
62
+ end
54
63
  end
55
64
  end
@@ -34,15 +34,47 @@ describe Facter::Util::IP::Windows do
34
34
  let(:name) { 'Local Area Connection' }
35
35
  let(:index) { 7 }
36
36
  let(:nic_config) { mock('nic_config', :Index => index) }
37
- let(:nic) { mock('nic', :NetConnectionId => name ) }
37
+ let(:nic) { stub('nic', :NetConnectionId => name ) }
38
+ let(:nic_empty_NetConnectionId) { stub('nic', :NetConnectionId => '' ) }
39
+ let(:nic_nil_NetConnectionId) { stub('nic', :NetConnectionId => nil ) }
40
+ let(:wmi_query) {"SELECT * FROM Win32_NetworkAdapter WHERE Index = #{index} AND NetEnabled = TRUE"}
38
41
 
39
42
  it "should return an array of only connected interfaces" do
40
43
  Facter::Util::WMI.expects(:execquery).with(Facter::Util::IP::Windows::WMI_IP_INFO_QUERY).
41
44
  returns([nic_config])
42
- Facter::Util::WMI.expects(:execquery).with("SELECT * FROM Win32_NetworkAdapter WHERE Index = #{index}").
45
+ Facter::Util::WMI.expects(:execquery).with(wmi_query).
43
46
  returns([nic])
44
47
 
45
48
  described_class.interfaces.should == [name]
46
49
  end
50
+
51
+ it "should not return an interface with an empty NetConnectionId" do
52
+ Facter::Util::WMI.expects(:execquery).with(Facter::Util::IP::Windows::WMI_IP_INFO_QUERY).
53
+ returns([nic_config])
54
+ Facter::Util::WMI.expects(:execquery).with(wmi_query).
55
+ returns([nic_empty_NetConnectionId])
56
+
57
+ described_class.interfaces.should == []
58
+ end
59
+
60
+ it "should not return an interface with a nil NetConnectionId" do
61
+ Facter::Util::WMI.expects(:execquery).with(Facter::Util::IP::Windows::WMI_IP_INFO_QUERY).
62
+ returns([nic_config])
63
+ Facter::Util::WMI.expects(:execquery).with(wmi_query).
64
+ returns([nic_nil_NetConnectionId])
65
+
66
+ described_class.interfaces.should == []
67
+ end
68
+
69
+ context "when the adapter configuration is enabled but the underlying adapter is not enabled" do
70
+ it "should not return an interface" do
71
+ Facter::Util::WMI.expects(:execquery).with(Facter::Util::IP::Windows::WMI_IP_INFO_QUERY).
72
+ returns([nic_config])
73
+ Facter::Util::WMI.expects(:execquery).with(wmi_query).
74
+ returns([])
75
+
76
+ described_class.interfaces.should == []
77
+ end
78
+ end
47
79
  end
48
80
  end
@@ -315,7 +315,7 @@ describe Facter::Util::Loader do
315
315
  Dir.expects(:entries).with("/one/dir").returns %w{a.rb}
316
316
 
317
317
  Kernel.expects(:load).with("/one/dir/a.rb").raises(LoadError)
318
- @loader.expects(:warn)
318
+ Facter.expects(:warn)
319
319
 
320
320
  lambda { @loader.load_all }.should_not raise_error
321
321
  end
@@ -35,8 +35,8 @@ describe Facter::Util::Parser do
35
35
  let(:data) do {"one" => "two", "three" => "four"} end
36
36
 
37
37
  describe "yaml" do
38
- let(:data_in_yaml) do YAML.dump(data) end
39
- let(:data_file) do "/tmp/foo.yaml" end
38
+ let(:data_in_yaml) { YAML.dump(data) }
39
+ let(:data_file) { "/tmp/foo.yaml" }
40
40
 
41
41
  it "should return a hash of whatever is stored on disk" do
42
42
  File.stubs(:read).with(data_file).returns(data_in_yaml)
@@ -52,8 +52,8 @@ describe Facter::Util::Parser do
52
52
  end
53
53
 
54
54
  describe "json" do
55
- let(:data_in_json) do JSON.dump(data) end
56
- let(:data_file) do "/tmp/foo.json" end
55
+ let(:data_in_json) { JSON.dump(data) }
56
+ let(:data_file) { "/tmp/foo.json" }
57
57
 
58
58
  it "should return a hash of whatever is stored on disk" do
59
59
  pending("this test requires the json library") unless Facter.json?
@@ -63,7 +63,7 @@ describe Facter::Util::Parser do
63
63
  end
64
64
 
65
65
  describe "txt" do
66
- let(:data_file) do "/tmp/foo.txt" end
66
+ let(:data_file) { "/tmp/foo.txt" }
67
67
 
68
68
  shared_examples_for "txt parser" do
69
69
  it "should return a hash of whatever is stored on disk" do
@@ -73,86 +73,100 @@ describe Facter::Util::Parser do
73
73
  end
74
74
 
75
75
  context "well formed data" do
76
- let(:data_in_txt) do "one=two\nthree=four\n" end
76
+ let(:data_in_txt) { "one=two\nthree=four\n" }
77
77
  it_behaves_like "txt parser"
78
78
  end
79
-
79
+
80
80
  context "extra equal sign" do
81
- let(:data_in_txt) do "one=two\nthree=four=five\n" end
81
+ let(:data_in_txt) { "one=two\nthree=four=five\n" }
82
82
  let(:data) do {"one" => "two", "three" => "four=five"} end
83
83
  it_behaves_like "txt parser"
84
84
  end
85
85
 
86
86
  context "extra data" do
87
- let(:data_in_txt) do "one=two\nfive\nthree=four\n" end
87
+ let(:data_in_txt) { "one=two\nfive\nthree=four\n" }
88
88
  it_behaves_like "txt parser"
89
89
  end
90
90
  end
91
91
 
92
92
  describe "scripts" do
93
- let :cmd do "/tmp/foo.sh" end
94
- let :data_in_txt do "one=two\nthree=four\n" end
93
+ let(:ext) { Facter::Util::Config.is_windows? ? '.bat' : '.sh' }
94
+ let(:cmd) { "/tmp/foo#{ext}" }
95
+ let(:data_in_txt) { "one=two\nthree=four\n" }
96
+
97
+ def expects_script_to_return(path, content, result)
98
+ Facter::Util::Resolution.stubs(:exec).with(path).returns(content)
99
+ File.stubs(:executable?).with(path).returns(true)
100
+ File.stubs(:file?).with(path).returns(true)
95
101
 
96
- before :each do
97
- Facter::Util::Resolution.stubs(:exec).with(cmd).returns(data_in_txt)
98
- File.stubs(:executable?).with(cmd).returns(true)
102
+ Facter::Util::Parser.parser_for(path).results.should == result
99
103
  end
100
104
 
101
- it "should return a hash of whatever is returned by the executable" do
102
- pending("this test does not run on windows") if Facter::Util::Config.is_windows?
103
- File.stubs(:file?).with(cmd).returns(true)
104
- Facter::Util::Parser.parser_for(cmd).results.should == data
105
+ def expects_parser_to_return_nil_for_directory(path)
106
+ File.stubs(:file?).with(path).returns(false)
107
+
108
+ Facter::Util::Parser.parser_for(path).results.should be_nil
109
+ end
110
+
111
+ it "returns a hash of whatever is returned by the executable" do
112
+ expects_script_to_return(cmd, data_in_txt, data)
105
113
  end
106
114
 
107
115
  it "should not parse a directory" do
108
- File.stubs(:file?).with(cmd).returns(false)
109
- Facter::Util::Parser.parser_for(cmd).results.should be_nil
116
+ expects_parser_to_return_nil_for_directory(cmd)
110
117
  end
111
118
 
112
- context "on Windows" do
113
- let :cmd do "/tmp/foo.bat" end
119
+ it "returns an empty hash when the script returns nil" do
120
+ expects_script_to_return(cmd, nil, {})
121
+ end
114
122
 
115
- before :each do
116
- Facter::Util::Config.stubs(:is_windows?).returns(true)
117
- end
123
+ it "quotes scripts with spaces" do
124
+ path = "/h a s s p a c e s#{ext}"
125
+
126
+ Facter::Util::Resolution.expects(:exec).with("\"#{path}\"").returns(data_in_txt)
127
+
128
+ expects_script_to_return(path, data_in_txt, data)
129
+ end
130
+
131
+ context "exe, bat, cmd, and com files" do
132
+ let :cmds do ["/tmp/foo.bat", "/tmp/foo.cmd", "/tmp/foo.exe", "/tmp/foo.com"] end
118
133
 
119
- let :parser do
120
- Facter::Util::Parser.parser_for(cmd)
134
+ before :each do
135
+ cmds.each {|cmd|
136
+ File.stubs(:executable?).with(cmd).returns(true)
137
+ File.stubs(:file?).with(cmd).returns(true)
138
+ }
121
139
  end
122
140
 
123
- it "should not parse a directory" do
124
- File.stubs(:file?).with(cmd).returns(false)
125
- Facter::Util::Parser.parser_for(cmd).results.should be_nil
141
+ it "should return nothing parser if not on windows" do
142
+ Facter::Util::Config.stubs(:is_windows?).returns(false)
143
+ cmds.each {|cmd| Facter::Util::Parser.parser_for(cmd).should be_an_instance_of(Facter::Util::Parser::NothingParser) }
126
144
  end
127
145
 
128
- it "should return the data properly" do
129
- File.stubs(:file?).with(cmd).returns(true)
130
- parser.results.should == data
146
+ it "should return script parser if on windows" do
147
+ Facter::Util::Config.stubs(:is_windows?).returns(true)
148
+ cmds.each {|cmd| Facter::Util::Parser.parser_for(cmd).should be_an_instance_of(Facter::Util::Parser::ScriptParser) }
131
149
  end
132
150
  end
133
- end
134
151
 
135
- describe "powershell parser" do
136
- let :ps1 do "/tmp/foo.ps1" end
137
- let :data_in_ps1 do "one=two\nthree=four\n" end
152
+ describe "powershell parser" do
153
+ let(:ps1) { "/tmp/foo.ps1" }
138
154
 
139
- before :each do
140
- Facter::Util::Config.stubs(:is_windows?).returns(true)
141
- Facter::Util::Resolution.stubs(:exec).returns(data_in_ps1)
142
- end
155
+ def expects_to_parse_powershell(cmd, content, result)
156
+ Facter::Util::Config.stubs(:is_windows?).returns(true)
157
+ Facter::Util::Resolution.stubs(:exec).returns(content)
158
+ File.stubs(:file?).with(ps1).returns(true)
143
159
 
144
- let :parser do
145
- Facter::Util::Parser.parser_for(ps1)
146
- end
160
+ Facter::Util::Parser.parser_for(cmd).results.should == result
161
+ end
147
162
 
148
- it "should not parse a directory" do
149
- File.stubs(:file?).with(ps1).returns(false)
150
- Facter::Util::Parser.parser_for(ps1).results.should be_nil
151
- end
163
+ it "should not parse a directory" do
164
+ expects_parser_to_return_nil_for_directory(ps1)
165
+ end
152
166
 
153
- it "should return data properly" do
154
- File.stubs(:file?).with(ps1).returns(true)
155
- parser.results.should == data
167
+ it "should parse output from powershell" do
168
+ expects_to_parse_powershell(ps1, data_in_txt, data)
169
+ end
156
170
  end
157
171
  end
158
172
 
@@ -2,13 +2,12 @@
2
2
 
3
3
  require 'spec_helper'
4
4
  require 'facter/util/processor'
5
-
6
- def cpuinfo_fixture(filename)
7
- File.open(fixtures('cpuinfo', filename)).readlines
8
- end
5
+ require 'facter_spec/cpuinfo'
9
6
 
10
7
  describe Facter::Util::Processor do
11
8
  describe "on linux" do
9
+ include FacterSpec::Cpuinfo
10
+
12
11
  before :each do
13
12
  Facter.fact(:kernel).stubs(:value).returns("Linux")
14
13
  File.stubs(:exists?).with("/proc/cpuinfo").returns(true)
@@ -20,19 +19,19 @@ describe Facter::Util::Processor do
20
19
  end
21
20
 
22
21
  it "should get the processor description from the amd64solo fixture" do
23
- File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture("amd64solo"))
22
+ File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture_readlines("amd64solo"))
24
23
  Facter::Util::Processor.enum_cpuinfo[0].should == "Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz"
25
24
  end
26
25
 
27
26
  it "should get the processor descriptions from the amd64dual fixture" do
28
- File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture("amd64dual"))
27
+ File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture_readlines("amd64dual"))
29
28
 
30
29
  Facter::Util::Processor.enum_cpuinfo[0].should == "Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz"
31
30
  Facter::Util::Processor.enum_cpuinfo[1].should == "Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz"
32
31
  end
33
32
 
34
33
  it "should get the processor descriptions from the amd64tri fixture" do
35
- File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture("amd64tri"))
34
+ File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture_readlines("amd64tri"))
36
35
 
37
36
  Facter::Util::Processor.enum_cpuinfo[0].should == "Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz"
38
37
  Facter::Util::Processor.enum_cpuinfo[1].should == "Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz"
@@ -40,7 +39,7 @@ describe Facter::Util::Processor do
40
39
  end
41
40
 
42
41
  it "should get the processor descriptions from the amd64quad fixture" do
43
- File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture("amd64quad"))
42
+ File.stubs(:readlines).with("/proc/cpuinfo").returns(cpuinfo_fixture_readlines("amd64quad"))
44
43
 
45
44
  Facter::Util::Processor.enum_cpuinfo[0].should == "Quad-Core AMD Opteron(tm) Processor 2374 HE"
46
45
  Facter::Util::Processor.enum_cpuinfo[1].should == "Quad-Core AMD Opteron(tm) Processor 2374 HE"
@@ -240,7 +240,7 @@ describe Facter::Util::Resolution do
240
240
  describe "and the code is a block" do
241
241
  it "should warn but not fail if the code fails" do
242
242
  @resolve.setcode { raise "feh" }
243
- @resolve.expects(:warn)
243
+ Facter.expects(:warn)
244
244
  @resolve.value.should be_nil
245
245
  end
246
246
 
@@ -269,7 +269,7 @@ describe Facter::Util::Resolution do
269
269
  end
270
270
 
271
271
  it "should timeout after the provided timeout" do
272
- @resolve.expects(:warn)
272
+ Facter.expects(:warn)
273
273
  @resolve.timeout = 0.1
274
274
  @resolve.setcode { sleep 2; raise "This is a test" }
275
275
  Thread.expects(:new).yields
@@ -278,7 +278,7 @@ describe Facter::Util::Resolution do
278
278
  end
279
279
 
280
280
  it "should waitall to avoid zombies if the timeout is exceeded" do
281
- @resolve.stubs(:warn)
281
+ Facter.stubs(:warn)
282
282
  @resolve.timeout = 0.1
283
283
  @resolve.setcode { sleep 2; raise "This is a test" }
284
284
 
@@ -304,6 +304,12 @@ describe "Virtual fact" do
304
304
  Facter::Util::WMI.expects(:execquery).returns([computersystem])
305
305
  Facter.fact(:virtual).value.should == "vmware"
306
306
  end
307
+
308
+ it "resolves as Xen with a manufacturer name like xen" do
309
+ computersystem = mock('computersystem', :model => nil, :manufacturer => 'Xen')
310
+ Facter::Util::WMI.expects(:execquery).returns([computersystem])
311
+ Facter.fact(:virtual).value.should == "xen"
312
+ end
307
313
  end
308
314
 
309
315
  describe "with the virt-what command available (#8210)" do
@@ -383,6 +389,12 @@ describe "is_virtual fact" do
383
389
  Facter.fact(:is_virtual).value.should == "true"
384
390
  end
385
391
 
392
+ it "should be true when running on vserver" do
393
+ Facter.fact(:kernel).stubs(:value).returns("Linux")
394
+ Facter.fact(:virtual).stubs(:value).returns("vserver")
395
+ Facter.fact(:is_virtual).value.should == "true"
396
+ end
397
+
386
398
  it "should be true when running on kvm" do
387
399
  Facter.fact(:kernel).stubs(:value).returns("Linux")
388
400
  Facter.fact(:virtual).stubs(:value).returns("kvm")
@@ -432,6 +444,12 @@ describe "is_virtual fact" do
432
444
  Facter.fact(:is_virtual).value.should == "false"
433
445
  end
434
446
 
447
+ it "should be false on vserver host nodes" do
448
+ Facter.fact(:kernel).stubs(:value).returns("Linux")
449
+ Facter.fact(:virtual).stubs(:value).returns("vserver_host")
450
+ Facter.fact(:is_virtual).value.should == "false"
451
+ end
452
+
435
453
  it "should be true when running on hyperv" do
436
454
  Facter.fact(:kernel).stubs(:value).returns("Linux")
437
455
  Facter.fact(:virtual).stubs(:value).returns("hyperv")
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.7.3
5
- prerelease:
4
+ version: 1.7.4.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Puppet Labs
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-09 00:00:00.000000000 Z
12
+ date: 2013-12-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: You can prove anything with facts!
15
15
  email: info@puppetlabs.com
@@ -18,365 +18,373 @@ executables:
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
+ - Rakefile
21
22
  - Gemfile
22
- - CONTRIBUTING.md
23
23
  - LICENSE
24
+ - CONTRIBUTING.md
24
25
  - README.md
25
- - Rakefile
26
26
  - install.rb
27
27
  - bin/facter
28
28
  - etc/facter.conf
29
- - ext/ips/transforms
30
- - ext/ips/rules
31
- - ext/ips/facter.p5m.erb
32
- - ext/project_data.yaml
33
- - ext/build_defaults.yaml
34
- - ext/facter-diff
35
- - ext/solaris/pkginfo
36
- - ext/debian/changelog.erb
37
- - ext/debian/source/format
38
- - ext/debian/rules
39
- - ext/debian/control
40
29
  - ext/debian/copyright
30
+ - ext/debian/docs
31
+ - ext/debian/changelog.erb
41
32
  - ext/debian/compat
42
33
  - ext/debian/lintian-overrides
43
- - ext/debian/docs
44
- - ext/osx/preflight.erb
45
- - ext/osx/file_mapping.yaml
46
- - ext/osx/prototype.plist.erb
34
+ - ext/debian/source/format
35
+ - ext/debian/control
36
+ - ext/debian/rules
47
37
  - ext/redhat/facter.spec.erb
38
+ - ext/ips/rules
39
+ - ext/ips/transforms
40
+ - ext/ips/facter.p5m.erb
41
+ - ext/solaris/pkginfo
42
+ - ext/project_data.yaml
43
+ - ext/osx/prototype.plist.erb
44
+ - ext/osx/file_mapping.yaml
45
+ - ext/osx/preflight.erb
46
+ - ext/facter-diff
47
+ - ext/build_defaults.yaml
48
+ - lib/facter.rb
49
+ - lib/facter/timezone.rb
50
+ - lib/facter/uniqueid.rb
51
+ - lib/facter/lsbdistid.rb
52
+ - lib/facter/interfaces.rb
53
+ - lib/facter/domain.rb
54
+ - lib/facter/rubysitedir.rb
55
+ - lib/facter/ssh.rb
56
+ - lib/facter/ec2.rb
57
+ - lib/facter/virtual.rb
58
+ - lib/facter/kernelversion.rb
59
+ - lib/facter/xendomains.rb
60
+ - lib/facter/facterversion.rb
61
+ - lib/facter/operatingsystem.rb
62
+ - lib/facter/lsbdistrelease.rb
63
+ - lib/facter/fqdn.rb
64
+ - lib/facter/operatingsystemmajrelease.rb
65
+ - lib/facter/rubyversion.rb
66
+ - lib/facter/memory.rb
67
+ - lib/facter/zones.rb
68
+ - lib/facter/uptime_hours.rb
69
+ - lib/facter/ipaddress.rb
70
+ - lib/facter/manufacturer.rb
71
+ - lib/facter/netmask.rb
72
+ - lib/facter/network.rb
73
+ - lib/facter/hostname.rb
74
+ - lib/facter/kernel.rb
75
+ - lib/facter/ipaddress6.rb
76
+ - lib/facter/augeasversion.rb
77
+ - lib/facter/macosx.rb
78
+ - lib/facter/ps.rb
79
+ - lib/facter/uptime.rb
80
+ - lib/facter/iphostnumber.rb
81
+ - lib/facter/zfs_version.rb
82
+ - lib/facter/zonename.rb
83
+ - lib/facter/version.rb
84
+ - lib/facter/hardwaremodel.rb
85
+ - lib/facter/hardwareisa.rb
86
+ - lib/facter/path.rb
87
+ - lib/facter/lsbrelease.rb
88
+ - lib/facter/vlans.rb
89
+ - lib/facter/processor.rb
90
+ - lib/facter/operatingsystemrelease.rb
91
+ - lib/facter/osfamily.rb
92
+ - lib/facter/blockdevices.rb
93
+ - lib/facter/Cfkey.rb
48
94
  - lib/facter/util/loader.rb
49
- - lib/facter/util/uptime.rb
95
+ - lib/facter/util/ec2.rb
50
96
  - lib/facter/util/virtual.rb
51
- - lib/facter/util/netmask.rb
52
- - lib/facter/util/nothing_loader.rb
53
- - lib/facter/util/macaddress.rb
54
- - lib/facter/util/cfpropertylist/README
55
- - lib/facter/util/cfpropertylist/THANKS
56
- - lib/facter/util/cfpropertylist/lib/rbCFTypes.rb
57
- - lib/facter/util/cfpropertylist/lib/rbCFPlistError.rb
58
- - lib/facter/util/cfpropertylist/lib/rbBinaryCFPropertyList.rb
59
- - lib/facter/util/cfpropertylist/lib/rbCFPropertyList.rb
60
- - lib/facter/util/cfpropertylist/lib/rbNokogiriParser.rb
61
- - lib/facter/util/cfpropertylist/lib/rbREXMLParser.rb
62
- - lib/facter/util/cfpropertylist/lib/cfpropertylist.rb
63
- - lib/facter/util/cfpropertylist/lib/rbLibXMLParser.rb
64
- - lib/facter/util/cfpropertylist/LICENSE
65
- - lib/facter/util/cfpropertylist/Rakefile
66
97
  - lib/facter/util/xendomains.rb
67
- - lib/facter/util/wmi.rb
68
- - lib/facter/util/file_read.rb
69
- - lib/facter/util/registry.rb
98
+ - lib/facter/util/cfpropertylist.rb
99
+ - lib/facter/util/memory.rb
100
+ - lib/facter/util/unix_root.rb
101
+ - lib/facter/util/directory_loader.rb
70
102
  - lib/facter/util/values.rb
103
+ - lib/facter/util/manufacturer.rb
104
+ - lib/facter/util/netmask.rb
105
+ - lib/facter/util/ip/windows.rb
71
106
  - lib/facter/util/parser.rb
107
+ - lib/facter/util/nothing_loader.rb
108
+ - lib/facter/util/macosx.rb
109
+ - lib/facter/util/uptime.rb
72
110
  - lib/facter/util/vlans.rb
73
111
  - lib/facter/util/processor.rb
74
- - lib/facter/util/plist.rb
75
- - lib/facter/util/ec2.rb
76
- - lib/facter/util/manufacturer.rb
77
- - lib/facter/util/fact.rb
78
- - lib/facter/util/resolution.rb
79
- - lib/facter/util/collection.rb
80
- - lib/facter/util/memory.rb
81
- - lib/facter/util/ip.rb
82
- - lib/facter/util/solaris_zones.rb
83
- - lib/facter/util/cfpropertylist.rb
84
- - lib/facter/util/ip/windows.rb
85
112
  - lib/facter/util/config.rb
86
- - lib/facter/util/monkey_patches.rb
87
113
  - lib/facter/util/plist/parser.rb
88
114
  - lib/facter/util/plist/generator.rb
89
- - lib/facter/util/directory_loader.rb
90
115
  - lib/facter/util/confine.rb
116
+ - lib/facter/util/monkey_patches.rb
117
+ - lib/facter/util/macaddress.rb
118
+ - lib/facter/util/ip.rb
119
+ - lib/facter/util/cfpropertylist/THANKS
120
+ - lib/facter/util/cfpropertylist/lib/cfpropertylist.rb
121
+ - lib/facter/util/cfpropertylist/lib/rbREXMLParser.rb
122
+ - lib/facter/util/cfpropertylist/lib/rbNokogiriParser.rb
123
+ - lib/facter/util/cfpropertylist/lib/rbLibXMLParser.rb
124
+ - lib/facter/util/cfpropertylist/lib/rbCFPlistError.rb
125
+ - lib/facter/util/cfpropertylist/lib/rbCFTypes.rb
126
+ - lib/facter/util/cfpropertylist/lib/rbCFPropertyList.rb
127
+ - lib/facter/util/cfpropertylist/lib/rbBinaryCFPropertyList.rb
128
+ - lib/facter/util/cfpropertylist/Rakefile
129
+ - lib/facter/util/cfpropertylist/README
130
+ - lib/facter/util/cfpropertylist/LICENSE
131
+ - lib/facter/util/collection.rb
132
+ - lib/facter/util/solaris_zones.rb
133
+ - lib/facter/util/architecture.rb
134
+ - lib/facter/util/registry.rb
135
+ - lib/facter/util/wmi.rb
91
136
  - lib/facter/util/composite_loader.rb
92
- - lib/facter/util/macosx.rb
93
- - lib/facter/lsbrelease.rb
94
- - lib/facter/hardwareisa.rb
95
- - lib/facter/zonename.rb
96
- - lib/facter/lsbdistcodename.rb
97
- - lib/facter/kernelmajversion.rb
98
- - lib/facter/uptime_seconds.rb
99
- - lib/facter/interfaces.rb
100
- - lib/facter/augeasversion.rb
101
- - lib/facter/ipaddress6.rb
102
- - lib/facter/uptime.rb
103
- - lib/facter/virtual.rb
104
- - lib/facter/operatingsystem.rb
105
- - lib/facter/physicalprocessorcount.rb
106
- - lib/facter/ldom.rb
107
- - lib/facter/blockdevices.rb
108
- - lib/facter/netmask.rb
109
- - lib/facter/version.rb
137
+ - lib/facter/util/windows_root.rb
138
+ - lib/facter/util/plist.rb
139
+ - lib/facter/util/file_read.rb
140
+ - lib/facter/util/resolution.rb
141
+ - lib/facter/util/fact.rb
110
142
  - lib/facter/uptime_days.rb
111
- - lib/facter/uptime_hours.rb
112
- - lib/facter/operatingsystemrelease.rb
113
143
  - lib/facter/selinux.rb
114
- - lib/facter/kernelversion.rb
115
144
  - lib/facter/macaddress.rb
116
- - lib/facter/xendomains.rb
117
- - lib/facter/hostname.rb
118
- - lib/facter/rubyversion.rb
119
- - lib/facter/path.rb
120
- - lib/facter/zones.rb
121
- - lib/facter/operatingsystemmajrelease.rb
122
- - lib/facter/vlans.rb
123
- - lib/facter/application.rb
124
- - lib/facter/processor.rb
145
+ - lib/facter/kernelmajversion.rb
146
+ - lib/facter/filesystems.rb
125
147
  - lib/facter/id.rb
126
- - lib/facter/fqdn.rb
127
- - lib/facter/ec2.rb
148
+ - lib/facter/lsbmajdistrelease.rb
128
149
  - lib/facter/architecture.rb
129
- - lib/facter/ssh.rb
130
- - lib/facter/ipaddress.rb
131
- - lib/facter/uniqueid.rb
132
- - lib/facter/manufacturer.rb
133
- - lib/facter/kernel.rb
134
- - lib/facter/kernelrelease.rb
135
- - lib/facter/timezone.rb
136
150
  - lib/facter/puppetversion.rb
137
- - lib/facter/rubysitedir.rb
138
- - lib/facter/facterversion.rb
139
- - lib/facter/filesystems.rb
140
- - lib/facter/lsbdistid.rb
141
- - lib/facter/memory.rb
151
+ - lib/facter/lsbdistcodename.rb
152
+ - lib/facter/uptime_seconds.rb
153
+ - lib/facter/kernelrelease.rb
154
+ - lib/facter/application.rb
155
+ - lib/facter/physicalprocessorcount.rb
156
+ - lib/facter/ldom.rb
142
157
  - lib/facter/lsbdistdescription.rb
143
- - lib/facter/network.rb
144
158
  - lib/facter/zpool_version.rb
145
- - lib/facter/zfs_version.rb
146
- - lib/facter/domain.rb
147
- - lib/facter/lsbdistrelease.rb
148
- - lib/facter/Cfkey.rb
149
- - lib/facter/osfamily.rb
150
- - lib/facter/ps.rb
151
- - lib/facter/hardwaremodel.rb
152
- - lib/facter/macosx.rb
153
- - lib/facter/lsbmajdistrelease.rb
154
- - lib/facter/iphostnumber.rb
155
- - lib/facter.rb
156
159
  - spec/shared_contexts/platform.rb
157
- - spec/integration/facter_spec.rb
158
- - spec/puppetlabs_spec_helper.rb
159
- - spec/puppetlabs_spec/files.rb
160
- - spec/puppetlabs_spec/verbose.rb
161
- - spec/puppetlabs_spec/matchers.rb
162
- - spec/puppetlabs_spec/fixtures.rb
163
- - spec/watchr.rb
164
- - spec/fixtures/cpuinfo/panda-armel
165
- - spec/fixtures/cpuinfo/sparc
166
- - spec/fixtures/cpuinfo/bbg3-armel
167
- - spec/fixtures/cpuinfo/amd64dual
168
- - spec/fixtures/cpuinfo/ppc64
169
- - spec/fixtures/cpuinfo/amd64quad
170
- - spec/fixtures/cpuinfo/amd64tri
171
- - spec/fixtures/cpuinfo/amd64solo
172
- - spec/fixtures/cpuinfo/beaglexm-armel
173
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
174
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
160
+ - spec/fixtures/ifconfig/centos_5_5_eth0
161
+ - spec/fixtures/ifconfig/darwin_9_8_0
162
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
163
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
164
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
165
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
166
+ - spec/fixtures/ifconfig/open_solaris_10
167
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
168
+ - spec/fixtures/ifconfig/centos_5_5
169
+ - spec/fixtures/ifconfig/darwin_10_6_4
170
+ - spec/fixtures/ifconfig/fedora_10
171
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
172
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
173
+ - spec/fixtures/ifconfig/fedora_13
174
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
175
+ - spec/fixtures/ifconfig/fedora_10_eth0
176
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
177
+ - spec/fixtures/ifconfig/ubuntu_7_04
178
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
179
+ - spec/fixtures/ifconfig/darwin_10_3_0
180
+ - spec/fixtures/ifconfig/freebsd_6_0
181
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
182
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
183
+ - spec/fixtures/ifconfig/fedora_13_eth0
184
+ - spec/fixtures/ifconfig/fedora_8
185
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
186
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
187
+ - spec/fixtures/ifconfig/open_solaris_b132
188
+ - spec/fixtures/ifconfig/fedora_8_eth0
189
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
190
+ - spec/fixtures/hpux/unistd.h
191
+ - spec/fixtures/hpux/sched.models
175
192
  - spec/fixtures/hpux/machinfo/ia64-rx6600
176
- - spec/fixtures/hpux/machinfo/ia64-rx2620
177
193
  - spec/fixtures/hpux/machinfo/ia64-rx8640
178
194
  - spec/fixtures/hpux/machinfo/hppa-rp4440
179
- - spec/fixtures/hpux/sched.models
180
- - spec/fixtures/hpux/unistd.h
181
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
182
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
183
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
184
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
195
+ - spec/fixtures/hpux/machinfo/superdome-server-SD32B
196
+ - spec/fixtures/hpux/machinfo/superdome2-16s
197
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
185
198
  - spec/fixtures/ldom/ldom_v1
186
- - spec/fixtures/unit/util/xendomains/xendomains
199
+ - spec/fixtures/netstat/darwin_9_8_0
200
+ - spec/fixtures/netstat/open_solaris_10
201
+ - spec/fixtures/netstat/centos_5_5
202
+ - spec/fixtures/netstat/darwin_10_6_4
203
+ - spec/fixtures/netstat/fedora_10
204
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
205
+ - spec/fixtures/netstat/ubuntu_7_04
206
+ - spec/fixtures/netstat/darwin_10_3_0
207
+ - spec/fixtures/netstat/open_solaris_b132
208
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
209
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
210
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
211
+ - spec/fixtures/unit/zfs_version/solaris_10
212
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
213
+ - spec/fixtures/unit/zfs_version/freebsd_9.0
214
+ - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
215
+ - spec/fixtures/unit/zfs_version/solaris_11
216
+ - spec/fixtures/unit/filesystems/linux
187
217
  - spec/fixtures/unit/util/vlans/linux_vlan_config
188
- - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
189
- - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
190
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
191
- - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
192
- - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
193
- - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
218
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
219
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
220
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
221
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
194
222
  - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
195
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
223
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
196
224
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
197
225
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
198
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
199
226
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
200
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
201
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
202
- - spec/fixtures/unit/util/loader/nosuchfact.rb
203
- - spec/fixtures/unit/util/processor/solaris-i86pc
204
- - spec/fixtures/unit/util/processor/x86-pentium2
205
- - spec/fixtures/unit/util/processor/solaris-sun4u
227
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
206
228
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
207
- - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
208
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
209
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
210
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
211
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
212
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
213
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
214
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
215
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
216
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
217
229
  - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
218
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
219
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
220
- - spec/fixtures/unit/util/ip/hpux_1111_lanscan
221
230
  - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
222
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
223
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
224
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
225
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
226
231
  - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
227
- - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
228
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
229
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
230
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
231
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
232
- - spec/fixtures/unit/util/ip/hpux_1131_lanscan
233
232
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
233
+ - spec/fixtures/unit/util/ip/hpux_1131_lanscan
234
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
235
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
236
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
237
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
234
238
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
235
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
236
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
239
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
237
240
  - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
238
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
239
241
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
242
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
243
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
244
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
245
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
240
246
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
247
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
248
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
249
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
241
250
  - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
242
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
243
- - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
244
- - spec/fixtures/unit/util/uptime/kstat_boot_time
245
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
246
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
247
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
248
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
249
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
250
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
251
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
252
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
253
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
254
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
255
- - spec/fixtures/unit/zfs_version/freebsd_9.0
256
- - spec/fixtures/unit/zfs_version/freebsd_8.2
257
- - spec/fixtures/unit/zfs_version/solaris_11
258
- - spec/fixtures/unit/zfs_version/solaris_10
259
- - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
260
- - spec/fixtures/unit/filesystems/linux
261
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
262
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
263
- - spec/fixtures/unit/zpool_version/freebsd_9.0
264
- - spec/fixtures/unit/zpool_version/freebsd_8.2
265
- - spec/fixtures/unit/zpool_version/solaris_11
266
- - spec/fixtures/unit/zpool_version/solaris_10
267
- - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
268
- - spec/fixtures/unit/selinux/selinux_sestatus
269
- - spec/fixtures/ifconfig/fedora_8
270
- - spec/fixtures/ifconfig/darwin_10_6_4
271
- - spec/fixtures/ifconfig/fedora_13
272
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
273
- - spec/fixtures/ifconfig/fedora_13_eth0
274
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
275
- - spec/fixtures/ifconfig/fedora_10_eth0
276
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
277
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
278
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
279
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
280
- - spec/fixtures/ifconfig/fedora_8_eth0
281
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
282
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
283
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
284
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
285
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
286
- - spec/fixtures/ifconfig/fedora_10
287
- - spec/fixtures/ifconfig/centos_5_5
288
- - spec/fixtures/ifconfig/darwin_10_3_0
289
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
290
- - spec/fixtures/ifconfig/freebsd_6_0
291
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
292
- - spec/fixtures/ifconfig/centos_5_5_eth0
293
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
294
- - spec/fixtures/ifconfig/open_solaris_10
295
- - spec/fixtures/ifconfig/darwin_9_8_0
296
- - spec/fixtures/ifconfig/open_solaris_b132
297
- - spec/fixtures/ifconfig/ubuntu_7_04
298
- - spec/fixtures/ifconfig/linux_ifconfig_venet
299
- - spec/fixtures/netstat/darwin_10_6_4
300
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
301
- - spec/fixtures/netstat/fedora_10
302
- - spec/fixtures/netstat/centos_5_5
303
- - spec/fixtures/netstat/darwin_10_3_0
304
- - spec/fixtures/netstat/open_solaris_10
305
- - spec/fixtures/netstat/darwin_9_8_0
306
- - spec/fixtures/netstat/open_solaris_b132
307
- - spec/fixtures/netstat/ubuntu_7_04
251
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
252
+ - spec/fixtures/unit/util/ip/hpux_1111_lanscan
253
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
254
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
255
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
256
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
257
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
258
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
259
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
260
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
261
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
262
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
263
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
264
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
265
+ - spec/fixtures/unit/util/processor/solaris-i86pc
266
+ - spec/fixtures/unit/util/processor/solaris-sun4u
267
+ - spec/fixtures/unit/util/processor/x86-pentium2
268
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
269
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
270
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
271
+ - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
272
+ - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
273
+ - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
274
+ - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
275
+ - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
276
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
277
+ - spec/fixtures/unit/util/xendomains/xendomains
278
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
279
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
280
+ - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
281
+ - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
282
+ - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
283
+ - spec/fixtures/unit/selinux/selinux_sestatus
284
+ - spec/fixtures/unit/zpool_version/solaris_10
285
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
286
+ - spec/fixtures/unit/zpool_version/freebsd_9.0
287
+ - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
288
+ - spec/fixtures/unit/zpool_version/solaris_11
289
+ - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
290
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
291
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
292
+ - spec/fixtures/processorcount/solaris-psrinfo
293
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
294
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
295
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
296
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
297
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
298
+ - spec/fixtures/cpuinfo/sparc
299
+ - spec/fixtures/cpuinfo/beaglexm-armel
300
+ - spec/fixtures/cpuinfo/amd64tri
301
+ - spec/fixtures/cpuinfo/ppc64
302
+ - spec/fixtures/cpuinfo/panda-armel
303
+ - spec/fixtures/cpuinfo/amd64twentyfour
304
+ - spec/fixtures/cpuinfo/bbg3-armel
305
+ - spec/fixtures/cpuinfo/amd64quad
306
+ - spec/fixtures/cpuinfo/amd64dual
307
+ - spec/fixtures/cpuinfo/amd64solo
308
+ - spec/puppetlabs_spec/fixtures.rb
309
+ - spec/puppetlabs_spec/matchers.rb
310
+ - spec/puppetlabs_spec/verbose.rb
311
+ - spec/puppetlabs_spec/files.rb
312
+ - spec/lib/facter_spec/cpuinfo.rb
308
313
  - spec/lib/facter_spec/windows_network.rb
309
- - spec/shared_formats/parses.rb
314
+ - spec/unit/operatingsystemrelease_spec.rb
315
+ - spec/unit/lsbdistid_spec.rb
316
+ - spec/unit/facter_spec.rb
317
+ - spec/unit/ec2_spec.rb
318
+ - spec/unit/interfaces_spec.rb
319
+ - spec/unit/blockdevices_spec.rb
320
+ - spec/unit/lsbdistrelease_spec.rb
321
+ - spec/unit/ipaddress6_spec.rb
322
+ - spec/unit/ldom_spec.rb
323
+ - spec/unit/uniqueid_spec.rb
324
+ - spec/unit/selinux_spec.rb
325
+ - spec/unit/kernelrelease_spec.rb
326
+ - spec/unit/kernelversion_spec.rb
327
+ - spec/unit/architecture_spec.rb
328
+ - spec/unit/netmask_spec.rb
329
+ - spec/unit/ssh_spec.rb
330
+ - spec/unit/id_spec.rb
331
+ - spec/unit/application_spec.rb
332
+ - spec/unit/hardwareisa_spec.rb
333
+ - spec/unit/kernel_spec.rb
334
+ - spec/unit/processor_spec.rb
335
+ - spec/unit/lsbmajdistrelease_spec.rb
336
+ - spec/unit/virtual_spec.rb
337
+ - spec/unit/ps_spec.rb
338
+ - spec/unit/zfs_version_spec.rb
339
+ - spec/unit/hostname_spec.rb
340
+ - spec/unit/memory_spec.rb
341
+ - spec/unit/domain_spec.rb
342
+ - spec/unit/operatingsystemmajrelease_spec.rb
343
+ - spec/unit/util/ec2_spec.rb
344
+ - spec/unit/util/wmi_spec.rb
310
345
  - spec/unit/util/parser_spec.rb
346
+ - spec/unit/util/ip_spec.rb
347
+ - spec/unit/util/ip/windows_spec.rb
348
+ - spec/unit/util/solaris_zones_spec.rb
349
+ - spec/unit/util/directory_loader_spec.rb
350
+ - spec/unit/util/processor_spec.rb
311
351
  - spec/unit/util/virtual_spec.rb
312
352
  - spec/unit/util/monkey_patches_spec.rb
313
- - spec/unit/util/collection_spec.rb
314
- - spec/unit/util/ip_spec.rb
315
- - spec/unit/util/wmi_spec.rb
316
- - spec/unit/util/manufacturer_spec.rb
317
- - spec/unit/util/ec2_spec.rb
353
+ - spec/unit/util/loader_spec.rb
318
354
  - spec/unit/util/confine_spec.rb
319
- - spec/unit/util/registry_spec.rb
320
- - spec/unit/util/directory_loader_spec.rb
355
+ - spec/unit/util/xendomains_spec.rb
321
356
  - spec/unit/util/config_spec.rb
322
- - spec/unit/util/processor_spec.rb
357
+ - spec/unit/util/manufacturer_spec.rb
323
358
  - spec/unit/util/file_read_spec.rb
324
- - spec/unit/util/vlans_spec.rb
325
- - spec/unit/util/loader_spec.rb
359
+ - spec/unit/util/uptime_spec.rb
360
+ - spec/unit/util/registry_spec.rb
326
361
  - spec/unit/util/fact_spec.rb
327
- - spec/unit/util/solaris_zones_spec.rb
328
- - spec/unit/util/resolution_spec.rb
362
+ - spec/unit/util/vlans_spec.rb
329
363
  - spec/unit/util/macaddress_spec.rb
330
364
  - spec/unit/util/macosx_spec.rb
331
- - spec/unit/util/uptime_spec.rb
332
- - spec/unit/util/xendomains_spec.rb
333
- - spec/unit/util/ip/windows_spec.rb
334
- - spec/unit/virtual_spec.rb
335
- - spec/unit/operatingsystemrelease_spec.rb
336
- - spec/unit/kernelversion_spec.rb
337
- - spec/unit/operatingsystem_spec.rb
338
- - spec/unit/lsbrelease_spec.rb
339
- - spec/unit/zfs_version_spec.rb
340
- - spec/unit/ipaddress6_spec.rb
365
+ - spec/unit/util/collection_spec.rb
366
+ - spec/unit/util/resolution_spec.rb
367
+ - spec/unit/version_spec.rb
341
368
  - spec/unit/lsbdistcodename_spec.rb
342
369
  - spec/unit/manufacturer_spec.rb
343
- - spec/unit/ipaddress_spec.rb
344
- - spec/unit/ec2_spec.rb
345
- - spec/unit/operatingsystemmajrelease_spec.rb
346
- - spec/unit/hostname_spec.rb
347
- - spec/unit/id_spec.rb
348
- - spec/unit/lsbdistrelease_spec.rb
370
+ - spec/unit/uptime_spec.rb
349
371
  - spec/unit/filesystems_spec.rb
350
- - spec/unit/version_spec.rb
351
- - spec/unit/application_spec.rb
352
- - spec/unit/blockdevices_spec.rb
353
- - spec/unit/hardwareisa_spec.rb
354
- - spec/unit/processor_spec.rb
355
372
  - spec/unit/hardwaremodel_spec.rb
356
- - spec/unit/interfaces_spec.rb
357
- - spec/unit/zpool_version_spec.rb
358
- - spec/unit/memory_spec.rb
359
- - spec/unit/netmask_spec.rb
360
- - spec/unit/lsbdistid_spec.rb
361
- - spec/unit/zonename_spec.rb
362
- - spec/unit/uniqueid_spec.rb
363
- - spec/unit/physicalprocessorcount_spec.rb
364
- - spec/unit/lsbmajdistrelease_spec.rb
365
- - spec/unit/architecture_spec.rb
366
- - spec/unit/macaddress_spec.rb
367
- - spec/unit/kernelrelease_spec.rb
368
- - spec/unit/ldom_spec.rb
369
- - spec/unit/uptime_spec.rb
370
- - spec/unit/selinux_spec.rb
371
- - spec/unit/kernel_spec.rb
373
+ - spec/unit/ipaddress_spec.rb
372
374
  - spec/unit/kernelmajversion_spec.rb
373
- - spec/unit/ssh_spec.rb
374
- - spec/unit/domain_spec.rb
375
375
  - spec/unit/zones_spec.rb
376
- - spec/unit/facter_spec.rb
376
+ - spec/unit/physicalprocessorcount_spec.rb
377
+ - spec/unit/lsbrelease_spec.rb
377
378
  - spec/unit/lsbdistdescription_spec.rb
378
- - spec/unit/ps_spec.rb
379
+ - spec/unit/macaddress_spec.rb
380
+ - spec/unit/operatingsystem_spec.rb
381
+ - spec/unit/zpool_version_spec.rb
382
+ - spec/unit/zonename_spec.rb
383
+ - spec/puppetlabs_spec_helper.rb
384
+ - spec/integration/facter_spec.rb
379
385
  - spec/spec_helper.rb
386
+ - spec/watchr.rb
387
+ - spec/shared_formats/parses.rb
380
388
  homepage: https://github.com/puppetlabs/facter
381
389
  licenses: []
382
390
  post_install_message:
@@ -392,9 +400,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
392
400
  required_rubygems_version: !ruby/object:Gem::Requirement
393
401
  none: false
394
402
  requirements:
395
- - - ! '>='
403
+ - - ! '>'
396
404
  - !ruby/object:Gem::Version
397
- version: '0'
405
+ version: 1.3.1
398
406
  requirements: []
399
407
  rubyforge_project:
400
408
  rubygems_version: 1.8.23
@@ -403,226 +411,231 @@ specification_version: 3
403
411
  summary: Facter, a system inventory tool
404
412
  test_files:
405
413
  - spec/shared_contexts/platform.rb
406
- - spec/integration/facter_spec.rb
407
- - spec/puppetlabs_spec_helper.rb
408
- - spec/puppetlabs_spec/files.rb
409
- - spec/puppetlabs_spec/verbose.rb
410
- - spec/puppetlabs_spec/matchers.rb
411
- - spec/puppetlabs_spec/fixtures.rb
412
- - spec/watchr.rb
413
- - spec/fixtures/cpuinfo/panda-armel
414
- - spec/fixtures/cpuinfo/sparc
415
- - spec/fixtures/cpuinfo/bbg3-armel
416
- - spec/fixtures/cpuinfo/amd64dual
417
- - spec/fixtures/cpuinfo/ppc64
418
- - spec/fixtures/cpuinfo/amd64quad
419
- - spec/fixtures/cpuinfo/amd64tri
420
- - spec/fixtures/cpuinfo/amd64solo
421
- - spec/fixtures/cpuinfo/beaglexm-armel
422
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
423
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
414
+ - spec/fixtures/ifconfig/centos_5_5_eth0
415
+ - spec/fixtures/ifconfig/darwin_9_8_0
416
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
417
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
418
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
419
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
420
+ - spec/fixtures/ifconfig/open_solaris_10
421
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
422
+ - spec/fixtures/ifconfig/centos_5_5
423
+ - spec/fixtures/ifconfig/darwin_10_6_4
424
+ - spec/fixtures/ifconfig/fedora_10
425
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
426
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
427
+ - spec/fixtures/ifconfig/fedora_13
428
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
429
+ - spec/fixtures/ifconfig/fedora_10_eth0
430
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
431
+ - spec/fixtures/ifconfig/ubuntu_7_04
432
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
433
+ - spec/fixtures/ifconfig/darwin_10_3_0
434
+ - spec/fixtures/ifconfig/freebsd_6_0
435
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
436
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
437
+ - spec/fixtures/ifconfig/fedora_13_eth0
438
+ - spec/fixtures/ifconfig/fedora_8
439
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
440
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
441
+ - spec/fixtures/ifconfig/open_solaris_b132
442
+ - spec/fixtures/ifconfig/fedora_8_eth0
443
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
444
+ - spec/fixtures/hpux/unistd.h
445
+ - spec/fixtures/hpux/sched.models
424
446
  - spec/fixtures/hpux/machinfo/ia64-rx6600
425
- - spec/fixtures/hpux/machinfo/ia64-rx2620
426
447
  - spec/fixtures/hpux/machinfo/ia64-rx8640
427
448
  - spec/fixtures/hpux/machinfo/hppa-rp4440
428
- - spec/fixtures/hpux/sched.models
429
- - spec/fixtures/hpux/unistd.h
430
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
431
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
432
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
433
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
449
+ - spec/fixtures/hpux/machinfo/superdome-server-SD32B
450
+ - spec/fixtures/hpux/machinfo/superdome2-16s
451
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
434
452
  - spec/fixtures/ldom/ldom_v1
435
- - spec/fixtures/unit/util/xendomains/xendomains
453
+ - spec/fixtures/netstat/darwin_9_8_0
454
+ - spec/fixtures/netstat/open_solaris_10
455
+ - spec/fixtures/netstat/centos_5_5
456
+ - spec/fixtures/netstat/darwin_10_6_4
457
+ - spec/fixtures/netstat/fedora_10
458
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
459
+ - spec/fixtures/netstat/ubuntu_7_04
460
+ - spec/fixtures/netstat/darwin_10_3_0
461
+ - spec/fixtures/netstat/open_solaris_b132
462
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
463
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
464
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
465
+ - spec/fixtures/unit/zfs_version/solaris_10
466
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
467
+ - spec/fixtures/unit/zfs_version/freebsd_9.0
468
+ - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
469
+ - spec/fixtures/unit/zfs_version/solaris_11
470
+ - spec/fixtures/unit/filesystems/linux
436
471
  - spec/fixtures/unit/util/vlans/linux_vlan_config
437
- - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
438
- - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
439
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
440
- - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
441
- - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
442
- - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
472
+ - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
473
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
474
+ - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
475
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
443
476
  - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
444
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
477
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
445
478
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
446
479
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
447
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
448
480
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
449
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
450
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
451
- - spec/fixtures/unit/util/loader/nosuchfact.rb
452
- - spec/fixtures/unit/util/processor/solaris-i86pc
453
- - spec/fixtures/unit/util/processor/x86-pentium2
454
- - spec/fixtures/unit/util/processor/solaris-sun4u
455
- - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
456
- - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
457
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
458
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
459
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
460
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
461
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
462
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
463
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
464
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
465
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
481
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
482
+ - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
466
483
  - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
467
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
468
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
469
- - spec/fixtures/unit/util/ip/hpux_1111_lanscan
470
484
  - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
471
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
472
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
473
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
474
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
475
485
  - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
476
- - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
477
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
478
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
479
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
480
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
481
- - spec/fixtures/unit/util/ip/hpux_1131_lanscan
482
486
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
487
+ - spec/fixtures/unit/util/ip/hpux_1131_lanscan
488
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
489
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
490
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
491
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
483
492
  - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
484
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
485
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
493
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
486
494
  - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
487
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
488
495
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
496
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
497
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
498
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
499
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
489
500
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
501
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
502
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
503
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
490
504
  - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
491
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
492
- - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
493
- - spec/fixtures/unit/util/uptime/kstat_boot_time
494
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
495
- - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
496
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
497
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
498
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
505
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
506
+ - spec/fixtures/unit/util/ip/hpux_1111_lanscan
507
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
508
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
509
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
510
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
511
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
512
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
513
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
514
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
515
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
516
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
517
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
518
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
519
+ - spec/fixtures/unit/util/processor/solaris-i86pc
520
+ - spec/fixtures/unit/util/processor/solaris-sun4u
521
+ - spec/fixtures/unit/util/processor/x86-pentium2
522
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
523
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
524
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
525
+ - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
526
+ - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
527
+ - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
528
+ - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
529
+ - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
530
+ - spec/fixtures/unit/util/loader/nosuchfact.rb
531
+ - spec/fixtures/unit/util/xendomains/xendomains
532
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
533
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
499
534
  - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
500
535
  - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
501
536
  - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
502
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
503
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
504
- - spec/fixtures/unit/zfs_version/freebsd_9.0
505
- - spec/fixtures/unit/zfs_version/freebsd_8.2
506
- - spec/fixtures/unit/zfs_version/solaris_11
507
- - spec/fixtures/unit/zfs_version/solaris_10
508
- - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
509
- - spec/fixtures/unit/filesystems/linux
510
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
511
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
512
- - spec/fixtures/unit/zpool_version/freebsd_9.0
513
- - spec/fixtures/unit/zpool_version/freebsd_8.2
514
- - spec/fixtures/unit/zpool_version/solaris_11
537
+ - spec/fixtures/unit/selinux/selinux_sestatus
515
538
  - spec/fixtures/unit/zpool_version/solaris_10
539
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
540
+ - spec/fixtures/unit/zpool_version/freebsd_9.0
516
541
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
517
- - spec/fixtures/unit/selinux/selinux_sestatus
518
- - spec/fixtures/ifconfig/fedora_8
519
- - spec/fixtures/ifconfig/darwin_10_6_4
520
- - spec/fixtures/ifconfig/fedora_13
521
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
522
- - spec/fixtures/ifconfig/fedora_13_eth0
523
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
524
- - spec/fixtures/ifconfig/fedora_10_eth0
525
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
526
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
527
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
528
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
529
- - spec/fixtures/ifconfig/fedora_8_eth0
530
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
531
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
532
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
533
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
534
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
535
- - spec/fixtures/ifconfig/fedora_10
536
- - spec/fixtures/ifconfig/centos_5_5
537
- - spec/fixtures/ifconfig/darwin_10_3_0
538
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
539
- - spec/fixtures/ifconfig/freebsd_6_0
540
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
541
- - spec/fixtures/ifconfig/centos_5_5_eth0
542
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
543
- - spec/fixtures/ifconfig/open_solaris_10
544
- - spec/fixtures/ifconfig/darwin_9_8_0
545
- - spec/fixtures/ifconfig/open_solaris_b132
546
- - spec/fixtures/ifconfig/ubuntu_7_04
547
- - spec/fixtures/ifconfig/linux_ifconfig_venet
548
- - spec/fixtures/netstat/darwin_10_6_4
549
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
550
- - spec/fixtures/netstat/fedora_10
551
- - spec/fixtures/netstat/centos_5_5
552
- - spec/fixtures/netstat/darwin_10_3_0
553
- - spec/fixtures/netstat/open_solaris_10
554
- - spec/fixtures/netstat/darwin_9_8_0
555
- - spec/fixtures/netstat/open_solaris_b132
556
- - spec/fixtures/netstat/ubuntu_7_04
542
+ - spec/fixtures/unit/zpool_version/solaris_11
543
+ - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
544
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
545
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
546
+ - spec/fixtures/processorcount/solaris-psrinfo
547
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
548
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
549
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
550
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
551
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
552
+ - spec/fixtures/cpuinfo/sparc
553
+ - spec/fixtures/cpuinfo/beaglexm-armel
554
+ - spec/fixtures/cpuinfo/amd64tri
555
+ - spec/fixtures/cpuinfo/ppc64
556
+ - spec/fixtures/cpuinfo/panda-armel
557
+ - spec/fixtures/cpuinfo/amd64twentyfour
558
+ - spec/fixtures/cpuinfo/bbg3-armel
559
+ - spec/fixtures/cpuinfo/amd64quad
560
+ - spec/fixtures/cpuinfo/amd64dual
561
+ - spec/fixtures/cpuinfo/amd64solo
562
+ - spec/puppetlabs_spec/fixtures.rb
563
+ - spec/puppetlabs_spec/matchers.rb
564
+ - spec/puppetlabs_spec/verbose.rb
565
+ - spec/puppetlabs_spec/files.rb
566
+ - spec/lib/facter_spec/cpuinfo.rb
557
567
  - spec/lib/facter_spec/windows_network.rb
558
- - spec/shared_formats/parses.rb
568
+ - spec/unit/operatingsystemrelease_spec.rb
569
+ - spec/unit/lsbdistid_spec.rb
570
+ - spec/unit/facter_spec.rb
571
+ - spec/unit/ec2_spec.rb
572
+ - spec/unit/interfaces_spec.rb
573
+ - spec/unit/blockdevices_spec.rb
574
+ - spec/unit/lsbdistrelease_spec.rb
575
+ - spec/unit/ipaddress6_spec.rb
576
+ - spec/unit/ldom_spec.rb
577
+ - spec/unit/uniqueid_spec.rb
578
+ - spec/unit/selinux_spec.rb
579
+ - spec/unit/kernelrelease_spec.rb
580
+ - spec/unit/kernelversion_spec.rb
581
+ - spec/unit/architecture_spec.rb
582
+ - spec/unit/netmask_spec.rb
583
+ - spec/unit/ssh_spec.rb
584
+ - spec/unit/id_spec.rb
585
+ - spec/unit/application_spec.rb
586
+ - spec/unit/hardwareisa_spec.rb
587
+ - spec/unit/kernel_spec.rb
588
+ - spec/unit/processor_spec.rb
589
+ - spec/unit/lsbmajdistrelease_spec.rb
590
+ - spec/unit/virtual_spec.rb
591
+ - spec/unit/ps_spec.rb
592
+ - spec/unit/zfs_version_spec.rb
593
+ - spec/unit/hostname_spec.rb
594
+ - spec/unit/memory_spec.rb
595
+ - spec/unit/domain_spec.rb
596
+ - spec/unit/operatingsystemmajrelease_spec.rb
597
+ - spec/unit/util/ec2_spec.rb
598
+ - spec/unit/util/wmi_spec.rb
559
599
  - spec/unit/util/parser_spec.rb
600
+ - spec/unit/util/ip_spec.rb
601
+ - spec/unit/util/ip/windows_spec.rb
602
+ - spec/unit/util/solaris_zones_spec.rb
603
+ - spec/unit/util/directory_loader_spec.rb
604
+ - spec/unit/util/processor_spec.rb
560
605
  - spec/unit/util/virtual_spec.rb
561
606
  - spec/unit/util/monkey_patches_spec.rb
562
- - spec/unit/util/collection_spec.rb
563
- - spec/unit/util/ip_spec.rb
564
- - spec/unit/util/wmi_spec.rb
565
- - spec/unit/util/manufacturer_spec.rb
566
- - spec/unit/util/ec2_spec.rb
607
+ - spec/unit/util/loader_spec.rb
567
608
  - spec/unit/util/confine_spec.rb
568
- - spec/unit/util/registry_spec.rb
569
- - spec/unit/util/directory_loader_spec.rb
609
+ - spec/unit/util/xendomains_spec.rb
570
610
  - spec/unit/util/config_spec.rb
571
- - spec/unit/util/processor_spec.rb
611
+ - spec/unit/util/manufacturer_spec.rb
572
612
  - spec/unit/util/file_read_spec.rb
573
- - spec/unit/util/vlans_spec.rb
574
- - spec/unit/util/loader_spec.rb
613
+ - spec/unit/util/uptime_spec.rb
614
+ - spec/unit/util/registry_spec.rb
575
615
  - spec/unit/util/fact_spec.rb
576
- - spec/unit/util/solaris_zones_spec.rb
577
- - spec/unit/util/resolution_spec.rb
616
+ - spec/unit/util/vlans_spec.rb
578
617
  - spec/unit/util/macaddress_spec.rb
579
618
  - spec/unit/util/macosx_spec.rb
580
- - spec/unit/util/uptime_spec.rb
581
- - spec/unit/util/xendomains_spec.rb
582
- - spec/unit/util/ip/windows_spec.rb
583
- - spec/unit/virtual_spec.rb
584
- - spec/unit/operatingsystemrelease_spec.rb
585
- - spec/unit/kernelversion_spec.rb
586
- - spec/unit/operatingsystem_spec.rb
587
- - spec/unit/lsbrelease_spec.rb
588
- - spec/unit/zfs_version_spec.rb
589
- - spec/unit/ipaddress6_spec.rb
619
+ - spec/unit/util/collection_spec.rb
620
+ - spec/unit/util/resolution_spec.rb
621
+ - spec/unit/version_spec.rb
590
622
  - spec/unit/lsbdistcodename_spec.rb
591
623
  - spec/unit/manufacturer_spec.rb
592
- - spec/unit/ipaddress_spec.rb
593
- - spec/unit/ec2_spec.rb
594
- - spec/unit/operatingsystemmajrelease_spec.rb
595
- - spec/unit/hostname_spec.rb
596
- - spec/unit/id_spec.rb
597
- - spec/unit/lsbdistrelease_spec.rb
624
+ - spec/unit/uptime_spec.rb
598
625
  - spec/unit/filesystems_spec.rb
599
- - spec/unit/version_spec.rb
600
- - spec/unit/application_spec.rb
601
- - spec/unit/blockdevices_spec.rb
602
- - spec/unit/hardwareisa_spec.rb
603
- - spec/unit/processor_spec.rb
604
626
  - spec/unit/hardwaremodel_spec.rb
605
- - spec/unit/interfaces_spec.rb
606
- - spec/unit/zpool_version_spec.rb
607
- - spec/unit/memory_spec.rb
608
- - spec/unit/netmask_spec.rb
609
- - spec/unit/lsbdistid_spec.rb
610
- - spec/unit/zonename_spec.rb
611
- - spec/unit/uniqueid_spec.rb
612
- - spec/unit/physicalprocessorcount_spec.rb
613
- - spec/unit/lsbmajdistrelease_spec.rb
614
- - spec/unit/architecture_spec.rb
615
- - spec/unit/macaddress_spec.rb
616
- - spec/unit/kernelrelease_spec.rb
617
- - spec/unit/ldom_spec.rb
618
- - spec/unit/uptime_spec.rb
619
- - spec/unit/selinux_spec.rb
620
- - spec/unit/kernel_spec.rb
627
+ - spec/unit/ipaddress_spec.rb
621
628
  - spec/unit/kernelmajversion_spec.rb
622
- - spec/unit/ssh_spec.rb
623
- - spec/unit/domain_spec.rb
624
629
  - spec/unit/zones_spec.rb
625
- - spec/unit/facter_spec.rb
630
+ - spec/unit/physicalprocessorcount_spec.rb
631
+ - spec/unit/lsbrelease_spec.rb
626
632
  - spec/unit/lsbdistdescription_spec.rb
627
- - spec/unit/ps_spec.rb
633
+ - spec/unit/macaddress_spec.rb
634
+ - spec/unit/operatingsystem_spec.rb
635
+ - spec/unit/zpool_version_spec.rb
636
+ - spec/unit/zonename_spec.rb
637
+ - spec/puppetlabs_spec_helper.rb
638
+ - spec/integration/facter_spec.rb
628
639
  - spec/spec_helper.rb
640
+ - spec/watchr.rb
641
+ - spec/shared_formats/parses.rb