facter 2.4.6-universal-darwin → 2.5.0-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
- require 'win32/security'
1
+ require 'facter/util/windows'
2
2
 
3
3
  module Facter::Util::Root
4
4
  def self.root?
5
- Win32::Security.elevated_security?
5
+ Facter::Util::Windows::User.admin?
6
6
  end
7
7
  end
@@ -1,10 +1,28 @@
1
1
  module Facter::Util::WMI
2
2
  class << self
3
- def connect(uri = wmi_resource_uri)
3
+
4
+ # Impersonation Level Constants
5
+ # https://msdn.microsoft.com/en-us/library/windows/desktop/ms693790%28v=vs.85%29.aspx
6
+ RPC_C_IMP_LEVEL_DEFAULT = 0
7
+ RPC_C_IMP_LEVEL_ANONYMOUS = 1
8
+ RPC_C_IMP_LEVEL_IDENTIFY = 2
9
+ RPC_C_IMP_LEVEL_IMPERSONATE = 3
10
+ RPC_C_IMP_LEVEL_DELEGATE = 4
11
+
12
+ # returns a COM class implementing ISWbemServicesEx
13
+ # prior to Facter 2.5.0, this defaulted to using a moniker
14
+ # but now defaults to using COM classes directly to support Nano
15
+ # backward compatibility is maintained in case custom facts specified a moniker
16
+ # but note that passing in the uri parameter can never work on Nano
17
+ def connect(uri = nil)
4
18
  require 'win32ole'
5
- WIN32OLE.connect(uri)
19
+ uri.nil? ?
20
+ connect2() :
21
+ # NOTE: in the future it would be better to parse a given moniker uri / call connect2
22
+ WIN32OLE.connect(uri)
6
23
  end
7
24
 
25
+ # @deprecated
8
26
  def wmi_resource_uri( host = '.' )
9
27
  "winmgmts:{impersonationLevel=impersonate}!//#{host}/root/cimv2"
10
28
  end
@@ -12,5 +30,20 @@ module Facter::Util::WMI
12
30
  def execquery(query)
13
31
  connect().execquery(query)
14
32
  end
33
+
34
+ private
35
+
36
+ # this mimics the previous behavior of using the COM moniker
37
+ # winmgmts:{impersonationLevel=impersonate}!//./root/cimv2
38
+ # which is not supported on Nano Server
39
+ def connect2( server = '.', namespace = 'root\\cimv2', impersonation_level = RPC_C_IMP_LEVEL_IMPERSONATE )
40
+ locator = WIN32OLE.new("WbemScripting.SWbemLocator")
41
+ # https://msdn.microsoft.com/en-us/library/aa393720%28v=vs.85%29.aspx
42
+ # ConnectServer returns an ISWbemServicesEx
43
+ conn = locator.ConnectServer(server, namespace)
44
+ conn.Security_.ImpersonationLevel = impersonation_level
45
+ conn
46
+ end
47
+
15
48
  end
16
49
  end
@@ -1,6 +1,6 @@
1
1
  module Facter
2
2
  if not defined? FACTERVERSION then
3
- FACTERVERSION = '2.4.6'
3
+ FACTERVERSION = '2.5.0'
4
4
  end
5
5
 
6
6
  # Returns the running version of Facter.
@@ -215,6 +215,8 @@ Facter.add("virtual") do
215
215
  result = "kvm"
216
216
  when /Bochs/
217
217
  result = "bochs"
218
+ when /OpenStack/
219
+ result = "openstack"
218
220
  end
219
221
 
220
222
  if result.nil? and computersystem.manufacturer =~ /Xen/
@@ -0,0 +1,9 @@
1
+ em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
2
+ inet6 1610:10:20:209:212:3fff:febe:2201 prefixlen 128 scopeid 0x0<global>
3
+ inet6 fe80::221:ccff:fe4b:297d prefixlen 64 scopeid 0x20<link>
4
+ ether 00:21:cc:4b:29:7d txqueuelen 1000 (Ethernet)
5
+ RX packets 27222144 bytes 31247414760 (29.1 GiB)
6
+ RX errors 0 dropped 0 overruns 0 frame 0
7
+ TX packets 10259038 bytes 7784519352 (7.2 GiB)
8
+ TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
9
+ device interrupt 20 memory 0xd2600000-d2620000
@@ -0,0 +1,59 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require 'spec_helper'
4
+
5
+ describe "Facter::Util::Windows::User", :if => Facter::Util::Config.is_windows? do
6
+ describe "2003 without UAC" do
7
+ before :each do
8
+ Facter::Util::Windows::Process.stubs(:windows_major_version).returns(5)
9
+ end
10
+
11
+ it "should be an admin if user's token contains the Administrators SID" do
12
+ Facter::Util::Windows::User.expects(:check_token_membership).returns(true)
13
+ Facter::Util::Windows::Process.expects(:elevated_security?).never
14
+
15
+ expect(Facter::Util::Windows::User).to be_admin
16
+ end
17
+
18
+ it "should not be an admin if user's token doesn't contain the Administrators SID" do
19
+ Facter::Util::Windows::User.expects(:check_token_membership).returns(false)
20
+ Facter::Util::Windows::Process.expects(:elevated_security?).never
21
+
22
+ expect(Facter::Util::Windows::User).not_to be_admin
23
+ end
24
+
25
+ it "should raise an exception if we can't check token membership" do
26
+ Facter::Util::Windows::User.expects(:check_token_membership).raises(Facter::Util::Windows::Error, "Access denied.")
27
+ Facter::Util::Windows::Process.expects(:elevated_security?).never
28
+
29
+ expect { Facter::Util::Windows::User.admin? }.to raise_error(Facter::Util::Windows::Error, /Access denied./)
30
+ end
31
+ end
32
+
33
+ describe "2008 with UAC" do
34
+ before :each do
35
+ Facter::Util::Windows::Process.stubs(:windows_major_version).returns(6)
36
+ end
37
+
38
+ it "should be an admin if user is running with elevated privileges" do
39
+ Facter::Util::Windows::Process.stubs(:elevated_security?).returns(true)
40
+ Facter::Util::Windows::User.expects(:check_token_membership).never
41
+
42
+ expect(Facter::Util::Windows::User).to be_admin
43
+ end
44
+
45
+ it "should not be an admin if user is not running with elevated privileges" do
46
+ Facter::Util::Windows::Process.stubs(:elevated_security?).returns(false)
47
+ Facter::Util::Windows::User.expects(:check_token_membership).never
48
+
49
+ expect(Facter::Util::Windows::User).not_to be_admin
50
+ end
51
+
52
+ it "should raise an exception if the process fails to open the process token" do
53
+ Facter::Util::Windows::Process.stubs(:elevated_security?).raises(Facter::Util::Windows::Error, "Access denied.")
54
+ Facter::Util::Windows::User.expects(:check_token_membership).never
55
+
56
+ expect { Facter::Util::Windows::User.admin? }.to raise_error(Facter::Util::Windows::Error, /Access denied./)
57
+ end
58
+ end
59
+ end
@@ -38,13 +38,6 @@ LogSpecOrder.log_spec_order
38
38
  RSpec.configure do |config|
39
39
  config.mock_with :mocha
40
40
 
41
- if Facter::Util::Config.is_windows? && RUBY_VERSION =~ /^1\./
42
- require 'win32console'
43
- config.output_stream = $stdout
44
- config.error_stream = $stderr
45
- config.formatters.each { |f| f.instance_variable_set(:@output, $stdout) }
46
- end
47
-
48
41
  config.before :each do
49
42
  # Ensure that we don't accidentally cache facts and environment
50
43
  # between test cases.
@@ -4,23 +4,29 @@ require 'facter/ec2/rest'
4
4
  shared_examples_for "an ec2 rest querier" do
5
5
  describe "determining if the uri is reachable" do
6
6
  it "retries if the connection times out" do
7
- subject.stubs(:open).returns(stub(:read => nil))
8
- Timeout.expects(:timeout).with(0.2).twice.raises(Timeout::Error).returns(true)
7
+ (f_times_out = mock).stubs(:read).raises(Timeout::Error)
8
+ (f_ok = mock).stubs(:read).returns(StringIO.new("woo"))
9
+
10
+ subject.expects(:open).twice.returns(f_times_out).returns(f_ok)
9
11
  expect(subject).to be_reachable
10
12
  end
11
13
 
12
14
  it "retries if the connection is reset" do
13
- subject.expects(:open).twice.raises(Errno::ECONNREFUSED).returns(StringIO.new("woo"))
15
+ (f_ok = mock).stubs(:read).returns(StringIO.new("woo"))
16
+
17
+ subject.expects(:open).twice.raises(Errno::ECONNREFUSED).returns(f_ok)
14
18
  expect(subject).to be_reachable
15
19
  end
16
20
 
17
21
  it "is false if the given uri returns a 404" do
18
- subject.expects(:open).with(anything, :proxy => nil).once.raises(OpenURI::HTTPError.new("404 Not Found", StringIO.new("woo")))
22
+ subject.expects(:open).once.raises(OpenURI::HTTPError.new("404 Not Found", StringIO.new("boo")))
19
23
  expect(subject).to_not be_reachable
20
24
  end
21
25
 
22
26
  it "is false if the connection always times out" do
23
- Timeout.expects(:timeout).with(0.2).times(3).raises(Timeout::Error)
27
+ (f_times_out = mock).stubs(:read).raises(Timeout::Error)
28
+
29
+ subject.expects(:open).times(3).returns(f_times_out)
24
30
  expect(subject).to_not be_reachable
25
31
  end
26
32
  end
@@ -142,18 +148,18 @@ describe Facter::EC2::Userdata do
142
148
 
143
149
  describe "reaching the userdata" do
144
150
  it "queries the userdata URI" do
145
- subject.expects(:open).with('http://0.0.0.0/latest/user-data/').returns(response)
151
+ subject.expects(:open).with('http://0.0.0.0/latest/user-data/', {:proxy => nil}).returns(response)
146
152
  subject.fetch
147
153
  end
148
154
 
149
155
  it "returns the result of the query without modification" do
150
156
  response.string = "clooouuuuud"
151
- subject.expects(:open).with('http://0.0.0.0/latest/user-data/').returns(response)
157
+ subject.expects(:open).with('http://0.0.0.0/latest/user-data/', {:proxy => nil}).returns(response)
152
158
  expect(subject.fetch).to eq "clooouuuuud"
153
159
  end
154
160
 
155
161
  it "is nil if the URI returned a 404" do
156
- subject.expects(:open).with('http://0.0.0.0/latest/user-data/').once.raises(OpenURI::HTTPError.new("404 Not Found", StringIO.new("woo")))
162
+ subject.expects(:open).with('http://0.0.0.0/latest/user-data/', {:proxy => nil}).once.raises(OpenURI::HTTPError.new("404 Not Found", StringIO.new("woo")))
157
163
  expect(subject.fetch).to be_nil
158
164
  end
159
165
  end
@@ -41,6 +41,16 @@ describe "Per Interface IP facts" do
41
41
  fact = Facter.fact("macaddress_net0".intern)
42
42
  fact.value.should eq("00:12:34:56:78:90")
43
43
  end
44
+
45
+ it "should support ipv6 address starting by [180ef]" do
46
+ Facter.fact(:kernel).stubs(:value).returns("Linux")
47
+ Facter::Util::IP.stubs(:exec_ifconfig) \
48
+ .returns(my_fixture_read('ifconfig_net_tools_1.60_v6.txt'))
49
+ Facter.collection.internal_loader.load(:interfaces)
50
+ Facter.fact('ipaddress6_em1'.intern).value \
51
+ .should eq('1610:10:20:209:212:3fff:febe:2201')
52
+ end
53
+
44
54
  end
45
55
 
46
56
  describe "Netmask and MTU handling on Linux" do
@@ -93,6 +93,7 @@ describe "The IPv6 address fact" do
93
93
  end
94
94
 
95
95
  it "should return nil if the system doesn't have ipv6 installed", :if => Facter::Util::Config.is_windows? do
96
+ require 'win32/registry'
96
97
  Facter::Util::Resolution.any_instance.expects(:warn).never
97
98
  Facter::Util::Registry.stubs(:hklm_read).raises(Win32::Registry::Error, 2)
98
99
 
@@ -7,10 +7,7 @@ describe "Kernel release fact" do
7
7
  describe "on Windows" do
8
8
  before do
9
9
  Facter.fact(:kernel).stubs(:value).returns("windows")
10
- require 'facter/util/wmi'
11
- version = stubs 'version'
12
- version.stubs(:Version).returns("test_kernel")
13
- Facter::Util::WMI.stubs(:execquery).with("SELECT Version from Win32_OperatingSystem").returns([version])
10
+ Facter::Util::Windows::Process.stubs(:os_version_string).returns('test_kernel')
14
11
  end
15
12
 
16
13
  it "should return the kernel release" do
@@ -179,7 +179,7 @@ describe "Memory facts" do
179
179
  Facter.fact(:kernel).stubs(:value).returns("OpenBSD")
180
180
 
181
181
  swapusage = "total: 4080510 512-blocks allocated, 461832 used, 3618678 available"
182
- Facter::Core::Execution.stubs(:exec).with('swapctl -s').returns(swapusage)
182
+ Facter::Core::Execution.stubs(:exec).with('swapctl -s 2>/dev/null').returns(swapusage)
183
183
 
184
184
  Facter::Core::Execution.stubs(:exec).with('vmstat').returns(my_fixture_read('openbsd-vmstat'))
185
185
 
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'facter/operatingsystem/windows'
3
3
 
4
4
  describe Facter::Operatingsystem::Windows do
5
- require 'facter/util/wmi'
5
+ require 'facter/util/windows'
6
6
  subject { described_class.new }
7
7
 
8
8
  describe "Operatingsystemrelease fact" do
@@ -11,24 +11,29 @@ describe Facter::Operatingsystem::Windows do
11
11
  end
12
12
 
13
13
  {
14
- ['5.2.3790', 1] => "XP",
15
- ['6.0.6002', 1] => "Vista",
16
- ['6.0.6002', 2] => "2008",
17
- ['6.0.6002', 3] => "2008",
18
- ['6.1.7601', 1] => "7",
19
- ['6.1.7601', 2] => "2008 R2",
20
- ['6.1.7601', 3] => "2008 R2",
21
- ['6.2.9200', 1] => "8",
22
- ['6.2.9200', 2] => "2012",
23
- ['6.2.9200', 3] => "2012",
24
- ['6.3.9600', 1] => "8.1",
25
- ['6.3.9600', 2] => "2012 R2",
26
- ['6.3.9600', 3] => "2012 R2",
27
- ['6.4.9841', 1] => "10", # Kernel version for Windows 10 preview. Subject to change.
14
+ [5,2,3790, 1] => "XP",
15
+ [6,0,6002, 1] => "Vista",
16
+ [6,0,6002, 2] => "2008",
17
+ [6,0,6002, 3] => "2008",
18
+ [6,1,7601, 1] => "7",
19
+ [6,1,7601, 2] => "2008 R2",
20
+ [6,1,7601, 3] => "2008 R2",
21
+ [6,2,9200, 1] => "8",
22
+ [6,2,9200, 2] => "2012",
23
+ [6,2,9200, 3] => "2012",
24
+ [6,3,9600, 1] => "8.1",
25
+ [6,3,9600, 2] => "2012 R2",
26
+ [6,3,9600, 3] => "2012 R2",
27
+ [10,0,10586, 1] => "10", # Kernel version for Windows 10
28
+ [10,0,14300, 2] => "Nano", # current Nano kernel version
28
29
  }.each do |os_values, expected_output|
29
- it "should be #{expected_output} with Version #{os_values[0]} and ProductType #{os_values[1]}" do
30
- os = mock('os', :version => os_values[0], :producttype => os_values[1])
31
- Facter::Util::WMI.expects(:execquery).returns([os])
30
+ it "should be #{expected_output} with Version #{os_values[0]}.#{os_values[1]}.#{os_values[2]} and ProductType #{os_values[3]}" do
31
+ os = stub('os')
32
+ os.stubs(:[]).with(:dwMajorVersion).returns(os_values[0])
33
+ os.stubs(:[]).with(:dwMinorVersion).returns(os_values[1])
34
+ os.stubs(:[]).with(:dwBuildNumber).returns(os_values[2])
35
+ os.stubs(:[]).with(:wProductType).returns(os_values[3])
36
+ Facter::Util::Windows::Process.expects(:os_version).yields(os)
32
37
  release = subject.get_operatingsystemrelease
33
38
  expect(release).to eq expected_output
34
39
  end
@@ -39,48 +44,50 @@ describe Facter::Operatingsystem::Windows do
39
44
  # which is subject to change. These tests cover any future Windows server
40
45
  # releases with a kernel version of 6.4.x, none of which have been released
41
46
  # as of October 2014.
42
- ['6.4.9841', 2] => "6.4.9841",
43
- ['6.4.9841', 3] => "6.4.9841",
47
+ [10,0,10586, 2] => "10-NewKernel",
48
+ [10,0,10586, 3] => "10-NewKernel",
44
49
  }.each do |os_values, expected_output|
45
50
  it "should be the kernel release for unknown future server releases" do
46
- Facter.fact(:kernelrelease).stubs(:value).returns("6.4.9841")
47
- os = mock('os', :version => os_values[0], :producttype => os_values[1])
48
- Facter::Util::WMI.expects(:execquery).returns([os])
51
+ Facter.fact(:kernelrelease).stubs(:value).returns("10-NewKernel")
52
+ os = stub('os')
53
+ os.stubs(:[]).with(:dwMajorVersion).returns(os_values[0])
54
+ os.stubs(:[]).with(:dwMinorVersion).returns(os_values[1])
55
+ os.stubs(:[]).with(:dwBuildNumber).returns(os_values[2])
56
+ os.stubs(:[]).with(:wProductType).returns(os_values[3])
57
+ Facter::Util::Windows::Process.expects(:os_version).yields(os)
49
58
  release = subject.get_operatingsystemrelease
50
59
  expect(release).to eq expected_output
51
60
  end
52
61
  end
53
62
 
54
63
  {
55
- ['5.2.3790', 2, ""] => "2003",
56
- ['5.2.3790', 2, "R2"] => "2003 R2",
57
- ['5.2.3790', 3, ""] => "2003",
58
- ['5.2.3790', 3, "R2"] => "2003 R2",
64
+ [5,2,3790, 2, false] => "2003",
65
+ [5,2,3790, 2, true] => "2003 R2",
66
+ [5,2,3790, 3, false] => "2003",
67
+ [5,2,3790, 3, true] => "2003 R2",
59
68
  }.each do |os_values, expected_output|
60
- it "should be #{expected_output} with Version #{os_values[0]} and ProductType #{os_values[1]} and OtherTypeDescription #{os_values[2]}" do
61
- os = mock('os', :version => os_values[0], :producttype => os_values[1], :othertypedescription => os_values[2])
62
- Facter::Util::WMI.expects(:execquery).returns([os])
69
+ it "should be #{expected_output} with Version #{os_values[0]}.#{os_values[1]}.#{os_values[2]} and ProductType #{os_values[3]} and is_2003_r2? #{os_values[4]}" do
70
+ os = stub('os')
71
+ os.stubs(:[]).with(:dwMajorVersion).returns(os_values[0])
72
+ os.stubs(:[]).with(:dwMinorVersion).returns(os_values[1])
73
+ os.stubs(:[]).with(:dwBuildNumber).returns(os_values[2])
74
+ os.stubs(:[]).with(:wProductType).returns(os_values[3])
75
+ Facter::Util::Windows::Process.expects(:is_2003_r2?).returns(os_values[4])
76
+ Facter::Util::Windows::Process.expects(:os_version).yields(os)
63
77
  release = subject.get_operatingsystemrelease
64
78
  expect(release).to eq expected_output
65
79
  end
66
80
  end
67
81
 
68
- it "reports '2003' if the WMI method othertypedescription does not exist" do
69
- os = mock('os', :version => '5.2.3790', :producttype => 2)
70
- os.stubs(:othertypedescription).raises(NoMethodError)
71
- Facter::Util::WMI.expects(:execquery).returns([os])
72
- release = subject.get_operatingsystemrelease
73
- expect(release).to eq "2003"
74
- end
75
-
76
82
  context "Unknown Windows version" do
77
83
  before :each do
78
84
  Facter.fact(:kernelrelease).stubs(:value).returns("X.Y.ZZZZ")
79
85
  end
80
86
 
81
87
  it "should be kernel version value with unknown values " do
82
- os = mock('os', :version => "X.Y.ZZZZ")
83
- Facter::Util::WMI.expects(:execquery).returns([os])
88
+ os = stub('os')
89
+ os.stubs(:[])
90
+ Facter::Util::Windows::Process.expects(:os_version).yields(os)
84
91
  release = subject.get_operatingsystemrelease
85
92
  expect(release).to eq "X.Y.ZZZZ"
86
93
  end
@@ -129,7 +129,7 @@ describe Facter::Util::EC2 do
129
129
  describe "can_connect? method" do
130
130
  it "returns true if api responds" do
131
131
  # Return something upon connecting to the root
132
- Module.any_instance.expects(:open).with("#{api_prefix}:80/").
132
+ Module.any_instance.expects(:open).with("#{api_prefix}:80/", {:proxy => nil}).
133
133
  at_least_once.returns("2008-02-01\nlatest")
134
134
 
135
135
  Facter::Util::EC2.can_connect?.should be_true
@@ -138,7 +138,7 @@ describe Facter::Util::EC2 do
138
138
  describe "when connection times out" do
139
139
  it "should return false" do
140
140
  # Emulate a timeout when connecting by throwing an exception
141
- Module.any_instance.expects(:open).with("#{api_prefix}:80/").
141
+ Module.any_instance.expects(:open).with("#{api_prefix}:80/", {:proxy => nil}).
142
142
  at_least_once.raises(RuntimeError)
143
143
 
144
144
  Facter::Util::EC2.can_connect?.should be_false
@@ -148,7 +148,7 @@ describe Facter::Util::EC2 do
148
148
  describe "when connection is refused" do
149
149
  it "should return false" do
150
150
  # Emulate a connection refused
151
- Module.any_instance.expects(:open).with("#{api_prefix}:80/").
151
+ Module.any_instance.expects(:open).with("#{api_prefix}:80/", {:proxy => nil}).
152
152
  at_least_once.raises(Errno::ECONNREFUSED)
153
153
 
154
154
  Facter::Util::EC2.can_connect?.should be_false
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.6
5
- prerelease:
4
+ version: 2.5.0
6
5
  platform: universal-darwin
7
6
  authors:
8
7
  - Puppet Labs
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-01-26 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: CFPropertyList
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 2.2.6
19
+ version: '2.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 2.2.6
26
+ version: '2.2'
30
27
  description: You can prove anything with facts!
31
28
  email: info@puppetlabs.com
32
29
  executables:
@@ -34,840 +31,849 @@ executables:
34
31
  extensions: []
35
32
  extra_rdoc_files: []
36
33
  files:
37
- - CONTRIBUTING.md
38
- - Rakefile
39
- - LICENSE
40
34
  - COMMITTERS.md
35
+ - CONTRIBUTING.md
41
36
  - Gemfile
37
+ - LICENSE
42
38
  - README.md
43
- - install.rb
39
+ - Rakefile
44
40
  - bin/facter
45
41
  - etc/facter.conf
46
- - ext/solaris/pkginfo
47
- - ext/ips/rules
48
- - ext/ips/transforms
49
- - ext/ips/facter.p5m.erb
50
- - ext/project_data.yaml
51
42
  - ext/build_defaults.yaml
52
- - ext/facter-diff
43
+ - ext/debian/changelog.erb
53
44
  - ext/debian/compat
54
- - ext/debian/source/format
55
- - ext/debian/rules
56
45
  - ext/debian/control
46
+ - ext/debian/copyright
57
47
  - ext/debian/docs
58
48
  - ext/debian/lintian-overrides
59
- - ext/debian/changelog.erb
60
- - ext/debian/copyright
61
- - ext/osx/preflight.erb
49
+ - ext/debian/rules
50
+ - ext/debian/source/format
51
+ - ext/facter-diff
52
+ - ext/ips/facter.p5m.erb
53
+ - ext/ips/rules
54
+ - ext/ips/transforms
62
55
  - ext/osx/file_mapping.yaml
56
+ - ext/osx/preflight.erb
63
57
  - ext/osx/prototype.plist.erb
58
+ - ext/project_data.yaml
64
59
  - ext/redhat/facter.spec.erb
60
+ - ext/solaris/pkginfo
61
+ - install.rb
65
62
  - lib/facter.rb
66
- - lib/facter/zones.rb
67
- - lib/facter/system_uptime.rb
63
+ - lib/facter/Cfkey.rb
64
+ - lib/facter/application.rb
65
+ - lib/facter/architecture.rb
66
+ - lib/facter/augeasversion.rb
67
+ - lib/facter/blockdevices.rb
68
+ - lib/facter/core/aggregate.rb
69
+ - lib/facter/core/directed_graph.rb
70
+ - lib/facter/core/execution.rb
71
+ - lib/facter/core/execution/base.rb
72
+ - lib/facter/core/execution/posix.rb
73
+ - lib/facter/core/execution/windows.rb
74
+ - lib/facter/core/logging.rb
75
+ - lib/facter/core/resolvable.rb
76
+ - lib/facter/core/suitable.rb
77
+ - lib/facter/dhcp_servers.rb
78
+ - lib/facter/domain.rb
79
+ - lib/facter/ec2.rb
80
+ - lib/facter/ec2/rest.rb
81
+ - lib/facter/facterversion.rb
82
+ - lib/facter/filesystems.rb
83
+ - lib/facter/fqdn.rb
84
+ - lib/facter/gce.rb
85
+ - lib/facter/gce/metadata.rb
68
86
  - lib/facter/gid.rb
69
- - lib/facter/lsbmajdistrelease.rb
70
- - lib/facter/version.rb
87
+ - lib/facter/hardwareisa.rb
71
88
  - lib/facter/hardwaremodel.rb
89
+ - lib/facter/hostname.rb
90
+ - lib/facter/id.rb
91
+ - lib/facter/interfaces.rb
92
+ - lib/facter/ipaddress.rb
93
+ - lib/facter/ipaddress6.rb
94
+ - lib/facter/iphostnumber.rb
95
+ - lib/facter/kernel.rb
96
+ - lib/facter/kernelmajversion.rb
72
97
  - lib/facter/kernelrelease.rb
98
+ - lib/facter/kernelversion.rb
99
+ - lib/facter/ldom.rb
100
+ - lib/facter/lsbdistcodename.rb
101
+ - lib/facter/lsbdistdescription.rb
102
+ - lib/facter/lsbdistid.rb
103
+ - lib/facter/lsbdistrelease.rb
104
+ - lib/facter/lsbmajdistrelease.rb
105
+ - lib/facter/lsbminordistrelease.rb
106
+ - lib/facter/lsbrelease.rb
107
+ - lib/facter/macaddress.rb
108
+ - lib/facter/macosx.rb
109
+ - lib/facter/manufacturer.rb
110
+ - lib/facter/memory.rb
111
+ - lib/facter/netmask.rb
112
+ - lib/facter/network.rb
113
+ - lib/facter/operatingsystem.rb
114
+ - lib/facter/operatingsystem/base.rb
115
+ - lib/facter/operatingsystem/cumuluslinux.rb
116
+ - lib/facter/operatingsystem/implementation.rb
117
+ - lib/facter/operatingsystem/linux.rb
118
+ - lib/facter/operatingsystem/osreleaselinux.rb
119
+ - lib/facter/operatingsystem/sunos.rb
120
+ - lib/facter/operatingsystem/vmkernel.rb
121
+ - lib/facter/operatingsystem/windows.rb
122
+ - lib/facter/operatingsystemmajrelease.rb
123
+ - lib/facter/operatingsystemrelease.rb
124
+ - lib/facter/os.rb
125
+ - lib/facter/osfamily.rb
126
+ - lib/facter/partitions.rb
127
+ - lib/facter/path.rb
128
+ - lib/facter/physicalprocessorcount.rb
129
+ - lib/facter/processor.rb
130
+ - lib/facter/processors.rb
131
+ - lib/facter/processors/os.rb
132
+ - lib/facter/ps.rb
73
133
  - lib/facter/puppetversion.rb
74
- - lib/facter/dhcp_servers.rb
134
+ - lib/facter/rackspace.rb
75
135
  - lib/facter/rubyplatform.rb
76
- - lib/facter/blockdevices.rb
77
- - lib/facter/path.rb
136
+ - lib/facter/rubysitedir.rb
137
+ - lib/facter/rubyversion.rb
138
+ - lib/facter/selinux.rb
139
+ - lib/facter/ssh.rb
78
140
  - lib/facter/system32.rb
79
- - lib/facter/partitions.rb
80
- - lib/facter/augeasversion.rb
81
- - lib/facter/util/windows_root.rb
141
+ - lib/facter/system_uptime.rb
142
+ - lib/facter/timezone.rb
143
+ - lib/facter/uniqueid.rb
144
+ - lib/facter/uptime.rb
145
+ - lib/facter/uptime_days.rb
146
+ - lib/facter/uptime_hours.rb
147
+ - lib/facter/uptime_seconds.rb
148
+ - lib/facter/util/architecture.rb
149
+ - lib/facter/util/collection.rb
150
+ - lib/facter/util/composite_loader.rb
151
+ - lib/facter/util/config.rb
152
+ - lib/facter/util/confine.rb
82
153
  - lib/facter/util/dhcp_servers.rb
154
+ - lib/facter/util/directory_loader.rb
155
+ - lib/facter/util/ec2.rb
156
+ - lib/facter/util/fact.rb
157
+ - lib/facter/util/file_read.rb
83
158
  - lib/facter/util/formatter.rb
84
- - lib/facter/util/partitions.rb
159
+ - lib/facter/util/ip.rb
160
+ - lib/facter/util/ip/windows.rb
85
161
  - lib/facter/util/loader.rb
86
- - lib/facter/util/plist.rb
87
162
  - lib/facter/util/macaddress.rb
88
- - lib/facter/util/values.rb
163
+ - lib/facter/util/macosx.rb
164
+ - lib/facter/util/manufacturer.rb
165
+ - lib/facter/util/memory.rb
166
+ - lib/facter/util/netmask.rb
167
+ - lib/facter/util/normalization.rb
168
+ - lib/facter/util/nothing_loader.rb
89
169
  - lib/facter/util/operatingsystem.rb
90
170
  - lib/facter/util/parser.rb
171
+ - lib/facter/util/partitions.rb
172
+ - lib/facter/util/partitions/linux.rb
173
+ - lib/facter/util/partitions/openbsd.rb
174
+ - lib/facter/util/plist.rb
175
+ - lib/facter/util/plist/generator.rb
176
+ - lib/facter/util/plist/parser.rb
91
177
  - lib/facter/util/posix.rb
92
- - lib/facter/util/ip/windows.rb
178
+ - lib/facter/util/processor.rb
93
179
  - lib/facter/util/registry.rb
94
- - lib/facter/util/uptime.rb
95
180
  - lib/facter/util/resolution.rb
181
+ - lib/facter/util/solaris_zones.rb
182
+ - lib/facter/util/unix_root.rb
183
+ - lib/facter/util/uptime.rb
184
+ - lib/facter/util/values.rb
96
185
  - lib/facter/util/virtual.rb
97
- - lib/facter/util/config.rb
98
- - lib/facter/util/netmask.rb
99
186
  - lib/facter/util/vlans.rb
100
- - lib/facter/util/macosx.rb
101
- - lib/facter/util/partitions/openbsd.rb
102
- - lib/facter/util/partitions/linux.rb
103
- - lib/facter/util/nothing_loader.rb
104
- - lib/facter/util/xendomains.rb
105
- - lib/facter/util/collection.rb
106
- - lib/facter/util/architecture.rb
107
- - lib/facter/util/normalization.rb
108
- - lib/facter/util/confine.rb
109
- - lib/facter/util/plist/parser.rb
110
- - lib/facter/util/plist/generator.rb
111
- - lib/facter/util/solaris_zones.rb
112
- - lib/facter/util/memory.rb
113
- - lib/facter/util/fact.rb
187
+ - lib/facter/util/windows.rb
188
+ - lib/facter/util/windows/api_types.rb
189
+ - lib/facter/util/windows/dir.rb
190
+ - lib/facter/util/windows/error.rb
191
+ - lib/facter/util/windows/process.rb
192
+ - lib/facter/util/windows/user.rb
193
+ - lib/facter/util/windows_root.rb
114
194
  - lib/facter/util/wmi.rb
115
- - lib/facter/util/directory_loader.rb
116
- - lib/facter/util/ec2.rb
117
- - lib/facter/util/file_read.rb
118
- - lib/facter/util/ip.rb
119
- - lib/facter/util/composite_loader.rb
120
- - lib/facter/util/manufacturer.rb
121
- - lib/facter/util/processor.rb
122
- - lib/facter/util/unix_root.rb
123
- - lib/facter/ec2/rest.rb
124
- - lib/facter/macaddress.rb
125
- - lib/facter/rubyversion.rb
126
- - lib/facter/hostname.rb
127
- - lib/facter/operatingsystem.rb
128
- - lib/facter/lsbdistrelease.rb
129
- - lib/facter/timezone.rb
130
- - lib/facter/facterversion.rb
131
- - lib/facter/core/suitable.rb
132
- - lib/facter/core/resolvable.rb
133
- - lib/facter/core/directed_graph.rb
134
- - lib/facter/core/execution/windows.rb
135
- - lib/facter/core/execution/posix.rb
136
- - lib/facter/core/execution/base.rb
137
- - lib/facter/core/execution.rb
138
- - lib/facter/core/aggregate.rb
139
- - lib/facter/core/logging.rb
140
- - lib/facter/processors/os.rb
141
- - lib/facter/processors.rb
142
- - lib/facter/zfs_version.rb
143
- - lib/facter/uptime_seconds.rb
144
- - lib/facter/uptime.rb
145
- - lib/facter/ps.rb
146
- - lib/facter/operatingsystemmajrelease.rb
147
- - lib/facter/kernelversion.rb
195
+ - lib/facter/util/xendomains.rb
196
+ - lib/facter/version.rb
148
197
  - lib/facter/virtual.rb
149
- - lib/facter/lsbdistdescription.rb
150
- - lib/facter/lsbrelease.rb
151
- - lib/facter/fqdn.rb
152
- - lib/facter/selinux.rb
153
- - lib/facter/gce.rb
154
- - lib/facter/netmask.rb
155
- - lib/facter/interfaces.rb
156
198
  - lib/facter/vlans.rb
157
- - lib/facter/macosx.rb
158
- - lib/facter/Cfkey.rb
159
- - lib/facter/application.rb
160
- - lib/facter/ipaddress6.rb
161
- - lib/facter/id.rb
162
- - lib/facter/lsbdistcodename.rb
163
- - lib/facter/zpool_version.rb
164
199
  - lib/facter/xendomains.rb
165
- - lib/facter/os.rb
166
- - lib/facter/architecture.rb
167
- - lib/facter/ldom.rb
168
- - lib/facter/operatingsystemrelease.rb
200
+ - lib/facter/zfs_version.rb
169
201
  - lib/facter/zonename.rb
170
- - lib/facter/osfamily.rb
171
- - lib/facter/lsbdistid.rb
172
- - lib/facter/rubysitedir.rb
173
- - lib/facter/network.rb
174
- - lib/facter/lsbminordistrelease.rb
175
- - lib/facter/iphostnumber.rb
176
- - lib/facter/uptime_days.rb
177
- - lib/facter/ipaddress.rb
178
- - lib/facter/memory.rb
179
- - lib/facter/filesystems.rb
180
- - lib/facter/hardwareisa.rb
181
- - lib/facter/gce/metadata.rb
182
- - lib/facter/uniqueid.rb
183
- - lib/facter/ssh.rb
184
- - lib/facter/ec2.rb
185
- - lib/facter/kernel.rb
186
- - lib/facter/uptime_hours.rb
187
- - lib/facter/rackspace.rb
188
- - lib/facter/physicalprocessorcount.rb
189
- - lib/facter/manufacturer.rb
190
- - lib/facter/processor.rb
191
- - lib/facter/operatingsystem/windows.rb
192
- - lib/facter/operatingsystem/sunos.rb
193
- - lib/facter/operatingsystem/implementation.rb
194
- - lib/facter/operatingsystem/vmkernel.rb
195
- - lib/facter/operatingsystem/cumuluslinux.rb
196
- - lib/facter/operatingsystem/linux.rb
197
- - lib/facter/operatingsystem/osreleaselinux.rb
198
- - lib/facter/operatingsystem/base.rb
199
- - lib/facter/kernelmajversion.rb
200
- - lib/facter/domain.rb
201
- - spec/lib/facter_spec/windows_network.rb
202
- - spec/lib/facter_spec/cpuinfo.rb
202
+ - lib/facter/zones.rb
203
+ - lib/facter/zpool_version.rb
204
+ - spec/fixtures/cpuinfo/amd64dual
205
+ - spec/fixtures/cpuinfo/amd64dual-grep
203
206
  - spec/fixtures/cpuinfo/amd64quad
204
- - spec/fixtures/cpuinfo/panda-armel
205
- - spec/fixtures/cpuinfo/ppc64
207
+ - spec/fixtures/cpuinfo/amd64solo
206
208
  - spec/fixtures/cpuinfo/amd64tri
209
+ - spec/fixtures/cpuinfo/amd64twentyfour
207
210
  - spec/fixtures/cpuinfo/amd64twentyfour-grep
208
- - spec/fixtures/cpuinfo/amd64solo
209
- - spec/fixtures/cpuinfo/ppc64le
211
+ - spec/fixtures/cpuinfo/bbg3-armel
210
212
  - spec/fixtures/cpuinfo/beaglexm-armel
211
- - spec/fixtures/cpuinfo/amd64twentyfour
213
+ - spec/fixtures/cpuinfo/panda-armel
214
+ - spec/fixtures/cpuinfo/ppc64
215
+ - spec/fixtures/cpuinfo/ppc64le
212
216
  - spec/fixtures/cpuinfo/sparc
213
- - spec/fixtures/cpuinfo/amd64dual
214
- - spec/fixtures/cpuinfo/two_singlecore-grep
215
- - spec/fixtures/cpuinfo/amd64dual-grep
216
- - spec/fixtures/cpuinfo/bbg3-armel
217
217
  - spec/fixtures/cpuinfo/two_multicore-grep
218
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
219
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
220
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
221
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
222
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
223
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
224
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
225
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
226
- - spec/fixtures/hpux/unistd.h
227
- - spec/fixtures/hpux/sched.models
228
- - spec/fixtures/hpux/machinfo/ia64-rx2620
229
- - spec/fixtures/hpux/machinfo/superdome2-16s
218
+ - spec/fixtures/cpuinfo/two_singlecore-grep
230
219
  - spec/fixtures/hpux/machinfo/hppa-rp4440
231
- - spec/fixtures/hpux/machinfo/ia64-rx8640
220
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
232
221
  - spec/fixtures/hpux/machinfo/ia64-rx6600
222
+ - spec/fixtures/hpux/machinfo/ia64-rx8640
233
223
  - spec/fixtures/hpux/machinfo/superdome-server-SD32B
234
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
235
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
224
+ - spec/fixtures/hpux/machinfo/superdome2-16s
225
+ - spec/fixtures/hpux/sched.models
226
+ - spec/fixtures/hpux/unistd.h
227
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
228
+ - spec/fixtures/ifconfig/centos_5_5
229
+ - spec/fixtures/ifconfig/centos_5_5_eth0
230
+ - spec/fixtures/ifconfig/darwin_10_3_0
231
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
232
+ - spec/fixtures/ifconfig/darwin_10_6_4
233
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
234
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
235
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
236
+ - spec/fixtures/ifconfig/darwin_9_8_0
237
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
238
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
239
+ - spec/fixtures/ifconfig/fedora_10
240
+ - spec/fixtures/ifconfig/fedora_10_eth0
241
+ - spec/fixtures/ifconfig/fedora_13
242
+ - spec/fixtures/ifconfig/fedora_13_eth0
243
+ - spec/fixtures/ifconfig/fedora_8
244
+ - spec/fixtures/ifconfig/fedora_8_eth0
245
+ - spec/fixtures/ifconfig/freebsd_6_0
246
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
247
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
248
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
249
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
250
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
251
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
252
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
253
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
254
+ - spec/fixtures/ifconfig/open_solaris_10
255
+ - spec/fixtures/ifconfig/open_solaris_b132
256
+ - spec/fixtures/ifconfig/openbsd_bridge_rules
257
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
258
+ - spec/fixtures/ifconfig/ubuntu_7_04
259
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
260
+ - spec/fixtures/ldom/ldom_v1
261
+ - spec/fixtures/netstat/centos_5_5
262
+ - spec/fixtures/netstat/darwin_10_3_0
263
+ - spec/fixtures/netstat/darwin_10_6_4
264
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
265
+ - spec/fixtures/netstat/darwin_9_8_0
266
+ - spec/fixtures/netstat/fedora_10
267
+ - spec/fixtures/netstat/open_solaris_10
268
+ - spec/fixtures/netstat/open_solaris_b132
269
+ - spec/fixtures/netstat/ubuntu_7_04
236
270
  - spec/fixtures/processorcount/solaris-psrinfo
237
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
238
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
239
- - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
271
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
272
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
273
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices
274
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
275
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
276
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
277
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
278
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
279
+ - spec/fixtures/unit/dhcp_servers/route
280
+ - spec/fixtures/unit/dhcp_servers/route_nogw
281
+ - spec/fixtures/unit/ec2/rest/meta-data/root
282
+ - spec/fixtures/unit/filesystems/linux
283
+ - spec/fixtures/unit/gce/metadata/metadata.json
284
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
285
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
286
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
287
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
288
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
289
+ - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
290
+ - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
291
+ - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
292
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3
293
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
294
+ - spec/fixtures/unit/memory/aix-svmon
295
+ - spec/fixtures/unit/memory/aix-swap_l
296
+ - spec/fixtures/unit/memory/darwin-swapinfo-multiple
297
+ - spec/fixtures/unit/memory/darwin-swapinfo-single
298
+ - spec/fixtures/unit/memory/darwin-vm_stat
299
+ - spec/fixtures/unit/memory/dragonfly-vmstat
300
+ - spec/fixtures/unit/memory/freebsd-vmstat
301
+ - spec/fixtures/unit/memory/linux-proc_meminfo
302
+ - spec/fixtures/unit/memory/openbsd-vmstat
303
+ - spec/fixtures/unit/memory/smartos_zone_swap_l-single
304
+ - spec/fixtures/unit/memory/solaris-prtconf
305
+ - spec/fixtures/unit/memory/solaris-swap_l-multiple
306
+ - spec/fixtures/unit/memory/solaris-swap_l-single
307
+ - spec/fixtures/unit/memory/solaris-vmstat
240
308
  - spec/fixtures/unit/netmask/darwin_10_8_5.txt
241
- - spec/fixtures/unit/selinux/selinux_sestatus2
309
+ - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
310
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
311
+ - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
312
+ - spec/fixtures/unit/processors/os/darwin-system-profiler
242
313
  - spec/fixtures/unit/selinux/selinux_sestatus
243
- - spec/fixtures/unit/filesystems/linux
244
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
245
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
246
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
314
+ - spec/fixtures/unit/selinux/selinux_sestatus2
315
+ - spec/fixtures/unit/util/dhcp_servers/route
316
+ - spec/fixtures/unit/util/dhcp_servers/route_nogw
317
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
247
318
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
319
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
248
320
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
249
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
250
321
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
251
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
252
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
253
- - spec/fixtures/unit/util/processor/x86-pentium2
254
- - spec/fixtures/unit/util/processor/solaris-sun4u
255
- - spec/fixtures/unit/util/processor/solaris-i86pc
256
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
257
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
258
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
259
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
260
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
261
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
262
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
263
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
264
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
265
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
322
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
323
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
266
324
  - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
267
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
268
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
269
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
270
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
271
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
325
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
272
326
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
327
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
273
328
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
274
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
275
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
276
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
277
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
329
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
330
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
278
331
  - spec/fixtures/unit/util/ip/hpux_1111_lanscan
279
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
280
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
281
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
332
+ - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
333
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
334
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
335
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
336
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
337
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
338
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
339
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
340
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
282
341
  - spec/fixtures/unit/util/ip/hpux_1131_lanscan
283
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
284
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
342
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
343
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
285
344
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
345
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
286
346
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
347
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
348
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
287
349
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
288
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
289
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
290
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
291
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
350
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
351
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
292
352
  - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
293
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
294
- - spec/fixtures/unit/util/vlans/linux_vlan_config
353
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
354
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
355
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
356
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
357
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
358
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
359
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
295
360
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
296
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
297
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
298
361
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
299
362
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
363
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
364
+ - spec/fixtures/unit/util/manufacturer/smartos_smbios
300
365
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
301
366
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
367
+ - spec/fixtures/unit/util/operatingsystem/coreos.txt
368
+ - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
369
+ - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
370
+ - spec/fixtures/unit/util/operatingsystem/sabayon.txt
371
+ - spec/fixtures/unit/util/operatingsystem/wheezy.txt
302
372
  - spec/fixtures/unit/util/partitions/partitions/mount
373
+ - spec/fixtures/unit/util/processor/solaris-i86pc
374
+ - spec/fixtures/unit/util/processor/solaris-sun4u
375
+ - spec/fixtures/unit/util/processor/x86-pentium2
376
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
303
377
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
304
378
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
305
379
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
306
- - spec/fixtures/unit/util/uptime/kstat_boot_time
380
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
381
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
382
+ - spec/fixtures/unit/util/vlans/centos-5-no-vlans
383
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
307
384
  - spec/fixtures/unit/util/xendomains/xendomains
308
- - spec/fixtures/unit/util/dhcp_servers/route
309
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
310
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
311
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
312
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
313
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
314
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
315
- - spec/fixtures/unit/ec2/rest/meta-data/root
316
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
317
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
318
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
319
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
320
- - spec/fixtures/unit/processors/os/darwin-system-profiler
321
- - spec/fixtures/unit/zfs_version/zfs_new
322
- - spec/fixtures/unit/zfs_version/solaris_11
385
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
386
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
323
387
  - spec/fixtures/unit/zfs_version/freebsd_9.0
324
388
  - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
389
+ - spec/fixtures/unit/zfs_version/solaris_10
390
+ - spec/fixtures/unit/zfs_version/solaris_11
391
+ - spec/fixtures/unit/zfs_version/zfs_new
325
392
  - spec/fixtures/unit/zfs_version/zfs_old
326
393
  - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
327
- - spec/fixtures/unit/zfs_version/freebsd_8.2
328
- - spec/fixtures/unit/zfs_version/solaris_10
329
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
330
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
331
- - spec/fixtures/unit/memory/solaris-vmstat
332
- - spec/fixtures/unit/memory/dragonfly-vmstat
333
- - spec/fixtures/unit/memory/solaris-prtconf
334
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
335
- - spec/fixtures/unit/memory/aix-swap_l
336
- - spec/fixtures/unit/memory/solaris-swap_l-single
337
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
338
- - spec/fixtures/unit/memory/linux-proc_meminfo
339
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
340
- - spec/fixtures/unit/memory/darwin-vm_stat
341
- - spec/fixtures/unit/memory/aix-svmon
342
- - spec/fixtures/unit/memory/freebsd-vmstat
343
- - spec/fixtures/unit/memory/darwin-swapinfo-single
344
- - spec/fixtures/unit/memory/openbsd-vmstat
345
- - spec/fixtures/unit/gce/metadata/metadata.json
346
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
347
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
348
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
349
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
350
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
351
- - spec/fixtures/unit/dhcp_servers/route
352
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
353
- - spec/fixtures/unit/dhcp_servers/route_nogw
354
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
355
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
356
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
357
- - spec/fixtures/unit/zpool_version/solaris_11
394
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
358
395
  - spec/fixtures/unit/zpool_version/freebsd_9.0
359
396
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
360
- - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
361
- - spec/fixtures/unit/zpool_version/freebsd_8.2
362
397
  - spec/fixtures/unit/zpool_version/solaris_10
363
- - spec/fixtures/ifconfig/open_solaris_b132
364
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
365
- - spec/fixtures/ifconfig/freebsd_6_0
366
- - spec/fixtures/ifconfig/linux_ifconfig_venet
367
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
368
- - spec/fixtures/ifconfig/openbsd_bridge_rules
369
- - spec/fixtures/ifconfig/darwin_10_3_0
370
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
371
- - spec/fixtures/ifconfig/centos_5_5_eth0
372
- - spec/fixtures/ifconfig/fedora_8
373
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
374
- - spec/fixtures/ifconfig/centos_5_5
375
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
376
- - spec/fixtures/ifconfig/fedora_13
377
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
378
- - spec/fixtures/ifconfig/fedora_13_eth0
379
- - spec/fixtures/ifconfig/darwin_9_8_0
380
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
381
- - spec/fixtures/ifconfig/ubuntu_7_04
382
- - spec/fixtures/ifconfig/darwin_10_6_4
383
- - spec/fixtures/ifconfig/fedora_10_eth0
384
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
385
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
386
- - spec/fixtures/ifconfig/open_solaris_10
387
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
388
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
389
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
390
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
391
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
392
- - spec/fixtures/ifconfig/fedora_8_eth0
393
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
394
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
395
- - spec/fixtures/ifconfig/fedora_10
396
- - spec/fixtures/netstat/open_solaris_b132
397
- - spec/fixtures/netstat/darwin_10_3_0
398
- - spec/fixtures/netstat/centos_5_5
399
- - spec/fixtures/netstat/darwin_9_8_0
400
- - spec/fixtures/netstat/ubuntu_7_04
401
- - spec/fixtures/netstat/darwin_10_6_4
402
- - spec/fixtures/netstat/open_solaris_10
403
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
404
- - spec/fixtures/netstat/fedora_10
405
- - spec/fixtures/ldom/ldom_v1
406
- - spec/puppetlabs_spec_helper.rb
398
+ - spec/fixtures/unit/zpool_version/solaris_11
399
+ - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
400
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_container
401
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
402
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
403
+ - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
404
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
405
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
406
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
407
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
407
408
  - spec/integration/facter_spec.rb
409
+ - spec/integration/util/windows/user_spec.rb
410
+ - spec/lib/facter_spec/cpuinfo.rb
411
+ - spec/lib/facter_spec/windows_network.rb
412
+ - spec/puppetlabs_spec/files.rb
408
413
  - spec/puppetlabs_spec/fixtures.rb
409
414
  - spec/puppetlabs_spec/matchers.rb
410
- - spec/puppetlabs_spec/files.rb
411
415
  - spec/puppetlabs_spec/verbose.rb
416
+ - spec/puppetlabs_spec_helper.rb
412
417
  - spec/schema/validate_facter_schema.rb
418
+ - spec/shared_contexts/platform.rb
413
419
  - spec/shared_formats/parses.rb
414
- - spec/unit/physicalprocessorcount_spec.rb
415
- - spec/unit/fqdn_spec.rb
416
- - spec/unit/uniqueid_spec.rb
420
+ - spec/spec_helper.rb
417
421
  - spec/unit/application_spec.rb
418
- - spec/unit/kernelmajversion_spec.rb
419
422
  - spec/unit/architecture_spec.rb
420
423
  - spec/unit/blockdevices_spec.rb
421
- - spec/unit/processors_spec.rb
422
- - spec/unit/rubyplatform_spec.rb
423
- - spec/unit/util/file_read_spec.rb
424
- - spec/unit/util/normalization_spec.rb
425
- - spec/unit/util/partitions_spec.rb
426
- - spec/unit/util/confine_spec.rb
427
- - spec/unit/util/manufacturer_spec.rb
428
- - spec/unit/util/vlans_spec.rb
429
- - spec/unit/util/collection_spec.rb
430
- - spec/unit/util/formatter_spec.rb
431
- - spec/unit/util/ip/windows_spec.rb
432
- - spec/unit/util/posix_spec.rb
433
- - spec/unit/util/fact_spec.rb
434
- - spec/unit/util/config_spec.rb
435
- - spec/unit/util/resolution_spec.rb
436
- - spec/unit/util/virtual_spec.rb
437
- - spec/unit/util/macosx_spec.rb
438
- - spec/unit/util/directory_loader_spec.rb
439
- - spec/unit/util/parser_spec.rb
440
- - spec/unit/util/partitions/partitions_spec.rb
441
- - spec/unit/util/values_spec.rb
442
- - spec/unit/util/ip_spec.rb
443
- - spec/unit/util/registry_spec.rb
444
- - spec/unit/util/solaris_zones_spec.rb
445
- - spec/unit/util/dhcp_servers_spec.rb
446
- - spec/unit/util/uptime_spec.rb
447
- - spec/unit/util/xendomains_spec.rb
448
- - spec/unit/util/processor_spec.rb
449
- - spec/unit/util/wmi_spec.rb
450
- - spec/unit/util/macaddress_spec.rb
451
- - spec/unit/util/ec2_spec.rb
452
- - spec/unit/util/operatingsystem_spec.rb
453
- - spec/unit/util/loader_spec.rb
454
- - spec/unit/ec2/rest_spec.rb
455
- - spec/unit/operatingsystemmajrelease_spec.rb
456
- - spec/unit/operatingsystemrelease_spec.rb
457
- - spec/unit/partitions_spec.rb
458
- - spec/unit/ps_spec.rb
459
- - spec/unit/filesystems_spec.rb
460
- - spec/unit/lsbdistrelease_spec.rb
461
- - spec/unit/manufacturer_spec.rb
462
- - spec/unit/id_spec.rb
463
- - spec/unit/core/logging_spec.rb
424
+ - spec/unit/core/aggregate_spec.rb
464
425
  - spec/unit/core/directed_graph_spec.rb
465
- - spec/unit/core/execution/windows_spec.rb
466
426
  - spec/unit/core/execution/base_spec.rb
467
427
  - spec/unit/core/execution/posix_spec.rb
468
- - spec/unit/core/suitable_spec.rb
469
- - spec/unit/core/resolvable_spec.rb
470
- - spec/unit/core/aggregate_spec.rb
428
+ - spec/unit/core/execution/windows_spec.rb
471
429
  - spec/unit/core/execution_spec.rb
472
- - spec/unit/processors/os_spec.rb
473
- - spec/unit/ipaddress_spec.rb
474
- - spec/unit/ssh_spec.rb
475
- - spec/unit/system_uptime_spec.rb
476
- - spec/unit/hardwareisa_spec.rb
477
- - spec/unit/lsbminordistrelease_spec.rb
478
- - spec/unit/virtual_spec.rb
479
- - spec/unit/zpool_version_spec.rb
480
- - spec/unit/zones_spec.rb
481
- - spec/unit/ipaddress6_spec.rb
482
- - spec/unit/selinux_spec.rb
483
- - spec/unit/lsbdistdescription_spec.rb
484
- - spec/unit/kernelversion_spec.rb
485
- - spec/unit/lsbdistcodename_spec.rb
486
- - spec/unit/interfaces_spec.rb
487
- - spec/unit/kernel_spec.rb
488
- - spec/unit/memory_spec.rb
489
- - spec/unit/ldom_spec.rb
490
- - spec/unit/zfs_version_spec.rb
491
- - spec/unit/hardwaremodel_spec.rb
492
- - spec/unit/version_spec.rb
493
- - spec/unit/gce_spec.rb
494
- - spec/unit/netmask_spec.rb
495
- - spec/unit/kernelrelease_spec.rb
496
- - spec/unit/lsbrelease_spec.rb
430
+ - spec/unit/core/logging_spec.rb
431
+ - spec/unit/core/resolvable_spec.rb
432
+ - spec/unit/core/suitable_spec.rb
497
433
  - spec/unit/dhcp_servers_spec.rb
498
- - spec/unit/os_spec.rb
499
- - spec/unit/lsbmajdistrelease_spec.rb
500
- - spec/unit/uptime_spec.rb
501
- - spec/unit/rackspace_spec.rb
502
- - spec/unit/processor_spec.rb
434
+ - spec/unit/domain_spec.rb
435
+ - spec/unit/ec2/rest_spec.rb
436
+ - spec/unit/ec2_spec.rb
503
437
  - spec/unit/facter_spec.rb
438
+ - spec/unit/filesystems_spec.rb
439
+ - spec/unit/fqdn_spec.rb
440
+ - spec/unit/gce/metadata_spec.rb
441
+ - spec/unit/gce_spec.rb
504
442
  - spec/unit/gid_spec.rb
505
- - spec/unit/zonename_spec.rb
443
+ - spec/unit/hardwareisa_spec.rb
444
+ - spec/unit/hardwaremodel_spec.rb
506
445
  - spec/unit/hostname_spec.rb
507
- - spec/unit/gce/metadata_spec.rb
446
+ - spec/unit/id_spec.rb
447
+ - spec/unit/interfaces_spec.rb
448
+ - spec/unit/ipaddress6_spec.rb
449
+ - spec/unit/ipaddress_spec.rb
450
+ - spec/unit/kernel_spec.rb
451
+ - spec/unit/kernelmajversion_spec.rb
452
+ - spec/unit/kernelrelease_spec.rb
453
+ - spec/unit/kernelversion_spec.rb
454
+ - spec/unit/ldom_spec.rb
455
+ - spec/unit/lsbdistcodename_spec.rb
456
+ - spec/unit/lsbdistdescription_spec.rb
508
457
  - spec/unit/lsbdistid_spec.rb
458
+ - spec/unit/lsbdistrelease_spec.rb
459
+ - spec/unit/lsbmajdistrelease_spec.rb
460
+ - spec/unit/lsbminordistrelease_spec.rb
461
+ - spec/unit/lsbrelease_spec.rb
509
462
  - spec/unit/macaddress_spec.rb
510
- - spec/unit/domain_spec.rb
511
- - spec/unit/ec2_spec.rb
512
- - spec/unit/operatingsystem_spec.rb
513
- - spec/unit/operatingsystem/windows_spec.rb
463
+ - spec/unit/manufacturer_spec.rb
464
+ - spec/unit/memory_spec.rb
465
+ - spec/unit/netmask_spec.rb
514
466
  - spec/unit/operatingsystem/base_spec.rb
515
- - spec/unit/operatingsystem/linux_spec.rb
516
467
  - spec/unit/operatingsystem/cumuluslinux_spec.rb
468
+ - spec/unit/operatingsystem/implementation_spec.rb
469
+ - spec/unit/operatingsystem/linux_spec.rb
517
470
  - spec/unit/operatingsystem/sunos_spec.rb
518
471
  - spec/unit/operatingsystem/vmkernel_spec.rb
519
- - spec/unit/operatingsystem/implementation_spec.rb
520
- - spec/unit/system32_spec.rb
472
+ - spec/unit/operatingsystem/windows_spec.rb
473
+ - spec/unit/operatingsystem_spec.rb
474
+ - spec/unit/operatingsystemmajrelease_spec.rb
475
+ - spec/unit/operatingsystemrelease_spec.rb
476
+ - spec/unit/os_spec.rb
521
477
  - spec/unit/osfamily_spec.rb
522
- - spec/spec_helper.rb
478
+ - spec/unit/partitions_spec.rb
479
+ - spec/unit/physicalprocessorcount_spec.rb
480
+ - spec/unit/processor_spec.rb
481
+ - spec/unit/processors/os_spec.rb
482
+ - spec/unit/processors_spec.rb
483
+ - spec/unit/ps_spec.rb
484
+ - spec/unit/rackspace_spec.rb
485
+ - spec/unit/rubyplatform_spec.rb
486
+ - spec/unit/selinux_spec.rb
487
+ - spec/unit/ssh_spec.rb
488
+ - spec/unit/system32_spec.rb
489
+ - spec/unit/system_uptime_spec.rb
490
+ - spec/unit/uniqueid_spec.rb
491
+ - spec/unit/uptime_spec.rb
492
+ - spec/unit/util/collection_spec.rb
493
+ - spec/unit/util/config_spec.rb
494
+ - spec/unit/util/confine_spec.rb
495
+ - spec/unit/util/dhcp_servers_spec.rb
496
+ - spec/unit/util/directory_loader_spec.rb
497
+ - spec/unit/util/ec2_spec.rb
498
+ - spec/unit/util/fact_spec.rb
499
+ - spec/unit/util/file_read_spec.rb
500
+ - spec/unit/util/formatter_spec.rb
501
+ - spec/unit/util/ip/windows_spec.rb
502
+ - spec/unit/util/ip_spec.rb
503
+ - spec/unit/util/loader_spec.rb
504
+ - spec/unit/util/macaddress_spec.rb
505
+ - spec/unit/util/macosx_spec.rb
506
+ - spec/unit/util/manufacturer_spec.rb
507
+ - spec/unit/util/normalization_spec.rb
508
+ - spec/unit/util/operatingsystem_spec.rb
509
+ - spec/unit/util/parser_spec.rb
510
+ - spec/unit/util/partitions/partitions_spec.rb
511
+ - spec/unit/util/partitions_spec.rb
512
+ - spec/unit/util/posix_spec.rb
513
+ - spec/unit/util/processor_spec.rb
514
+ - spec/unit/util/registry_spec.rb
515
+ - spec/unit/util/resolution_spec.rb
516
+ - spec/unit/util/solaris_zones_spec.rb
517
+ - spec/unit/util/uptime_spec.rb
518
+ - spec/unit/util/values_spec.rb
519
+ - spec/unit/util/virtual_spec.rb
520
+ - spec/unit/util/vlans_spec.rb
521
+ - spec/unit/util/wmi_spec.rb
522
+ - spec/unit/util/xendomains_spec.rb
523
+ - spec/unit/version_spec.rb
524
+ - spec/unit/virtual_spec.rb
525
+ - spec/unit/zfs_version_spec.rb
526
+ - spec/unit/zonename_spec.rb
527
+ - spec/unit/zones_spec.rb
528
+ - spec/unit/zpool_version_spec.rb
523
529
  - spec/watchr.rb
524
- - spec/shared_contexts/platform.rb
525
530
  homepage: https://github.com/puppetlabs/facter
526
531
  licenses: []
532
+ metadata: {}
527
533
  post_install_message:
528
534
  rdoc_options: []
529
535
  require_paths:
530
536
  - lib
531
537
  required_ruby_version: !ruby/object:Gem::Requirement
532
- none: false
533
538
  requirements:
534
- - - ! '>='
539
+ - - ">="
535
540
  - !ruby/object:Gem::Version
536
541
  version: '0'
537
542
  required_rubygems_version: !ruby/object:Gem::Requirement
538
- none: false
539
543
  requirements:
540
- - - ! '>='
544
+ - - ">="
541
545
  - !ruby/object:Gem::Version
542
546
  version: '0'
543
547
  requirements: []
544
548
  rubyforge_project:
545
- rubygems_version: 1.8.23
549
+ rubygems_version: 2.4.8
546
550
  signing_key:
547
- specification_version: 3
551
+ specification_version: 4
548
552
  summary: Facter, a system inventory tool
549
553
  test_files:
550
- - spec/lib/facter_spec/windows_network.rb
551
- - spec/lib/facter_spec/cpuinfo.rb
554
+ - spec/fixtures/cpuinfo/amd64dual
555
+ - spec/fixtures/cpuinfo/amd64dual-grep
552
556
  - spec/fixtures/cpuinfo/amd64quad
553
- - spec/fixtures/cpuinfo/panda-armel
554
- - spec/fixtures/cpuinfo/ppc64
555
- - spec/fixtures/cpuinfo/amd64tri
556
- - spec/fixtures/cpuinfo/amd64twentyfour-grep
557
557
  - spec/fixtures/cpuinfo/amd64solo
558
- - spec/fixtures/cpuinfo/ppc64le
559
- - spec/fixtures/cpuinfo/beaglexm-armel
558
+ - spec/fixtures/cpuinfo/amd64tri
560
559
  - spec/fixtures/cpuinfo/amd64twentyfour
561
- - spec/fixtures/cpuinfo/sparc
562
- - spec/fixtures/cpuinfo/amd64dual
563
- - spec/fixtures/cpuinfo/two_singlecore-grep
564
- - spec/fixtures/cpuinfo/amd64dual-grep
560
+ - spec/fixtures/cpuinfo/amd64twentyfour-grep
565
561
  - spec/fixtures/cpuinfo/bbg3-armel
562
+ - spec/fixtures/cpuinfo/beaglexm-armel
563
+ - spec/fixtures/cpuinfo/panda-armel
564
+ - spec/fixtures/cpuinfo/ppc64
565
+ - spec/fixtures/cpuinfo/ppc64le
566
+ - spec/fixtures/cpuinfo/sparc
566
567
  - spec/fixtures/cpuinfo/two_multicore-grep
567
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
568
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
569
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
570
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
571
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
572
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
573
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
574
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
575
- - spec/fixtures/hpux/unistd.h
576
- - spec/fixtures/hpux/sched.models
577
- - spec/fixtures/hpux/machinfo/ia64-rx2620
578
- - spec/fixtures/hpux/machinfo/superdome2-16s
568
+ - spec/fixtures/cpuinfo/two_singlecore-grep
579
569
  - spec/fixtures/hpux/machinfo/hppa-rp4440
580
- - spec/fixtures/hpux/machinfo/ia64-rx8640
570
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
581
571
  - spec/fixtures/hpux/machinfo/ia64-rx6600
572
+ - spec/fixtures/hpux/machinfo/ia64-rx8640
582
573
  - spec/fixtures/hpux/machinfo/superdome-server-SD32B
583
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
584
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
574
+ - spec/fixtures/hpux/machinfo/superdome2-16s
575
+ - spec/fixtures/hpux/sched.models
576
+ - spec/fixtures/hpux/unistd.h
577
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
578
+ - spec/fixtures/ifconfig/centos_5_5
579
+ - spec/fixtures/ifconfig/centos_5_5_eth0
580
+ - spec/fixtures/ifconfig/darwin_10_3_0
581
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
582
+ - spec/fixtures/ifconfig/darwin_10_6_4
583
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
584
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
585
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
586
+ - spec/fixtures/ifconfig/darwin_9_8_0
587
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
588
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
589
+ - spec/fixtures/ifconfig/fedora_10
590
+ - spec/fixtures/ifconfig/fedora_10_eth0
591
+ - spec/fixtures/ifconfig/fedora_13
592
+ - spec/fixtures/ifconfig/fedora_13_eth0
593
+ - spec/fixtures/ifconfig/fedora_8
594
+ - spec/fixtures/ifconfig/fedora_8_eth0
595
+ - spec/fixtures/ifconfig/freebsd_6_0
596
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
597
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
598
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
599
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
600
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
601
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
602
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
603
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
604
+ - spec/fixtures/ifconfig/open_solaris_10
605
+ - spec/fixtures/ifconfig/open_solaris_b132
606
+ - spec/fixtures/ifconfig/openbsd_bridge_rules
607
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
608
+ - spec/fixtures/ifconfig/ubuntu_7_04
609
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
610
+ - spec/fixtures/ldom/ldom_v1
611
+ - spec/fixtures/netstat/centos_5_5
612
+ - spec/fixtures/netstat/darwin_10_3_0
613
+ - spec/fixtures/netstat/darwin_10_6_4
614
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
615
+ - spec/fixtures/netstat/darwin_9_8_0
616
+ - spec/fixtures/netstat/fedora_10
617
+ - spec/fixtures/netstat/open_solaris_10
618
+ - spec/fixtures/netstat/open_solaris_b132
619
+ - spec/fixtures/netstat/ubuntu_7_04
585
620
  - spec/fixtures/processorcount/solaris-psrinfo
586
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
587
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
588
- - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
621
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
622
+ - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
623
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices
624
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
625
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
626
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
627
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
628
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
629
+ - spec/fixtures/unit/dhcp_servers/route
630
+ - spec/fixtures/unit/dhcp_servers/route_nogw
631
+ - spec/fixtures/unit/ec2/rest/meta-data/root
632
+ - spec/fixtures/unit/filesystems/linux
633
+ - spec/fixtures/unit/gce/metadata/metadata.json
634
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
635
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
636
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
637
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
638
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
639
+ - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
640
+ - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
641
+ - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
642
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3
643
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
644
+ - spec/fixtures/unit/memory/aix-svmon
645
+ - spec/fixtures/unit/memory/aix-swap_l
646
+ - spec/fixtures/unit/memory/darwin-swapinfo-multiple
647
+ - spec/fixtures/unit/memory/darwin-swapinfo-single
648
+ - spec/fixtures/unit/memory/darwin-vm_stat
649
+ - spec/fixtures/unit/memory/dragonfly-vmstat
650
+ - spec/fixtures/unit/memory/freebsd-vmstat
651
+ - spec/fixtures/unit/memory/linux-proc_meminfo
652
+ - spec/fixtures/unit/memory/openbsd-vmstat
653
+ - spec/fixtures/unit/memory/smartos_zone_swap_l-single
654
+ - spec/fixtures/unit/memory/solaris-prtconf
655
+ - spec/fixtures/unit/memory/solaris-swap_l-multiple
656
+ - spec/fixtures/unit/memory/solaris-swap_l-single
657
+ - spec/fixtures/unit/memory/solaris-vmstat
589
658
  - spec/fixtures/unit/netmask/darwin_10_8_5.txt
590
- - spec/fixtures/unit/selinux/selinux_sestatus2
659
+ - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
660
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
661
+ - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
662
+ - spec/fixtures/unit/processors/os/darwin-system-profiler
591
663
  - spec/fixtures/unit/selinux/selinux_sestatus
592
- - spec/fixtures/unit/filesystems/linux
593
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
594
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
595
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
664
+ - spec/fixtures/unit/selinux/selinux_sestatus2
665
+ - spec/fixtures/unit/util/dhcp_servers/route
666
+ - spec/fixtures/unit/util/dhcp_servers/route_nogw
667
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
596
668
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
669
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
597
670
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
598
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
599
671
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
600
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
601
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
602
- - spec/fixtures/unit/util/processor/x86-pentium2
603
- - spec/fixtures/unit/util/processor/solaris-sun4u
604
- - spec/fixtures/unit/util/processor/solaris-i86pc
605
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
606
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
607
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
608
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
609
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
610
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
611
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
612
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
613
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
614
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
672
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
673
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
615
674
  - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
616
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
617
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
618
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
619
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
620
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
675
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
621
676
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
677
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
622
678
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
623
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
624
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
625
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
626
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
679
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
680
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
627
681
  - spec/fixtures/unit/util/ip/hpux_1111_lanscan
628
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
629
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
630
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
682
+ - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
683
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
684
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
685
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
686
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
687
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
688
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
689
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
690
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
631
691
  - spec/fixtures/unit/util/ip/hpux_1131_lanscan
632
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
633
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
692
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
693
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
634
694
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
695
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
635
696
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
697
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
698
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
636
699
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
637
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
638
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
639
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
640
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
700
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
701
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
641
702
  - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
642
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
643
- - spec/fixtures/unit/util/vlans/linux_vlan_config
703
+ - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
704
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
705
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
706
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
707
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
708
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
709
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
644
710
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
645
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
646
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
647
711
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
648
712
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
713
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
714
+ - spec/fixtures/unit/util/manufacturer/smartos_smbios
649
715
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
650
716
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
717
+ - spec/fixtures/unit/util/operatingsystem/coreos.txt
718
+ - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
719
+ - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
720
+ - spec/fixtures/unit/util/operatingsystem/sabayon.txt
721
+ - spec/fixtures/unit/util/operatingsystem/wheezy.txt
651
722
  - spec/fixtures/unit/util/partitions/partitions/mount
723
+ - spec/fixtures/unit/util/processor/solaris-i86pc
724
+ - spec/fixtures/unit/util/processor/solaris-sun4u
725
+ - spec/fixtures/unit/util/processor/x86-pentium2
726
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
652
727
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
653
728
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
654
729
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
655
- - spec/fixtures/unit/util/uptime/kstat_boot_time
656
- - spec/fixtures/unit/util/xendomains/xendomains
657
- - spec/fixtures/unit/util/dhcp_servers/route
658
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
659
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
660
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
661
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
662
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
663
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
664
- - spec/fixtures/unit/ec2/rest/meta-data/root
665
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
666
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
667
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
668
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
669
- - spec/fixtures/unit/processors/os/darwin-system-profiler
670
- - spec/fixtures/unit/zfs_version/zfs_new
671
- - spec/fixtures/unit/zfs_version/solaris_11
672
- - spec/fixtures/unit/zfs_version/freebsd_9.0
673
- - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
674
- - spec/fixtures/unit/zfs_version/zfs_old
675
- - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
676
- - spec/fixtures/unit/zfs_version/freebsd_8.2
677
- - spec/fixtures/unit/zfs_version/solaris_10
678
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
679
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
680
- - spec/fixtures/unit/memory/solaris-vmstat
681
- - spec/fixtures/unit/memory/dragonfly-vmstat
682
- - spec/fixtures/unit/memory/solaris-prtconf
683
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
684
- - spec/fixtures/unit/memory/aix-swap_l
685
- - spec/fixtures/unit/memory/solaris-swap_l-single
686
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
687
- - spec/fixtures/unit/memory/linux-proc_meminfo
688
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
689
- - spec/fixtures/unit/memory/darwin-vm_stat
690
- - spec/fixtures/unit/memory/aix-svmon
691
- - spec/fixtures/unit/memory/freebsd-vmstat
692
- - spec/fixtures/unit/memory/darwin-swapinfo-single
693
- - spec/fixtures/unit/memory/openbsd-vmstat
694
- - spec/fixtures/unit/gce/metadata/metadata.json
695
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
696
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
697
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
698
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
699
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
700
- - spec/fixtures/unit/dhcp_servers/route
701
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
702
- - spec/fixtures/unit/dhcp_servers/route_nogw
703
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
704
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
705
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
706
- - spec/fixtures/unit/zpool_version/solaris_11
730
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
731
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
732
+ - spec/fixtures/unit/util/vlans/centos-5-no-vlans
733
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
734
+ - spec/fixtures/unit/util/xendomains/xendomains
735
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
736
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
737
+ - spec/fixtures/unit/zfs_version/freebsd_9.0
738
+ - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
739
+ - spec/fixtures/unit/zfs_version/solaris_10
740
+ - spec/fixtures/unit/zfs_version/solaris_11
741
+ - spec/fixtures/unit/zfs_version/zfs_new
742
+ - spec/fixtures/unit/zfs_version/zfs_old
743
+ - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
744
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
707
745
  - spec/fixtures/unit/zpool_version/freebsd_9.0
708
746
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
709
- - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
710
- - spec/fixtures/unit/zpool_version/freebsd_8.2
711
747
  - spec/fixtures/unit/zpool_version/solaris_10
712
- - spec/fixtures/ifconfig/open_solaris_b132
713
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
714
- - spec/fixtures/ifconfig/freebsd_6_0
715
- - spec/fixtures/ifconfig/linux_ifconfig_venet
716
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
717
- - spec/fixtures/ifconfig/openbsd_bridge_rules
718
- - spec/fixtures/ifconfig/darwin_10_3_0
719
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
720
- - spec/fixtures/ifconfig/centos_5_5_eth0
721
- - spec/fixtures/ifconfig/fedora_8
722
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
723
- - spec/fixtures/ifconfig/centos_5_5
724
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
725
- - spec/fixtures/ifconfig/fedora_13
726
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
727
- - spec/fixtures/ifconfig/fedora_13_eth0
728
- - spec/fixtures/ifconfig/darwin_9_8_0
729
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
730
- - spec/fixtures/ifconfig/ubuntu_7_04
731
- - spec/fixtures/ifconfig/darwin_10_6_4
732
- - spec/fixtures/ifconfig/fedora_10_eth0
733
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
734
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
735
- - spec/fixtures/ifconfig/open_solaris_10
736
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
737
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
738
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
739
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
740
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
741
- - spec/fixtures/ifconfig/fedora_8_eth0
742
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
743
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
744
- - spec/fixtures/ifconfig/fedora_10
745
- - spec/fixtures/netstat/open_solaris_b132
746
- - spec/fixtures/netstat/darwin_10_3_0
747
- - spec/fixtures/netstat/centos_5_5
748
- - spec/fixtures/netstat/darwin_9_8_0
749
- - spec/fixtures/netstat/ubuntu_7_04
750
- - spec/fixtures/netstat/darwin_10_6_4
751
- - spec/fixtures/netstat/open_solaris_10
752
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
753
- - spec/fixtures/netstat/fedora_10
754
- - spec/fixtures/ldom/ldom_v1
755
- - spec/puppetlabs_spec_helper.rb
748
+ - spec/fixtures/unit/zpool_version/solaris_11
749
+ - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
750
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_container
751
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
752
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
753
+ - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
754
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
755
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
756
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
757
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
756
758
  - spec/integration/facter_spec.rb
759
+ - spec/integration/util/windows/user_spec.rb
760
+ - spec/lib/facter_spec/cpuinfo.rb
761
+ - spec/lib/facter_spec/windows_network.rb
762
+ - spec/puppetlabs_spec/files.rb
757
763
  - spec/puppetlabs_spec/fixtures.rb
758
764
  - spec/puppetlabs_spec/matchers.rb
759
- - spec/puppetlabs_spec/files.rb
760
765
  - spec/puppetlabs_spec/verbose.rb
766
+ - spec/puppetlabs_spec_helper.rb
761
767
  - spec/schema/validate_facter_schema.rb
768
+ - spec/shared_contexts/platform.rb
762
769
  - spec/shared_formats/parses.rb
763
- - spec/unit/physicalprocessorcount_spec.rb
764
- - spec/unit/fqdn_spec.rb
765
- - spec/unit/uniqueid_spec.rb
770
+ - spec/spec_helper.rb
766
771
  - spec/unit/application_spec.rb
767
- - spec/unit/kernelmajversion_spec.rb
768
772
  - spec/unit/architecture_spec.rb
769
773
  - spec/unit/blockdevices_spec.rb
770
- - spec/unit/processors_spec.rb
771
- - spec/unit/rubyplatform_spec.rb
772
- - spec/unit/util/file_read_spec.rb
773
- - spec/unit/util/normalization_spec.rb
774
- - spec/unit/util/partitions_spec.rb
775
- - spec/unit/util/confine_spec.rb
776
- - spec/unit/util/manufacturer_spec.rb
777
- - spec/unit/util/vlans_spec.rb
778
- - spec/unit/util/collection_spec.rb
779
- - spec/unit/util/formatter_spec.rb
780
- - spec/unit/util/ip/windows_spec.rb
781
- - spec/unit/util/posix_spec.rb
782
- - spec/unit/util/fact_spec.rb
783
- - spec/unit/util/config_spec.rb
784
- - spec/unit/util/resolution_spec.rb
785
- - spec/unit/util/virtual_spec.rb
786
- - spec/unit/util/macosx_spec.rb
787
- - spec/unit/util/directory_loader_spec.rb
788
- - spec/unit/util/parser_spec.rb
789
- - spec/unit/util/partitions/partitions_spec.rb
790
- - spec/unit/util/values_spec.rb
791
- - spec/unit/util/ip_spec.rb
792
- - spec/unit/util/registry_spec.rb
793
- - spec/unit/util/solaris_zones_spec.rb
794
- - spec/unit/util/dhcp_servers_spec.rb
795
- - spec/unit/util/uptime_spec.rb
796
- - spec/unit/util/xendomains_spec.rb
797
- - spec/unit/util/processor_spec.rb
798
- - spec/unit/util/wmi_spec.rb
799
- - spec/unit/util/macaddress_spec.rb
800
- - spec/unit/util/ec2_spec.rb
801
- - spec/unit/util/operatingsystem_spec.rb
802
- - spec/unit/util/loader_spec.rb
803
- - spec/unit/ec2/rest_spec.rb
804
- - spec/unit/operatingsystemmajrelease_spec.rb
805
- - spec/unit/operatingsystemrelease_spec.rb
806
- - spec/unit/partitions_spec.rb
807
- - spec/unit/ps_spec.rb
808
- - spec/unit/filesystems_spec.rb
809
- - spec/unit/lsbdistrelease_spec.rb
810
- - spec/unit/manufacturer_spec.rb
811
- - spec/unit/id_spec.rb
812
- - spec/unit/core/logging_spec.rb
774
+ - spec/unit/core/aggregate_spec.rb
813
775
  - spec/unit/core/directed_graph_spec.rb
814
- - spec/unit/core/execution/windows_spec.rb
815
776
  - spec/unit/core/execution/base_spec.rb
816
777
  - spec/unit/core/execution/posix_spec.rb
817
- - spec/unit/core/suitable_spec.rb
818
- - spec/unit/core/resolvable_spec.rb
819
- - spec/unit/core/aggregate_spec.rb
778
+ - spec/unit/core/execution/windows_spec.rb
820
779
  - spec/unit/core/execution_spec.rb
821
- - spec/unit/processors/os_spec.rb
822
- - spec/unit/ipaddress_spec.rb
823
- - spec/unit/ssh_spec.rb
824
- - spec/unit/system_uptime_spec.rb
825
- - spec/unit/hardwareisa_spec.rb
826
- - spec/unit/lsbminordistrelease_spec.rb
827
- - spec/unit/virtual_spec.rb
828
- - spec/unit/zpool_version_spec.rb
829
- - spec/unit/zones_spec.rb
830
- - spec/unit/ipaddress6_spec.rb
831
- - spec/unit/selinux_spec.rb
832
- - spec/unit/lsbdistdescription_spec.rb
833
- - spec/unit/kernelversion_spec.rb
834
- - spec/unit/lsbdistcodename_spec.rb
835
- - spec/unit/interfaces_spec.rb
836
- - spec/unit/kernel_spec.rb
837
- - spec/unit/memory_spec.rb
838
- - spec/unit/ldom_spec.rb
839
- - spec/unit/zfs_version_spec.rb
840
- - spec/unit/hardwaremodel_spec.rb
841
- - spec/unit/version_spec.rb
842
- - spec/unit/gce_spec.rb
843
- - spec/unit/netmask_spec.rb
844
- - spec/unit/kernelrelease_spec.rb
845
- - spec/unit/lsbrelease_spec.rb
780
+ - spec/unit/core/logging_spec.rb
781
+ - spec/unit/core/resolvable_spec.rb
782
+ - spec/unit/core/suitable_spec.rb
846
783
  - spec/unit/dhcp_servers_spec.rb
847
- - spec/unit/os_spec.rb
848
- - spec/unit/lsbmajdistrelease_spec.rb
849
- - spec/unit/uptime_spec.rb
850
- - spec/unit/rackspace_spec.rb
851
- - spec/unit/processor_spec.rb
784
+ - spec/unit/domain_spec.rb
785
+ - spec/unit/ec2/rest_spec.rb
786
+ - spec/unit/ec2_spec.rb
852
787
  - spec/unit/facter_spec.rb
788
+ - spec/unit/filesystems_spec.rb
789
+ - spec/unit/fqdn_spec.rb
790
+ - spec/unit/gce/metadata_spec.rb
791
+ - spec/unit/gce_spec.rb
853
792
  - spec/unit/gid_spec.rb
854
- - spec/unit/zonename_spec.rb
793
+ - spec/unit/hardwareisa_spec.rb
794
+ - spec/unit/hardwaremodel_spec.rb
855
795
  - spec/unit/hostname_spec.rb
856
- - spec/unit/gce/metadata_spec.rb
796
+ - spec/unit/id_spec.rb
797
+ - spec/unit/interfaces_spec.rb
798
+ - spec/unit/ipaddress6_spec.rb
799
+ - spec/unit/ipaddress_spec.rb
800
+ - spec/unit/kernel_spec.rb
801
+ - spec/unit/kernelmajversion_spec.rb
802
+ - spec/unit/kernelrelease_spec.rb
803
+ - spec/unit/kernelversion_spec.rb
804
+ - spec/unit/ldom_spec.rb
805
+ - spec/unit/lsbdistcodename_spec.rb
806
+ - spec/unit/lsbdistdescription_spec.rb
857
807
  - spec/unit/lsbdistid_spec.rb
808
+ - spec/unit/lsbdistrelease_spec.rb
809
+ - spec/unit/lsbmajdistrelease_spec.rb
810
+ - spec/unit/lsbminordistrelease_spec.rb
811
+ - spec/unit/lsbrelease_spec.rb
858
812
  - spec/unit/macaddress_spec.rb
859
- - spec/unit/domain_spec.rb
860
- - spec/unit/ec2_spec.rb
861
- - spec/unit/operatingsystem_spec.rb
862
- - spec/unit/operatingsystem/windows_spec.rb
813
+ - spec/unit/manufacturer_spec.rb
814
+ - spec/unit/memory_spec.rb
815
+ - spec/unit/netmask_spec.rb
863
816
  - spec/unit/operatingsystem/base_spec.rb
864
- - spec/unit/operatingsystem/linux_spec.rb
865
817
  - spec/unit/operatingsystem/cumuluslinux_spec.rb
818
+ - spec/unit/operatingsystem/implementation_spec.rb
819
+ - spec/unit/operatingsystem/linux_spec.rb
866
820
  - spec/unit/operatingsystem/sunos_spec.rb
867
821
  - spec/unit/operatingsystem/vmkernel_spec.rb
868
- - spec/unit/operatingsystem/implementation_spec.rb
869
- - spec/unit/system32_spec.rb
822
+ - spec/unit/operatingsystem/windows_spec.rb
823
+ - spec/unit/operatingsystem_spec.rb
824
+ - spec/unit/operatingsystemmajrelease_spec.rb
825
+ - spec/unit/operatingsystemrelease_spec.rb
826
+ - spec/unit/os_spec.rb
870
827
  - spec/unit/osfamily_spec.rb
871
- - spec/spec_helper.rb
828
+ - spec/unit/partitions_spec.rb
829
+ - spec/unit/physicalprocessorcount_spec.rb
830
+ - spec/unit/processor_spec.rb
831
+ - spec/unit/processors/os_spec.rb
832
+ - spec/unit/processors_spec.rb
833
+ - spec/unit/ps_spec.rb
834
+ - spec/unit/rackspace_spec.rb
835
+ - spec/unit/rubyplatform_spec.rb
836
+ - spec/unit/selinux_spec.rb
837
+ - spec/unit/ssh_spec.rb
838
+ - spec/unit/system32_spec.rb
839
+ - spec/unit/system_uptime_spec.rb
840
+ - spec/unit/uniqueid_spec.rb
841
+ - spec/unit/uptime_spec.rb
842
+ - spec/unit/util/collection_spec.rb
843
+ - spec/unit/util/config_spec.rb
844
+ - spec/unit/util/confine_spec.rb
845
+ - spec/unit/util/dhcp_servers_spec.rb
846
+ - spec/unit/util/directory_loader_spec.rb
847
+ - spec/unit/util/ec2_spec.rb
848
+ - spec/unit/util/fact_spec.rb
849
+ - spec/unit/util/file_read_spec.rb
850
+ - spec/unit/util/formatter_spec.rb
851
+ - spec/unit/util/ip/windows_spec.rb
852
+ - spec/unit/util/ip_spec.rb
853
+ - spec/unit/util/loader_spec.rb
854
+ - spec/unit/util/macaddress_spec.rb
855
+ - spec/unit/util/macosx_spec.rb
856
+ - spec/unit/util/manufacturer_spec.rb
857
+ - spec/unit/util/normalization_spec.rb
858
+ - spec/unit/util/operatingsystem_spec.rb
859
+ - spec/unit/util/parser_spec.rb
860
+ - spec/unit/util/partitions/partitions_spec.rb
861
+ - spec/unit/util/partitions_spec.rb
862
+ - spec/unit/util/posix_spec.rb
863
+ - spec/unit/util/processor_spec.rb
864
+ - spec/unit/util/registry_spec.rb
865
+ - spec/unit/util/resolution_spec.rb
866
+ - spec/unit/util/solaris_zones_spec.rb
867
+ - spec/unit/util/uptime_spec.rb
868
+ - spec/unit/util/values_spec.rb
869
+ - spec/unit/util/virtual_spec.rb
870
+ - spec/unit/util/vlans_spec.rb
871
+ - spec/unit/util/wmi_spec.rb
872
+ - spec/unit/util/xendomains_spec.rb
873
+ - spec/unit/version_spec.rb
874
+ - spec/unit/virtual_spec.rb
875
+ - spec/unit/zfs_version_spec.rb
876
+ - spec/unit/zonename_spec.rb
877
+ - spec/unit/zones_spec.rb
878
+ - spec/unit/zpool_version_spec.rb
872
879
  - spec/watchr.rb
873
- - spec/shared_contexts/platform.rb