facter 2.4.6-x64-mingw32 → 2.5.0-x64-mingw32

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,64 +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: x64-mingw32
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: ffi
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.9.5
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
26
  version: 1.9.5
30
- - !ruby/object:Gem::Dependency
31
- name: win32-dir
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 0.4.8
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 0.4.8
46
- - !ruby/object:Gem::Dependency
47
- name: win32-security
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.2.5
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.2.5
62
27
  description: You can prove anything with facts!
63
28
  email: info@puppetlabs.com
64
29
  executables:
@@ -66,840 +31,849 @@ executables:
66
31
  extensions: []
67
32
  extra_rdoc_files: []
68
33
  files:
69
- - CONTRIBUTING.md
70
- - Rakefile
71
- - LICENSE
72
34
  - COMMITTERS.md
35
+ - CONTRIBUTING.md
73
36
  - Gemfile
37
+ - LICENSE
74
38
  - README.md
75
- - install.rb
39
+ - Rakefile
76
40
  - bin/facter
77
41
  - etc/facter.conf
78
- - ext/solaris/pkginfo
79
- - ext/ips/rules
80
- - ext/ips/transforms
81
- - ext/ips/facter.p5m.erb
82
- - ext/project_data.yaml
83
42
  - ext/build_defaults.yaml
84
- - ext/facter-diff
43
+ - ext/debian/changelog.erb
85
44
  - ext/debian/compat
86
- - ext/debian/source/format
87
- - ext/debian/rules
88
45
  - ext/debian/control
46
+ - ext/debian/copyright
89
47
  - ext/debian/docs
90
48
  - ext/debian/lintian-overrides
91
- - ext/debian/changelog.erb
92
- - ext/debian/copyright
93
- - 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
94
55
  - ext/osx/file_mapping.yaml
56
+ - ext/osx/preflight.erb
95
57
  - ext/osx/prototype.plist.erb
58
+ - ext/project_data.yaml
96
59
  - ext/redhat/facter.spec.erb
60
+ - ext/solaris/pkginfo
61
+ - install.rb
97
62
  - lib/facter.rb
98
- - lib/facter/zones.rb
99
- - 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
100
86
  - lib/facter/gid.rb
101
- - lib/facter/lsbmajdistrelease.rb
102
- - lib/facter/version.rb
87
+ - lib/facter/hardwareisa.rb
103
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
104
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
105
133
  - lib/facter/puppetversion.rb
106
- - lib/facter/dhcp_servers.rb
134
+ - lib/facter/rackspace.rb
107
135
  - lib/facter/rubyplatform.rb
108
- - lib/facter/blockdevices.rb
109
- - lib/facter/path.rb
136
+ - lib/facter/rubysitedir.rb
137
+ - lib/facter/rubyversion.rb
138
+ - lib/facter/selinux.rb
139
+ - lib/facter/ssh.rb
110
140
  - lib/facter/system32.rb
111
- - lib/facter/partitions.rb
112
- - lib/facter/augeasversion.rb
113
- - 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
114
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
115
158
  - lib/facter/util/formatter.rb
116
- - lib/facter/util/partitions.rb
159
+ - lib/facter/util/ip.rb
160
+ - lib/facter/util/ip/windows.rb
117
161
  - lib/facter/util/loader.rb
118
- - lib/facter/util/plist.rb
119
162
  - lib/facter/util/macaddress.rb
120
- - 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
121
169
  - lib/facter/util/operatingsystem.rb
122
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
123
177
  - lib/facter/util/posix.rb
124
- - lib/facter/util/ip/windows.rb
178
+ - lib/facter/util/processor.rb
125
179
  - lib/facter/util/registry.rb
126
- - lib/facter/util/uptime.rb
127
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
128
185
  - lib/facter/util/virtual.rb
129
- - lib/facter/util/config.rb
130
- - lib/facter/util/netmask.rb
131
186
  - lib/facter/util/vlans.rb
132
- - lib/facter/util/macosx.rb
133
- - lib/facter/util/partitions/openbsd.rb
134
- - lib/facter/util/partitions/linux.rb
135
- - lib/facter/util/nothing_loader.rb
136
- - lib/facter/util/xendomains.rb
137
- - lib/facter/util/collection.rb
138
- - lib/facter/util/architecture.rb
139
- - lib/facter/util/normalization.rb
140
- - lib/facter/util/confine.rb
141
- - lib/facter/util/plist/parser.rb
142
- - lib/facter/util/plist/generator.rb
143
- - lib/facter/util/solaris_zones.rb
144
- - lib/facter/util/memory.rb
145
- - 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
146
194
  - lib/facter/util/wmi.rb
147
- - lib/facter/util/directory_loader.rb
148
- - lib/facter/util/ec2.rb
149
- - lib/facter/util/file_read.rb
150
- - lib/facter/util/ip.rb
151
- - lib/facter/util/composite_loader.rb
152
- - lib/facter/util/manufacturer.rb
153
- - lib/facter/util/processor.rb
154
- - lib/facter/util/unix_root.rb
155
- - lib/facter/ec2/rest.rb
156
- - lib/facter/macaddress.rb
157
- - lib/facter/rubyversion.rb
158
- - lib/facter/hostname.rb
159
- - lib/facter/operatingsystem.rb
160
- - lib/facter/lsbdistrelease.rb
161
- - lib/facter/timezone.rb
162
- - lib/facter/facterversion.rb
163
- - lib/facter/core/suitable.rb
164
- - lib/facter/core/resolvable.rb
165
- - lib/facter/core/directed_graph.rb
166
- - lib/facter/core/execution/windows.rb
167
- - lib/facter/core/execution/posix.rb
168
- - lib/facter/core/execution/base.rb
169
- - lib/facter/core/execution.rb
170
- - lib/facter/core/aggregate.rb
171
- - lib/facter/core/logging.rb
172
- - lib/facter/processors/os.rb
173
- - lib/facter/processors.rb
174
- - lib/facter/zfs_version.rb
175
- - lib/facter/uptime_seconds.rb
176
- - lib/facter/uptime.rb
177
- - lib/facter/ps.rb
178
- - lib/facter/operatingsystemmajrelease.rb
179
- - lib/facter/kernelversion.rb
195
+ - lib/facter/util/xendomains.rb
196
+ - lib/facter/version.rb
180
197
  - lib/facter/virtual.rb
181
- - lib/facter/lsbdistdescription.rb
182
- - lib/facter/lsbrelease.rb
183
- - lib/facter/fqdn.rb
184
- - lib/facter/selinux.rb
185
- - lib/facter/gce.rb
186
- - lib/facter/netmask.rb
187
- - lib/facter/interfaces.rb
188
198
  - lib/facter/vlans.rb
189
- - lib/facter/macosx.rb
190
- - lib/facter/Cfkey.rb
191
- - lib/facter/application.rb
192
- - lib/facter/ipaddress6.rb
193
- - lib/facter/id.rb
194
- - lib/facter/lsbdistcodename.rb
195
- - lib/facter/zpool_version.rb
196
199
  - lib/facter/xendomains.rb
197
- - lib/facter/os.rb
198
- - lib/facter/architecture.rb
199
- - lib/facter/ldom.rb
200
- - lib/facter/operatingsystemrelease.rb
200
+ - lib/facter/zfs_version.rb
201
201
  - lib/facter/zonename.rb
202
- - lib/facter/osfamily.rb
203
- - lib/facter/lsbdistid.rb
204
- - lib/facter/rubysitedir.rb
205
- - lib/facter/network.rb
206
- - lib/facter/lsbminordistrelease.rb
207
- - lib/facter/iphostnumber.rb
208
- - lib/facter/uptime_days.rb
209
- - lib/facter/ipaddress.rb
210
- - lib/facter/memory.rb
211
- - lib/facter/filesystems.rb
212
- - lib/facter/hardwareisa.rb
213
- - lib/facter/gce/metadata.rb
214
- - lib/facter/uniqueid.rb
215
- - lib/facter/ssh.rb
216
- - lib/facter/ec2.rb
217
- - lib/facter/kernel.rb
218
- - lib/facter/uptime_hours.rb
219
- - lib/facter/rackspace.rb
220
- - lib/facter/physicalprocessorcount.rb
221
- - lib/facter/manufacturer.rb
222
- - lib/facter/processor.rb
223
- - lib/facter/operatingsystem/windows.rb
224
- - lib/facter/operatingsystem/sunos.rb
225
- - lib/facter/operatingsystem/implementation.rb
226
- - lib/facter/operatingsystem/vmkernel.rb
227
- - lib/facter/operatingsystem/cumuluslinux.rb
228
- - lib/facter/operatingsystem/linux.rb
229
- - lib/facter/operatingsystem/osreleaselinux.rb
230
- - lib/facter/operatingsystem/base.rb
231
- - lib/facter/kernelmajversion.rb
232
- - lib/facter/domain.rb
233
- - spec/lib/facter_spec/windows_network.rb
234
- - 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
235
206
  - spec/fixtures/cpuinfo/amd64quad
236
- - spec/fixtures/cpuinfo/panda-armel
237
- - spec/fixtures/cpuinfo/ppc64
207
+ - spec/fixtures/cpuinfo/amd64solo
238
208
  - spec/fixtures/cpuinfo/amd64tri
209
+ - spec/fixtures/cpuinfo/amd64twentyfour
239
210
  - spec/fixtures/cpuinfo/amd64twentyfour-grep
240
- - spec/fixtures/cpuinfo/amd64solo
241
- - spec/fixtures/cpuinfo/ppc64le
211
+ - spec/fixtures/cpuinfo/bbg3-armel
242
212
  - spec/fixtures/cpuinfo/beaglexm-armel
243
- - spec/fixtures/cpuinfo/amd64twentyfour
213
+ - spec/fixtures/cpuinfo/panda-armel
214
+ - spec/fixtures/cpuinfo/ppc64
215
+ - spec/fixtures/cpuinfo/ppc64le
244
216
  - spec/fixtures/cpuinfo/sparc
245
- - spec/fixtures/cpuinfo/amd64dual
246
- - spec/fixtures/cpuinfo/two_singlecore-grep
247
- - spec/fixtures/cpuinfo/amd64dual-grep
248
- - spec/fixtures/cpuinfo/bbg3-armel
249
217
  - spec/fixtures/cpuinfo/two_multicore-grep
250
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
251
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
252
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
253
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
254
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
255
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
256
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
257
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
258
- - spec/fixtures/hpux/unistd.h
259
- - spec/fixtures/hpux/sched.models
260
- - spec/fixtures/hpux/machinfo/ia64-rx2620
261
- - spec/fixtures/hpux/machinfo/superdome2-16s
218
+ - spec/fixtures/cpuinfo/two_singlecore-grep
262
219
  - spec/fixtures/hpux/machinfo/hppa-rp4440
263
- - spec/fixtures/hpux/machinfo/ia64-rx8640
220
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
264
221
  - spec/fixtures/hpux/machinfo/ia64-rx6600
222
+ - spec/fixtures/hpux/machinfo/ia64-rx8640
265
223
  - spec/fixtures/hpux/machinfo/superdome-server-SD32B
266
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
267
- - 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
268
270
  - spec/fixtures/processorcount/solaris-psrinfo
269
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
270
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
271
- - 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
272
308
  - spec/fixtures/unit/netmask/darwin_10_8_5.txt
273
- - 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
274
313
  - spec/fixtures/unit/selinux/selinux_sestatus
275
- - spec/fixtures/unit/filesystems/linux
276
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
277
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
278
- - 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
279
318
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
319
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
280
320
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
281
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
282
321
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
283
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
284
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
285
- - spec/fixtures/unit/util/processor/x86-pentium2
286
- - spec/fixtures/unit/util/processor/solaris-sun4u
287
- - spec/fixtures/unit/util/processor/solaris-i86pc
288
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
289
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
290
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
291
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
292
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
293
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
294
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
295
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
296
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
297
- - 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
298
324
  - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
299
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
300
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
301
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
302
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
303
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
325
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
304
326
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
327
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
305
328
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
306
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
307
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
308
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
309
- - 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
310
331
  - spec/fixtures/unit/util/ip/hpux_1111_lanscan
311
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
312
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
313
- - 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
314
341
  - spec/fixtures/unit/util/ip/hpux_1131_lanscan
315
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
316
- - 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
317
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
318
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
319
349
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
320
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
321
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
322
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
323
- - 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
324
352
  - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
325
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
326
- - 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
327
360
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
328
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
329
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
330
361
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
331
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
332
365
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
333
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
334
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
335
377
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
336
378
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
337
379
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
338
- - 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
339
384
  - spec/fixtures/unit/util/xendomains/xendomains
340
- - spec/fixtures/unit/util/dhcp_servers/route
341
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
342
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
343
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
344
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
345
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
346
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
347
- - spec/fixtures/unit/ec2/rest/meta-data/root
348
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
349
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
350
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
351
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
352
- - spec/fixtures/unit/processors/os/darwin-system-profiler
353
- - spec/fixtures/unit/zfs_version/zfs_new
354
- - 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
355
387
  - spec/fixtures/unit/zfs_version/freebsd_9.0
356
388
  - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
357
- - spec/fixtures/unit/zfs_version/zfs_old
358
- - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
359
- - spec/fixtures/unit/zfs_version/freebsd_8.2
360
389
  - spec/fixtures/unit/zfs_version/solaris_10
361
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
362
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
363
- - spec/fixtures/unit/memory/solaris-vmstat
364
- - spec/fixtures/unit/memory/dragonfly-vmstat
365
- - spec/fixtures/unit/memory/solaris-prtconf
366
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
367
- - spec/fixtures/unit/memory/aix-swap_l
368
- - spec/fixtures/unit/memory/solaris-swap_l-single
369
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
370
- - spec/fixtures/unit/memory/linux-proc_meminfo
371
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
372
- - spec/fixtures/unit/memory/darwin-vm_stat
373
- - spec/fixtures/unit/memory/aix-svmon
374
- - spec/fixtures/unit/memory/freebsd-vmstat
375
- - spec/fixtures/unit/memory/darwin-swapinfo-single
376
- - spec/fixtures/unit/memory/openbsd-vmstat
377
- - spec/fixtures/unit/gce/metadata/metadata.json
378
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
379
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
380
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
381
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
382
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
383
- - spec/fixtures/unit/dhcp_servers/route
384
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
385
- - spec/fixtures/unit/dhcp_servers/route_nogw
386
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
387
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
388
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
389
- - spec/fixtures/unit/zpool_version/solaris_11
390
+ - spec/fixtures/unit/zfs_version/solaris_11
391
+ - spec/fixtures/unit/zfs_version/zfs_new
392
+ - spec/fixtures/unit/zfs_version/zfs_old
393
+ - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
394
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
390
395
  - spec/fixtures/unit/zpool_version/freebsd_9.0
391
396
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
392
- - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
393
- - spec/fixtures/unit/zpool_version/freebsd_8.2
394
397
  - spec/fixtures/unit/zpool_version/solaris_10
395
- - spec/fixtures/ifconfig/open_solaris_b132
396
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
397
- - spec/fixtures/ifconfig/freebsd_6_0
398
- - spec/fixtures/ifconfig/linux_ifconfig_venet
399
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
400
- - spec/fixtures/ifconfig/openbsd_bridge_rules
401
- - spec/fixtures/ifconfig/darwin_10_3_0
402
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
403
- - spec/fixtures/ifconfig/centos_5_5_eth0
404
- - spec/fixtures/ifconfig/fedora_8
405
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
406
- - spec/fixtures/ifconfig/centos_5_5
407
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
408
- - spec/fixtures/ifconfig/fedora_13
409
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
410
- - spec/fixtures/ifconfig/fedora_13_eth0
411
- - spec/fixtures/ifconfig/darwin_9_8_0
412
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
413
- - spec/fixtures/ifconfig/ubuntu_7_04
414
- - spec/fixtures/ifconfig/darwin_10_6_4
415
- - spec/fixtures/ifconfig/fedora_10_eth0
416
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
417
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
418
- - spec/fixtures/ifconfig/open_solaris_10
419
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
420
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
421
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
422
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
423
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
424
- - spec/fixtures/ifconfig/fedora_8_eth0
425
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
426
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
427
- - spec/fixtures/ifconfig/fedora_10
428
- - spec/fixtures/netstat/open_solaris_b132
429
- - spec/fixtures/netstat/darwin_10_3_0
430
- - spec/fixtures/netstat/centos_5_5
431
- - spec/fixtures/netstat/darwin_9_8_0
432
- - spec/fixtures/netstat/ubuntu_7_04
433
- - spec/fixtures/netstat/darwin_10_6_4
434
- - spec/fixtures/netstat/open_solaris_10
435
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
436
- - spec/fixtures/netstat/fedora_10
437
- - spec/fixtures/ldom/ldom_v1
438
- - 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
439
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
440
413
  - spec/puppetlabs_spec/fixtures.rb
441
414
  - spec/puppetlabs_spec/matchers.rb
442
- - spec/puppetlabs_spec/files.rb
443
415
  - spec/puppetlabs_spec/verbose.rb
416
+ - spec/puppetlabs_spec_helper.rb
444
417
  - spec/schema/validate_facter_schema.rb
418
+ - spec/shared_contexts/platform.rb
445
419
  - spec/shared_formats/parses.rb
446
- - spec/unit/physicalprocessorcount_spec.rb
447
- - spec/unit/fqdn_spec.rb
448
- - spec/unit/uniqueid_spec.rb
420
+ - spec/spec_helper.rb
449
421
  - spec/unit/application_spec.rb
450
- - spec/unit/kernelmajversion_spec.rb
451
422
  - spec/unit/architecture_spec.rb
452
423
  - spec/unit/blockdevices_spec.rb
453
- - spec/unit/processors_spec.rb
454
- - spec/unit/rubyplatform_spec.rb
455
- - spec/unit/util/file_read_spec.rb
456
- - spec/unit/util/normalization_spec.rb
457
- - spec/unit/util/partitions_spec.rb
458
- - spec/unit/util/confine_spec.rb
459
- - spec/unit/util/manufacturer_spec.rb
460
- - spec/unit/util/vlans_spec.rb
461
- - spec/unit/util/collection_spec.rb
462
- - spec/unit/util/formatter_spec.rb
463
- - spec/unit/util/ip/windows_spec.rb
464
- - spec/unit/util/posix_spec.rb
465
- - spec/unit/util/fact_spec.rb
466
- - spec/unit/util/config_spec.rb
467
- - spec/unit/util/resolution_spec.rb
468
- - spec/unit/util/virtual_spec.rb
469
- - spec/unit/util/macosx_spec.rb
470
- - spec/unit/util/directory_loader_spec.rb
471
- - spec/unit/util/parser_spec.rb
472
- - spec/unit/util/partitions/partitions_spec.rb
473
- - spec/unit/util/values_spec.rb
474
- - spec/unit/util/ip_spec.rb
475
- - spec/unit/util/registry_spec.rb
476
- - spec/unit/util/solaris_zones_spec.rb
477
- - spec/unit/util/dhcp_servers_spec.rb
478
- - spec/unit/util/uptime_spec.rb
479
- - spec/unit/util/xendomains_spec.rb
480
- - spec/unit/util/processor_spec.rb
481
- - spec/unit/util/wmi_spec.rb
482
- - spec/unit/util/macaddress_spec.rb
483
- - spec/unit/util/ec2_spec.rb
484
- - spec/unit/util/operatingsystem_spec.rb
485
- - spec/unit/util/loader_spec.rb
486
- - spec/unit/ec2/rest_spec.rb
487
- - spec/unit/operatingsystemmajrelease_spec.rb
488
- - spec/unit/operatingsystemrelease_spec.rb
489
- - spec/unit/partitions_spec.rb
490
- - spec/unit/ps_spec.rb
491
- - spec/unit/filesystems_spec.rb
492
- - spec/unit/lsbdistrelease_spec.rb
493
- - spec/unit/manufacturer_spec.rb
494
- - spec/unit/id_spec.rb
495
- - spec/unit/core/logging_spec.rb
424
+ - spec/unit/core/aggregate_spec.rb
496
425
  - spec/unit/core/directed_graph_spec.rb
497
- - spec/unit/core/execution/windows_spec.rb
498
426
  - spec/unit/core/execution/base_spec.rb
499
427
  - spec/unit/core/execution/posix_spec.rb
500
- - spec/unit/core/suitable_spec.rb
501
- - spec/unit/core/resolvable_spec.rb
502
- - spec/unit/core/aggregate_spec.rb
428
+ - spec/unit/core/execution/windows_spec.rb
503
429
  - spec/unit/core/execution_spec.rb
504
- - spec/unit/processors/os_spec.rb
505
- - spec/unit/ipaddress_spec.rb
506
- - spec/unit/ssh_spec.rb
507
- - spec/unit/system_uptime_spec.rb
508
- - spec/unit/hardwareisa_spec.rb
509
- - spec/unit/lsbminordistrelease_spec.rb
510
- - spec/unit/virtual_spec.rb
511
- - spec/unit/zpool_version_spec.rb
512
- - spec/unit/zones_spec.rb
513
- - spec/unit/ipaddress6_spec.rb
514
- - spec/unit/selinux_spec.rb
515
- - spec/unit/lsbdistdescription_spec.rb
516
- - spec/unit/kernelversion_spec.rb
517
- - spec/unit/lsbdistcodename_spec.rb
518
- - spec/unit/interfaces_spec.rb
519
- - spec/unit/kernel_spec.rb
520
- - spec/unit/memory_spec.rb
521
- - spec/unit/ldom_spec.rb
522
- - spec/unit/zfs_version_spec.rb
523
- - spec/unit/hardwaremodel_spec.rb
524
- - spec/unit/version_spec.rb
525
- - spec/unit/gce_spec.rb
526
- - spec/unit/netmask_spec.rb
527
- - spec/unit/kernelrelease_spec.rb
528
- - 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
529
433
  - spec/unit/dhcp_servers_spec.rb
530
- - spec/unit/os_spec.rb
531
- - spec/unit/lsbmajdistrelease_spec.rb
532
- - spec/unit/uptime_spec.rb
533
- - spec/unit/rackspace_spec.rb
534
- - spec/unit/processor_spec.rb
434
+ - spec/unit/domain_spec.rb
435
+ - spec/unit/ec2/rest_spec.rb
436
+ - spec/unit/ec2_spec.rb
535
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
536
442
  - spec/unit/gid_spec.rb
537
- - spec/unit/zonename_spec.rb
443
+ - spec/unit/hardwareisa_spec.rb
444
+ - spec/unit/hardwaremodel_spec.rb
538
445
  - spec/unit/hostname_spec.rb
539
- - 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
540
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
541
462
  - spec/unit/macaddress_spec.rb
542
- - spec/unit/domain_spec.rb
543
- - spec/unit/ec2_spec.rb
544
- - spec/unit/operatingsystem_spec.rb
545
- - spec/unit/operatingsystem/windows_spec.rb
463
+ - spec/unit/manufacturer_spec.rb
464
+ - spec/unit/memory_spec.rb
465
+ - spec/unit/netmask_spec.rb
546
466
  - spec/unit/operatingsystem/base_spec.rb
547
- - spec/unit/operatingsystem/linux_spec.rb
548
467
  - spec/unit/operatingsystem/cumuluslinux_spec.rb
468
+ - spec/unit/operatingsystem/implementation_spec.rb
469
+ - spec/unit/operatingsystem/linux_spec.rb
549
470
  - spec/unit/operatingsystem/sunos_spec.rb
550
471
  - spec/unit/operatingsystem/vmkernel_spec.rb
551
- - spec/unit/operatingsystem/implementation_spec.rb
552
- - 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
553
477
  - spec/unit/osfamily_spec.rb
554
- - 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
555
529
  - spec/watchr.rb
556
- - spec/shared_contexts/platform.rb
557
530
  homepage: https://github.com/puppetlabs/facter
558
531
  licenses: []
532
+ metadata: {}
559
533
  post_install_message:
560
534
  rdoc_options: []
561
535
  require_paths:
562
536
  - lib
563
537
  required_ruby_version: !ruby/object:Gem::Requirement
564
- none: false
565
538
  requirements:
566
- - - ! '>='
539
+ - - ">="
567
540
  - !ruby/object:Gem::Version
568
541
  version: '0'
569
542
  required_rubygems_version: !ruby/object:Gem::Requirement
570
- none: false
571
543
  requirements:
572
- - - ! '>='
544
+ - - ">="
573
545
  - !ruby/object:Gem::Version
574
546
  version: '0'
575
547
  requirements: []
576
548
  rubyforge_project:
577
- rubygems_version: 1.8.23
549
+ rubygems_version: 2.4.8
578
550
  signing_key:
579
- specification_version: 3
551
+ specification_version: 4
580
552
  summary: Facter, a system inventory tool
581
553
  test_files:
582
- - spec/lib/facter_spec/windows_network.rb
583
- - spec/lib/facter_spec/cpuinfo.rb
554
+ - spec/fixtures/cpuinfo/amd64dual
555
+ - spec/fixtures/cpuinfo/amd64dual-grep
584
556
  - spec/fixtures/cpuinfo/amd64quad
585
- - spec/fixtures/cpuinfo/panda-armel
586
- - spec/fixtures/cpuinfo/ppc64
587
- - spec/fixtures/cpuinfo/amd64tri
588
- - spec/fixtures/cpuinfo/amd64twentyfour-grep
589
557
  - spec/fixtures/cpuinfo/amd64solo
590
- - spec/fixtures/cpuinfo/ppc64le
591
- - spec/fixtures/cpuinfo/beaglexm-armel
558
+ - spec/fixtures/cpuinfo/amd64tri
592
559
  - spec/fixtures/cpuinfo/amd64twentyfour
593
- - spec/fixtures/cpuinfo/sparc
594
- - spec/fixtures/cpuinfo/amd64dual
595
- - spec/fixtures/cpuinfo/two_singlecore-grep
596
- - spec/fixtures/cpuinfo/amd64dual-grep
560
+ - spec/fixtures/cpuinfo/amd64twentyfour-grep
597
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
598
567
  - spec/fixtures/cpuinfo/two_multicore-grep
599
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
600
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
601
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
602
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
603
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
604
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
605
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
606
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
607
- - spec/fixtures/hpux/unistd.h
608
- - spec/fixtures/hpux/sched.models
609
- - spec/fixtures/hpux/machinfo/ia64-rx2620
610
- - spec/fixtures/hpux/machinfo/superdome2-16s
568
+ - spec/fixtures/cpuinfo/two_singlecore-grep
611
569
  - spec/fixtures/hpux/machinfo/hppa-rp4440
612
- - spec/fixtures/hpux/machinfo/ia64-rx8640
570
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
613
571
  - spec/fixtures/hpux/machinfo/ia64-rx6600
572
+ - spec/fixtures/hpux/machinfo/ia64-rx8640
614
573
  - spec/fixtures/hpux/machinfo/superdome-server-SD32B
615
- - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
616
- - 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
617
620
  - spec/fixtures/processorcount/solaris-psrinfo
618
- - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
619
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
620
- - 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
621
658
  - spec/fixtures/unit/netmask/darwin_10_8_5.txt
622
- - 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
623
663
  - spec/fixtures/unit/selinux/selinux_sestatus
624
- - spec/fixtures/unit/filesystems/linux
625
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
626
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
627
- - 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
628
668
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
669
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
629
670
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
630
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
631
671
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
632
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
633
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
634
- - spec/fixtures/unit/util/processor/x86-pentium2
635
- - spec/fixtures/unit/util/processor/solaris-sun4u
636
- - spec/fixtures/unit/util/processor/solaris-i86pc
637
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
638
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
639
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
640
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
641
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
642
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
643
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
644
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
645
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
646
- - 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
647
674
  - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
648
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
649
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
650
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
651
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
652
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
675
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
653
676
  - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
677
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
654
678
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
655
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
656
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
657
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
658
- - 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
659
681
  - spec/fixtures/unit/util/ip/hpux_1111_lanscan
660
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
661
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
662
- - 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
663
691
  - spec/fixtures/unit/util/ip/hpux_1131_lanscan
664
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
665
- - 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
666
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
667
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
668
699
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
669
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
670
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
671
- - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
672
- - 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
673
702
  - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
674
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
675
- - 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
676
710
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
677
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
678
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
679
711
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
680
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
681
715
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
682
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
683
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
684
727
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
685
728
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
686
729
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
687
- - spec/fixtures/unit/util/uptime/kstat_boot_time
688
- - spec/fixtures/unit/util/xendomains/xendomains
689
- - spec/fixtures/unit/util/dhcp_servers/route
690
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
691
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
692
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
693
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
694
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
695
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
696
- - spec/fixtures/unit/ec2/rest/meta-data/root
697
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
698
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
699
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
700
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
701
- - spec/fixtures/unit/processors/os/darwin-system-profiler
702
- - spec/fixtures/unit/zfs_version/zfs_new
703
- - spec/fixtures/unit/zfs_version/solaris_11
704
- - spec/fixtures/unit/zfs_version/freebsd_9.0
705
- - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
706
- - spec/fixtures/unit/zfs_version/zfs_old
707
- - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
708
- - spec/fixtures/unit/zfs_version/freebsd_8.2
709
- - spec/fixtures/unit/zfs_version/solaris_10
710
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
711
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
712
- - spec/fixtures/unit/memory/solaris-vmstat
713
- - spec/fixtures/unit/memory/dragonfly-vmstat
714
- - spec/fixtures/unit/memory/solaris-prtconf
715
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
716
- - spec/fixtures/unit/memory/aix-swap_l
717
- - spec/fixtures/unit/memory/solaris-swap_l-single
718
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
719
- - spec/fixtures/unit/memory/linux-proc_meminfo
720
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
721
- - spec/fixtures/unit/memory/darwin-vm_stat
722
- - spec/fixtures/unit/memory/aix-svmon
723
- - spec/fixtures/unit/memory/freebsd-vmstat
724
- - spec/fixtures/unit/memory/darwin-swapinfo-single
725
- - spec/fixtures/unit/memory/openbsd-vmstat
726
- - spec/fixtures/unit/gce/metadata/metadata.json
727
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
728
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
729
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
730
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
731
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
732
- - spec/fixtures/unit/dhcp_servers/route
733
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
734
- - spec/fixtures/unit/dhcp_servers/route_nogw
735
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
736
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
737
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
738
- - 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
739
745
  - spec/fixtures/unit/zpool_version/freebsd_9.0
740
746
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
741
- - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
742
- - spec/fixtures/unit/zpool_version/freebsd_8.2
743
747
  - spec/fixtures/unit/zpool_version/solaris_10
744
- - spec/fixtures/ifconfig/open_solaris_b132
745
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
746
- - spec/fixtures/ifconfig/freebsd_6_0
747
- - spec/fixtures/ifconfig/linux_ifconfig_venet
748
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
749
- - spec/fixtures/ifconfig/openbsd_bridge_rules
750
- - spec/fixtures/ifconfig/darwin_10_3_0
751
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
752
- - spec/fixtures/ifconfig/centos_5_5_eth0
753
- - spec/fixtures/ifconfig/fedora_8
754
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
755
- - spec/fixtures/ifconfig/centos_5_5
756
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
757
- - spec/fixtures/ifconfig/fedora_13
758
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
759
- - spec/fixtures/ifconfig/fedora_13_eth0
760
- - spec/fixtures/ifconfig/darwin_9_8_0
761
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
762
- - spec/fixtures/ifconfig/ubuntu_7_04
763
- - spec/fixtures/ifconfig/darwin_10_6_4
764
- - spec/fixtures/ifconfig/fedora_10_eth0
765
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
766
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
767
- - spec/fixtures/ifconfig/open_solaris_10
768
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
769
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
770
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
771
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
772
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
773
- - spec/fixtures/ifconfig/fedora_8_eth0
774
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
775
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
776
- - spec/fixtures/ifconfig/fedora_10
777
- - spec/fixtures/netstat/open_solaris_b132
778
- - spec/fixtures/netstat/darwin_10_3_0
779
- - spec/fixtures/netstat/centos_5_5
780
- - spec/fixtures/netstat/darwin_9_8_0
781
- - spec/fixtures/netstat/ubuntu_7_04
782
- - spec/fixtures/netstat/darwin_10_6_4
783
- - spec/fixtures/netstat/open_solaris_10
784
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
785
- - spec/fixtures/netstat/fedora_10
786
- - spec/fixtures/ldom/ldom_v1
787
- - 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
788
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
789
763
  - spec/puppetlabs_spec/fixtures.rb
790
764
  - spec/puppetlabs_spec/matchers.rb
791
- - spec/puppetlabs_spec/files.rb
792
765
  - spec/puppetlabs_spec/verbose.rb
766
+ - spec/puppetlabs_spec_helper.rb
793
767
  - spec/schema/validate_facter_schema.rb
768
+ - spec/shared_contexts/platform.rb
794
769
  - spec/shared_formats/parses.rb
795
- - spec/unit/physicalprocessorcount_spec.rb
796
- - spec/unit/fqdn_spec.rb
797
- - spec/unit/uniqueid_spec.rb
770
+ - spec/spec_helper.rb
798
771
  - spec/unit/application_spec.rb
799
- - spec/unit/kernelmajversion_spec.rb
800
772
  - spec/unit/architecture_spec.rb
801
773
  - spec/unit/blockdevices_spec.rb
802
- - spec/unit/processors_spec.rb
803
- - spec/unit/rubyplatform_spec.rb
804
- - spec/unit/util/file_read_spec.rb
805
- - spec/unit/util/normalization_spec.rb
806
- - spec/unit/util/partitions_spec.rb
807
- - spec/unit/util/confine_spec.rb
808
- - spec/unit/util/manufacturer_spec.rb
809
- - spec/unit/util/vlans_spec.rb
810
- - spec/unit/util/collection_spec.rb
811
- - spec/unit/util/formatter_spec.rb
812
- - spec/unit/util/ip/windows_spec.rb
813
- - spec/unit/util/posix_spec.rb
814
- - spec/unit/util/fact_spec.rb
815
- - spec/unit/util/config_spec.rb
816
- - spec/unit/util/resolution_spec.rb
817
- - spec/unit/util/virtual_spec.rb
818
- - spec/unit/util/macosx_spec.rb
819
- - spec/unit/util/directory_loader_spec.rb
820
- - spec/unit/util/parser_spec.rb
821
- - spec/unit/util/partitions/partitions_spec.rb
822
- - spec/unit/util/values_spec.rb
823
- - spec/unit/util/ip_spec.rb
824
- - spec/unit/util/registry_spec.rb
825
- - spec/unit/util/solaris_zones_spec.rb
826
- - spec/unit/util/dhcp_servers_spec.rb
827
- - spec/unit/util/uptime_spec.rb
828
- - spec/unit/util/xendomains_spec.rb
829
- - spec/unit/util/processor_spec.rb
830
- - spec/unit/util/wmi_spec.rb
831
- - spec/unit/util/macaddress_spec.rb
832
- - spec/unit/util/ec2_spec.rb
833
- - spec/unit/util/operatingsystem_spec.rb
834
- - spec/unit/util/loader_spec.rb
835
- - spec/unit/ec2/rest_spec.rb
836
- - spec/unit/operatingsystemmajrelease_spec.rb
837
- - spec/unit/operatingsystemrelease_spec.rb
838
- - spec/unit/partitions_spec.rb
839
- - spec/unit/ps_spec.rb
840
- - spec/unit/filesystems_spec.rb
841
- - spec/unit/lsbdistrelease_spec.rb
842
- - spec/unit/manufacturer_spec.rb
843
- - spec/unit/id_spec.rb
844
- - spec/unit/core/logging_spec.rb
774
+ - spec/unit/core/aggregate_spec.rb
845
775
  - spec/unit/core/directed_graph_spec.rb
846
- - spec/unit/core/execution/windows_spec.rb
847
776
  - spec/unit/core/execution/base_spec.rb
848
777
  - spec/unit/core/execution/posix_spec.rb
849
- - spec/unit/core/suitable_spec.rb
850
- - spec/unit/core/resolvable_spec.rb
851
- - spec/unit/core/aggregate_spec.rb
778
+ - spec/unit/core/execution/windows_spec.rb
852
779
  - spec/unit/core/execution_spec.rb
853
- - spec/unit/processors/os_spec.rb
854
- - spec/unit/ipaddress_spec.rb
855
- - spec/unit/ssh_spec.rb
856
- - spec/unit/system_uptime_spec.rb
857
- - spec/unit/hardwareisa_spec.rb
858
- - spec/unit/lsbminordistrelease_spec.rb
859
- - spec/unit/virtual_spec.rb
860
- - spec/unit/zpool_version_spec.rb
861
- - spec/unit/zones_spec.rb
862
- - spec/unit/ipaddress6_spec.rb
863
- - spec/unit/selinux_spec.rb
864
- - spec/unit/lsbdistdescription_spec.rb
865
- - spec/unit/kernelversion_spec.rb
866
- - spec/unit/lsbdistcodename_spec.rb
867
- - spec/unit/interfaces_spec.rb
868
- - spec/unit/kernel_spec.rb
869
- - spec/unit/memory_spec.rb
870
- - spec/unit/ldom_spec.rb
871
- - spec/unit/zfs_version_spec.rb
872
- - spec/unit/hardwaremodel_spec.rb
873
- - spec/unit/version_spec.rb
874
- - spec/unit/gce_spec.rb
875
- - spec/unit/netmask_spec.rb
876
- - spec/unit/kernelrelease_spec.rb
877
- - 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
878
783
  - spec/unit/dhcp_servers_spec.rb
879
- - spec/unit/os_spec.rb
880
- - spec/unit/lsbmajdistrelease_spec.rb
881
- - spec/unit/uptime_spec.rb
882
- - spec/unit/rackspace_spec.rb
883
- - spec/unit/processor_spec.rb
784
+ - spec/unit/domain_spec.rb
785
+ - spec/unit/ec2/rest_spec.rb
786
+ - spec/unit/ec2_spec.rb
884
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
885
792
  - spec/unit/gid_spec.rb
886
- - spec/unit/zonename_spec.rb
793
+ - spec/unit/hardwareisa_spec.rb
794
+ - spec/unit/hardwaremodel_spec.rb
887
795
  - spec/unit/hostname_spec.rb
888
- - 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
889
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
890
812
  - spec/unit/macaddress_spec.rb
891
- - spec/unit/domain_spec.rb
892
- - spec/unit/ec2_spec.rb
893
- - spec/unit/operatingsystem_spec.rb
894
- - spec/unit/operatingsystem/windows_spec.rb
813
+ - spec/unit/manufacturer_spec.rb
814
+ - spec/unit/memory_spec.rb
815
+ - spec/unit/netmask_spec.rb
895
816
  - spec/unit/operatingsystem/base_spec.rb
896
- - spec/unit/operatingsystem/linux_spec.rb
897
817
  - spec/unit/operatingsystem/cumuluslinux_spec.rb
818
+ - spec/unit/operatingsystem/implementation_spec.rb
819
+ - spec/unit/operatingsystem/linux_spec.rb
898
820
  - spec/unit/operatingsystem/sunos_spec.rb
899
821
  - spec/unit/operatingsystem/vmkernel_spec.rb
900
- - spec/unit/operatingsystem/implementation_spec.rb
901
- - 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
902
827
  - spec/unit/osfamily_spec.rb
903
- - 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
904
879
  - spec/watchr.rb
905
- - spec/shared_contexts/platform.rb