facter 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +1,9 @@
1
1
  ---
2
2
  packaging_url: 'git://github.com/puppetlabs/packaging.git --branch=master'
3
3
  packaging_repo: 'packaging'
4
- default_cow: 'base-squeeze-i386.cow'
5
- cows: 'base-precise-i386.cow base-precise-amd64.cow base-squeeze-i386.cow base-squeeze-amd64.cow base-trusty-i386.cow base-trusty-amd64.cow base-wheezy-i386.cow base-wheezy-amd64.cow'
6
- pbuild_conf: '/etc/pbuilderrc'
7
4
  packager: 'puppetlabs'
8
- gpg_name: 'info@puppetlabs.com'
5
+ gpg_name: 'release@puppet.com'
9
6
  gpg_key: '7F438280EF8D349F'
10
7
  sign_tar: FALSE
11
- # a space separated list of mock configs
12
- final_mocks: 'pl-el-5-i386 pl-el-5-x86_64 pl-el-6-i386 pl-el-6-x86_64 pl-el-7-x86_64 pl-fedora-20-i386 pl-fedora-20-x86_64'
13
- yum_host: 'yum.puppetlabs.com'
14
- yum_repo_path: '/opt/repository/yum/'
15
8
  build_gem: TRUE
16
- build_dmg: TRUE
17
- build_ips: TRUE
18
- apt_host: 'apt.puppetlabs.com'
19
- apt_repo_url: 'http://apt.puppetlabs.com'
20
- apt_repo_path: '/opt/repository/incoming'
21
- ips_repo: '/var/pkgrepo'
22
- ips_store: '/opt/repository'
23
- ips_host: 'solaris-11-ips-repo.acctest.dc1.puppetlabs.net'
24
9
  tar_host: 'downloads.puppetlabs.com'
@@ -13,7 +13,7 @@ module Facter
13
13
  if os[:dwBuildNumber] == 14300
14
14
  'Nano'
15
15
  else
16
- os[:wProductType] == 1 ? '10' : Facter[:kernelrelease].value
16
+ os[:wProductType] == 1 ? '10' : '2016'
17
17
  end
18
18
  when '6.3'
19
19
  os[:wProductType] == 1 ? "8.1" : "2012 R2"
@@ -1,39 +1,30 @@
1
1
  require 'ffi'
2
2
 
3
3
  module Facter::Util::Windows::ApiTypes
4
- module ::FFI
5
- WIN32_FALSE = 0
6
-
4
+ class ::Facter::Util::Windows::FFI
7
5
  # standard Win32 error codes
6
+ WIN32_FALSE = 0
8
7
  ERROR_SUCCESS = 0
9
- end
10
8
 
11
- module ::FFI::Library
12
- # Wrapper method for attach_function + private
13
- def attach_function_private(*args)
14
- attach_function(*args)
15
- private args[0]
16
- end
17
- end
18
-
19
- class ::FFI::Pointer
20
9
  NULL_HANDLE = 0
21
10
 
22
- def read_win32_bool
11
+ def self.read_win32_bool(ffi_pointer)
23
12
  # BOOL is always a 32-bit integer in Win32
24
13
  # some Win32 APIs return 1 for true, while others are non-0
25
- read_int32 != FFI::WIN32_FALSE
14
+ ffi_pointer.read_int32 != WIN32_FALSE
15
+ end
16
+
17
+ def self.read_dword(ffi_pointer)
18
+ ffi_pointer.read_uint32
26
19
  end
27
- #
28
- alias_method :read_dword, :read_uint32
29
20
 
30
- def read_handle
31
- type_size == 4 ? read_uint32 : read_uint64
21
+ def self.read_handle(ffi_pointer)
22
+ ffi_pointer.type_size == 4 ? ffi_pointer.read_uint32 : ffi_pointer.read_uint64
32
23
  end
33
24
 
34
- def read_wide_string(char_length, dst_encoding = Encoding::UTF_8)
25
+ def self.read_wide_string(ffi_pointer, char_length, dst_encoding = Encoding::UTF_8)
35
26
  # char_length is number of wide chars (typically excluding NULLs), *not* bytes
36
- str = get_bytes(0, char_length * 2).force_encoding('UTF-16LE')
27
+ str = ffi_pointer.get_bytes(0, char_length * 2).force_encoding('UTF-16LE')
37
28
  str.encode(dst_encoding)
38
29
  end
39
30
 
@@ -41,7 +32,7 @@ module Facter::Util::Windows::ApiTypes
41
32
  # @param null_terminator [Symbol] Number of number of null wchar characters, *not* bytes, that determine the end of the string
42
33
  # null_terminator = :single_null, then the terminating sequence is two bytes of zero. This is UNIT16 = 0
43
34
  # null_terminator = :double_null, then the terminating sequence is four bytes of zero. This is UNIT32 = 0
44
- def read_arbitrary_wide_string_up_to(max_char_length = 512, null_terminator = :single_null)
35
+ def self.read_arbitrary_wide_string_up_to(ffi_pointer, max_char_length = 512, null_terminator = :single_null)
45
36
  if null_terminator != :single_null && null_terminator != :double_null
46
37
  raise _("Unable to read wide strings with %{null_terminator} terminal nulls") % { null_terminator: null_terminator }
47
38
  end
@@ -51,21 +42,21 @@ module Facter::Util::Windows::ApiTypes
51
42
 
52
43
  # Look for a null terminating characters; if found, read up to that null (exclusive)
53
44
  (0...max_char_length - terminator_width).each do |i|
54
- return read_wide_string(i) if send(reader_method, (i * 2)) == 0
45
+ return read_wide_string(ffi_pointer, i) if ffi_pointer.send(reader_method, (i * 2)) == 0
55
46
  end
56
47
 
57
48
  # String is longer than the max; read just to the max
58
- read_wide_string(max_char_length)
49
+ read_wide_string(ffi_pointer, max_char_length)
59
50
  end
60
51
 
61
- def read_win32_local_pointer(&block)
52
+ def self.read_win32_local_pointer(ffi_pointer, &block)
62
53
  ptr = nil
63
54
  begin
64
- ptr = read_pointer
55
+ ptr = ffi_pointer.read_pointer
65
56
  yield ptr
66
57
  ensure
67
58
  if ptr && ! ptr.null?
68
- if FFI::WIN32::LocalFree(ptr.address) != FFI::Pointer::NULL_HANDLE
59
+ if WIN32.LocalFree(ptr.address) != NULL_HANDLE
69
60
  Puppet.debug "LocalFree memory leak"
70
61
  end
71
62
  end
@@ -121,11 +112,12 @@ module Facter::Util::Windows::ApiTypes
121
112
  FFI.typedef :uchar, :byte
122
113
  FFI.typedef :uint16, :wchar
123
114
 
124
- module ::FFI::WIN32
115
+ module ::Facter::Util::Windows::FFI::WIN32
125
116
  extend ::FFI::Library
126
117
 
127
118
  ffi_convention :stdcall
128
119
 
120
+ private
129
121
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa366730(v=vs.85).aspx
130
122
  # HLOCAL WINAPI LocalFree(
131
123
  # _In_ HLOCAL hMem
@@ -138,6 +130,6 @@ module Facter::Util::Windows::ApiTypes
138
130
  # _In_ HANDLE hObject
139
131
  # );
140
132
  ffi_lib :kernel32
141
- attach_function_private :CloseHandle, [:handle], :win32_bool
133
+ attach_function :CloseHandle, [:handle], :win32_bool
142
134
  end
143
135
  end
@@ -18,13 +18,15 @@ module Facter::Util::Windows::Dir
18
18
  raise Facter::Util::Windows::Error.new("Could not find COMMON_APPDATA path")
19
19
  end
20
20
 
21
- common_appdata = buffer_ptr.read_arbitrary_wide_string_up_to(MAX_PATH + 1)
21
+ common_appdata = Facter::Util::Windows::FFI.read_arbitrary_wide_string_up_to(buffer_ptr, MAX_PATH + 1)
22
22
  end
23
23
 
24
24
  common_appdata
25
25
  end
26
26
  module_function :get_common_appdata
27
27
 
28
+ private
29
+
28
30
  ffi_convention :stdcall
29
31
 
30
32
  # https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx
@@ -36,6 +38,6 @@ module Facter::Util::Windows::Dir
36
38
  # _Out_ LPTSTR pszPath
37
39
  # );
38
40
  ffi_lib :shell32
39
- attach_function_private :SHGetFolderPathW,
41
+ attach_function :SHGetFolderPathW,
40
42
  [:handle, :int32, :handle, :dword, :lpwstr], :hresult
41
43
  end
@@ -39,18 +39,18 @@ class Facter::Util::Windows::Error < RuntimeError
39
39
  length = FormatMessageW(flags, FFI::Pointer::NULL, code, dwLanguageId,
40
40
  buffer_ptr, 0, FFI::Pointer::NULL)
41
41
 
42
- if length == FFI::WIN32_FALSE
42
+ if length == Facter::Util::Windows::FFI::WIN32_FALSE
43
43
  # can't raise same error type here or potentially recurse infinitely
44
44
  raise Facter::Error.new("FormatMessageW could not format code #{code}")
45
45
  end
46
46
 
47
47
  # returns an FFI::Pointer with autorelease set to false, which is what we want
48
- buffer_ptr.read_win32_local_pointer do |wide_string_ptr|
48
+ Facter::Util::Windows::FFI.read_win32_local_pointer(buffer_ptr) do |wide_string_ptr|
49
49
  if wide_string_ptr.null?
50
50
  raise Facter::Error.new("FormatMessageW failed to allocate buffer for code #{code}")
51
51
  end
52
52
 
53
- error_string = wide_string_ptr.read_wide_string(length)
53
+ error_string = Facter::Util::Windows::FFI.read_wide_string(wide_string_ptr, length)
54
54
  end
55
55
  end
56
56
 
@@ -66,6 +66,8 @@ class Facter::Util::Windows::Error < RuntimeError
66
66
  FORMAT_MESSAGE_ARGUMENT_ARRAY = 0x00002000
67
67
  FORMAT_MESSAGE_MAX_WIDTH_MASK = 0x000000FF
68
68
 
69
+ private
70
+
69
71
  ffi_convention :stdcall
70
72
 
71
73
  # https://msdn.microsoft.com/en-us/library/windows/desktop/ms679351(v=vs.85).aspx
@@ -80,6 +82,6 @@ class Facter::Util::Windows::Error < RuntimeError
80
82
  # );
81
83
  # NOTE: since we're not preallocating the buffer, use a :pointer for lpBuffer
82
84
  ffi_lib :kernel32
83
- attach_function_private :FormatMessageW,
84
- [:dword, :lpcvoid, :dword, :dword, :pointer, :dword, :pointer], :dword
85
+ attach_function :FormatMessageW,
86
+ [:dword, :lpcvoid, :dword, :dword, :pointer, :dword, :pointer], :dword
85
87
  end
@@ -15,17 +15,17 @@ module Facter::Util::Windows::Process
15
15
  begin
16
16
  FFI::MemoryPointer.new(:handle, 1) do |token_handle_ptr|
17
17
  result = OpenProcessToken(handle, desired_access, token_handle_ptr)
18
- if result == FFI::WIN32_FALSE
18
+ if result == Facter::Util::Windows::FFI::WIN32_FALSE
19
19
  raise Facter::Util::Windows::Error.new(
20
20
  "OpenProcessToken(#{handle}, #{desired_access.to_s(8)}, #{token_handle_ptr})")
21
21
  end
22
22
 
23
- yield token_handle = token_handle_ptr.read_handle
23
+ yield token_handle = Facter::Util::Windows::FFI.read_handle(token_handle_ptr)
24
24
  end
25
25
 
26
26
  token_handle
27
27
  ensure
28
- FFI::WIN32.CloseHandle(token_handle) if token_handle
28
+ Facter::Util::Windows::FFI::WIN32.CloseHandle(token_handle) if token_handle
29
29
  end
30
30
 
31
31
  # token_handle has had CloseHandle called against it, so nothing to return
@@ -37,7 +37,7 @@ module Facter::Util::Windows::Process
37
37
  # to determine buffer size
38
38
  FFI::MemoryPointer.new(:dword, 1) do |return_length_ptr|
39
39
  result = GetTokenInformation(token_handle, token_information, nil, 0, return_length_ptr)
40
- return_length = return_length_ptr.read_dword
40
+ return_length = Facter::Util::Windows::FFI.read_dword(return_length_ptr)
41
41
 
42
42
  if return_length <= 0
43
43
  raise Facter::Util::Windows::Error.new(
@@ -49,7 +49,7 @@ module Facter::Util::Windows::Process
49
49
  result = GetTokenInformation(token_handle, token_information,
50
50
  token_information_buf, return_length, return_length_ptr)
51
51
 
52
- if result == FFI::WIN32_FALSE
52
+ if result == Facter::Util::Windows::FFI::WIN32_FALSE
53
53
  raise Facter::Util::Windows::Error.new(
54
54
  "GetTokenInformation(#{token_handle}, #{token_information}, #{token_information_buf}, " +
55
55
  "#{return_length}, #{return_length_ptr})")
@@ -94,7 +94,7 @@ module Facter::Util::Windows::Process
94
94
  rescue Facter::Util::Windows::Error => e
95
95
  raise e if e.code != ERROR_NO_SUCH_PRIVILEGE
96
96
  ensure
97
- FFI::WIN32.CloseHandle(handle) if handle
97
+ Facter::Util::Windows::FFI::WIN32.CloseHandle(handle) if handle
98
98
  end
99
99
  end
100
100
  module_function :elevated_security?
@@ -156,12 +156,14 @@ module Facter::Util::Windows::Process
156
156
  end
157
157
  module_function :supports_elevated_security?
158
158
 
159
+ private
160
+
159
161
  ffi_convention :stdcall
160
162
 
161
163
  # https://msdn.microsoft.com/en-us/library/windows/desktop/ms683179(v=vs.85).aspx
162
164
  # HANDLE WINAPI GetCurrentProcess(void);
163
165
  ffi_lib :kernel32
164
- attach_function_private :GetCurrentProcess, [], :handle
166
+ attach_function :GetCurrentProcess, [], :handle
165
167
 
166
168
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379295(v=vs.85).aspx
167
169
  # BOOL WINAPI OpenProcessToken(
@@ -170,9 +172,10 @@ module Facter::Util::Windows::Process
170
172
  # _Out_ PHANDLE TokenHandle
171
173
  # );
172
174
  ffi_lib :advapi32
173
- attach_function_private :OpenProcessToken,
174
- [:handle, :dword, :phandle], :win32_bool
175
+ attach_function :OpenProcessToken,
176
+ [:handle, :dword, :phandle], :win32_bool
175
177
 
178
+ public
176
179
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379626(v=vs.85).aspx
177
180
  TOKEN_INFORMATION_CLASS = enum(
178
181
  :TokenUser, 1,
@@ -226,6 +229,8 @@ module Facter::Util::Windows::Process
226
229
  layout :TokenIsElevated, :dword
227
230
  end
228
231
 
232
+ private
233
+
229
234
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa446671(v=vs.85).aspx
230
235
  # BOOL WINAPI GetTokenInformation(
231
236
  # _In_ HANDLE TokenHandle,
@@ -235,8 +240,10 @@ module Facter::Util::Windows::Process
235
240
  # _Out_ PDWORD ReturnLength
236
241
  # );
237
242
  ffi_lib :advapi32
238
- attach_function_private :GetTokenInformation,
239
- [:handle, TOKEN_INFORMATION_CLASS, :lpvoid, :dword, :pdword ], :win32_bool
243
+ attach_function :GetTokenInformation,
244
+ [:handle, TOKEN_INFORMATION_CLASS, :lpvoid, :dword, :pdword ], :win32_bool
245
+
246
+ public
240
247
 
241
248
  # https://msdn.microsoft.com/en-us/library/windows/hardware/ff563620(v=vs.85).aspx
242
249
  # typedef struct _OSVERSIONINFOEXW {
@@ -268,6 +275,8 @@ module Facter::Util::Windows::Process
268
275
  )
269
276
  end
270
277
 
278
+ private
279
+
271
280
  # NTSTATUS -> :int32 (defined in winerror.h / ntstatus.h)
272
281
  # https://msdn.microsoft.com/en-us/library/windows/hardware/ff561910(v=vs.85).aspx
273
282
  # NTSTATUS RtlGetVersion(
@@ -25,22 +25,22 @@ module Facter::Util::Windows::User
25
25
  FFI::MemoryPointer.new(:dword, 1) do |size_pointer|
26
26
  size_pointer.write_uint32(SECURITY_MAX_SID_SIZE)
27
27
 
28
- if CreateWellKnownSid(:WinBuiltinAdministratorsSid, FFI::Pointer::NULL, sid_pointer, size_pointer) == FFI::WIN32_FALSE
28
+ if CreateWellKnownSid(:WinBuiltinAdministratorsSid, FFI::Pointer::NULL, sid_pointer, size_pointer) == Facter::Util::Windows::FFI::WIN32_FALSE
29
29
  raise Facter::Util::Windows::Error.new("Failed to create administrators SID")
30
30
  end
31
31
  end
32
32
 
33
- if IsValidSid(sid_pointer) == FFI::WIN32_FALSE
33
+ if IsValidSid(sid_pointer) == Facter::Util::Windows::FFI::WIN32_FALSE
34
34
  raise RuntimeError,"Invalid SID"
35
35
  end
36
36
 
37
37
  FFI::MemoryPointer.new(:win32_bool, 1) do |ismember_pointer|
38
- if CheckTokenMembership(FFI::Pointer::NULL_HANDLE, sid_pointer, ismember_pointer) == FFI::WIN32_FALSE
38
+ if CheckTokenMembership(Facter::Util::Windows::FFI::NULL_HANDLE, sid_pointer, ismember_pointer) == Facter::Util::Windows::FFI::WIN32_FALSE
39
39
  raise Facter::Util::Windows::Error.new("Failed to check membership")
40
40
  end
41
41
 
42
42
  # Is administrators SID enabled in calling thread's access token?
43
- is_admin = ismember_pointer.read_win32_bool
43
+ is_admin = Facter::Util::Windows::FFI.read_win32_bool(ismember_pointer)
44
44
  end
45
45
  end
46
46
 
@@ -48,6 +48,8 @@ module Facter::Util::Windows::User
48
48
  end
49
49
  module_function :check_token_membership
50
50
 
51
+ private
52
+
51
53
  ffi_convention :stdcall
52
54
 
53
55
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa376389(v=vs.85).aspx
@@ -57,8 +59,10 @@ module Facter::Util::Windows::User
57
59
  # _Out_ PBOOL IsMember
58
60
  # );
59
61
  ffi_lib :advapi32
60
- attach_function_private :CheckTokenMembership,
61
- [:handle, :pointer, :pbool], :win32_bool
62
+ attach_function :CheckTokenMembership,
63
+ [:handle, :pointer, :pbool], :win32_bool
64
+
65
+ public
62
66
 
63
67
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379650(v=vs.85).aspx
64
68
  WELL_KNOWN_SID_TYPE = enum(
@@ -159,6 +163,8 @@ module Facter::Util::Windows::User
159
163
  :WinCapabilityRemovableStorageSid , 94
160
164
  )
161
165
 
166
+ private
167
+
162
168
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa446585(v=vs.85).aspx
163
169
  # BOOL WINAPI CreateWellKnownSid(
164
170
  # _In_ WELL_KNOWN_SID_TYPE WellKnownSidType,
@@ -167,14 +173,14 @@ module Facter::Util::Windows::User
167
173
  # _Inout_ DWORD *cbSid
168
174
  # );
169
175
  ffi_lib :advapi32
170
- attach_function_private :CreateWellKnownSid,
171
- [WELL_KNOWN_SID_TYPE, :pointer, :pointer, :lpdword], :win32_bool
176
+ attach_function :CreateWellKnownSid,
177
+ [WELL_KNOWN_SID_TYPE, :pointer, :pointer, :lpdword], :win32_bool
172
178
 
173
179
  # https://msdn.microsoft.com/en-us/library/windows/desktop/aa379151(v=vs.85).aspx
174
180
  # BOOL WINAPI IsValidSid(
175
181
  # _In_ PSID pSid
176
182
  # );
177
183
  ffi_lib :advapi32
178
- attach_function_private :IsValidSid,
179
- [:pointer], :win32_bool
184
+ attach_function :IsValidSid,
185
+ [:pointer], :win32_bool
180
186
  end
@@ -1,6 +1,6 @@
1
1
  module Facter
2
2
  if not defined? FACTERVERSION then
3
- FACTERVERSION = '2.5.0'
3
+ FACTERVERSION = '2.5.1'
4
4
  end
5
5
 
6
6
  # Returns the running version of Facter.
@@ -26,6 +26,8 @@ describe Facter::Operatingsystem::Windows do
26
26
  [6,3,9600, 3] => "2012 R2",
27
27
  [10,0,10586, 1] => "10", # Kernel version for Windows 10
28
28
  [10,0,14300, 2] => "Nano", # current Nano kernel version
29
+ [10,0,14393, 2] => "2016",
30
+ [10,0,14393, 3] => "2016",
29
31
  }.each do |os_values, expected_output|
30
32
  it "should be #{expected_output} with Version #{os_values[0]}.#{os_values[1]}.#{os_values[2]} and ProductType #{os_values[3]}" do
31
33
  os = stub('os')
@@ -39,27 +41,6 @@ describe Facter::Operatingsystem::Windows do
39
41
  end
40
42
  end
41
43
 
42
- {
43
- # Note: this is the kernel version for the Windows 10 technical preview,
44
- # which is subject to change. These tests cover any future Windows server
45
- # releases with a kernel version of 6.4.x, none of which have been released
46
- # as of October 2014.
47
- [10,0,10586, 2] => "10-NewKernel",
48
- [10,0,10586, 3] => "10-NewKernel",
49
- }.each do |os_values, expected_output|
50
- it "should be the kernel release for unknown future server releases" do
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)
58
- release = subject.get_operatingsystemrelease
59
- expect(release).to eq expected_output
60
- end
61
- end
62
-
63
44
  {
64
45
  [5,2,3790, 2, false] => "2003",
65
46
  [5,2,3790, 2, true] => "2003 R2",
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Puppet Labs
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2017-07-14 00:00:00.000000000 Z
12
+ date: 2017-08-17 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: You can prove anything with facts!
14
15
  email: info@puppetlabs.com
@@ -17,849 +18,850 @@ executables:
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
- - COMMITTERS.md
21
21
  - CONTRIBUTING.md
22
- - Gemfile
22
+ - Rakefile
23
23
  - LICENSE
24
+ - COMMITTERS.md
25
+ - Gemfile
24
26
  - README.md
25
- - Rakefile
27
+ - install.rb
26
28
  - bin/facter
27
29
  - etc/facter.conf
30
+ - ext/solaris/pkginfo
31
+ - ext/ips/rules
32
+ - ext/ips/transforms
33
+ - ext/ips/facter.p5m.erb
34
+ - ext/project_data.yaml
28
35
  - ext/build_defaults.yaml
29
- - ext/debian/changelog.erb
36
+ - ext/facter-diff
30
37
  - ext/debian/compat
38
+ - ext/debian/source/format
39
+ - ext/debian/rules
31
40
  - ext/debian/control
32
- - ext/debian/copyright
33
41
  - ext/debian/docs
34
42
  - ext/debian/lintian-overrides
35
- - ext/debian/rules
36
- - ext/debian/source/format
37
- - ext/facter-diff
38
- - ext/ips/facter.p5m.erb
39
- - ext/ips/rules
40
- - ext/ips/transforms
41
- - ext/osx/file_mapping.yaml
43
+ - ext/debian/changelog.erb
44
+ - ext/debian/copyright
42
45
  - ext/osx/preflight.erb
46
+ - ext/osx/file_mapping.yaml
43
47
  - ext/osx/prototype.plist.erb
44
- - ext/project_data.yaml
45
48
  - ext/redhat/facter.spec.erb
46
- - ext/solaris/pkginfo
47
- - install.rb
48
49
  - lib/facter.rb
49
- - lib/facter/Cfkey.rb
50
- - lib/facter/application.rb
51
- - lib/facter/architecture.rb
52
- - lib/facter/augeasversion.rb
53
- - lib/facter/blockdevices.rb
54
- - lib/facter/core/aggregate.rb
55
- - lib/facter/core/directed_graph.rb
56
- - lib/facter/core/execution.rb
57
- - lib/facter/core/execution/base.rb
58
- - lib/facter/core/execution/posix.rb
59
- - lib/facter/core/execution/windows.rb
60
- - lib/facter/core/logging.rb
61
- - lib/facter/core/resolvable.rb
62
- - lib/facter/core/suitable.rb
63
- - lib/facter/dhcp_servers.rb
64
- - lib/facter/domain.rb
65
- - lib/facter/ec2.rb
66
- - lib/facter/ec2/rest.rb
67
- - lib/facter/facterversion.rb
68
- - lib/facter/filesystems.rb
69
- - lib/facter/fqdn.rb
70
- - lib/facter/gce.rb
71
- - lib/facter/gce/metadata.rb
50
+ - lib/facter/zones.rb
51
+ - lib/facter/system_uptime.rb
72
52
  - lib/facter/gid.rb
73
- - lib/facter/hardwareisa.rb
53
+ - lib/facter/lsbmajdistrelease.rb
54
+ - lib/facter/version.rb
74
55
  - lib/facter/hardwaremodel.rb
75
- - lib/facter/hostname.rb
76
- - lib/facter/id.rb
77
- - lib/facter/interfaces.rb
78
- - lib/facter/ipaddress.rb
79
- - lib/facter/ipaddress6.rb
80
- - lib/facter/iphostnumber.rb
81
- - lib/facter/kernel.rb
82
- - lib/facter/kernelmajversion.rb
83
56
  - lib/facter/kernelrelease.rb
84
- - lib/facter/kernelversion.rb
85
- - lib/facter/ldom.rb
86
- - lib/facter/lsbdistcodename.rb
87
- - lib/facter/lsbdistdescription.rb
88
- - lib/facter/lsbdistid.rb
89
- - lib/facter/lsbdistrelease.rb
90
- - lib/facter/lsbmajdistrelease.rb
91
- - lib/facter/lsbminordistrelease.rb
92
- - lib/facter/lsbrelease.rb
93
- - lib/facter/macaddress.rb
94
- - lib/facter/macosx.rb
95
- - lib/facter/manufacturer.rb
96
- - lib/facter/memory.rb
97
- - lib/facter/netmask.rb
98
- - lib/facter/network.rb
99
- - lib/facter/operatingsystem.rb
100
- - lib/facter/operatingsystem/base.rb
101
- - lib/facter/operatingsystem/cumuluslinux.rb
102
- - lib/facter/operatingsystem/implementation.rb
103
- - lib/facter/operatingsystem/linux.rb
104
- - lib/facter/operatingsystem/osreleaselinux.rb
105
- - lib/facter/operatingsystem/sunos.rb
106
- - lib/facter/operatingsystem/vmkernel.rb
107
- - lib/facter/operatingsystem/windows.rb
108
- - lib/facter/operatingsystemmajrelease.rb
109
- - lib/facter/operatingsystemrelease.rb
110
- - lib/facter/os.rb
111
- - lib/facter/osfamily.rb
112
- - lib/facter/partitions.rb
113
- - lib/facter/path.rb
114
- - lib/facter/physicalprocessorcount.rb
115
- - lib/facter/processor.rb
116
- - lib/facter/processors.rb
117
- - lib/facter/processors/os.rb
118
- - lib/facter/ps.rb
119
57
  - lib/facter/puppetversion.rb
120
- - lib/facter/rackspace.rb
58
+ - lib/facter/dhcp_servers.rb
121
59
  - lib/facter/rubyplatform.rb
122
- - lib/facter/rubysitedir.rb
123
- - lib/facter/rubyversion.rb
124
- - lib/facter/selinux.rb
125
- - lib/facter/ssh.rb
60
+ - lib/facter/blockdevices.rb
61
+ - lib/facter/path.rb
126
62
  - lib/facter/system32.rb
127
- - lib/facter/system_uptime.rb
128
- - lib/facter/timezone.rb
129
- - lib/facter/uniqueid.rb
130
- - lib/facter/uptime.rb
131
- - lib/facter/uptime_days.rb
132
- - lib/facter/uptime_hours.rb
133
- - lib/facter/uptime_seconds.rb
134
- - lib/facter/util/architecture.rb
135
- - lib/facter/util/collection.rb
136
- - lib/facter/util/composite_loader.rb
137
- - lib/facter/util/config.rb
138
- - lib/facter/util/confine.rb
63
+ - lib/facter/partitions.rb
64
+ - lib/facter/augeasversion.rb
65
+ - lib/facter/util/windows_root.rb
139
66
  - lib/facter/util/dhcp_servers.rb
140
- - lib/facter/util/directory_loader.rb
141
- - lib/facter/util/ec2.rb
142
- - lib/facter/util/fact.rb
143
- - lib/facter/util/file_read.rb
144
67
  - lib/facter/util/formatter.rb
145
- - lib/facter/util/ip.rb
146
- - lib/facter/util/ip/windows.rb
68
+ - lib/facter/util/partitions.rb
147
69
  - lib/facter/util/loader.rb
70
+ - lib/facter/util/plist.rb
148
71
  - lib/facter/util/macaddress.rb
149
- - lib/facter/util/macosx.rb
150
- - lib/facter/util/manufacturer.rb
151
- - lib/facter/util/memory.rb
152
- - lib/facter/util/netmask.rb
153
- - lib/facter/util/normalization.rb
154
- - lib/facter/util/nothing_loader.rb
72
+ - lib/facter/util/values.rb
73
+ - lib/facter/util/windows.rb
155
74
  - lib/facter/util/operatingsystem.rb
156
75
  - lib/facter/util/parser.rb
157
- - lib/facter/util/partitions.rb
158
- - lib/facter/util/partitions/linux.rb
159
- - lib/facter/util/partitions/openbsd.rb
160
- - lib/facter/util/plist.rb
161
- - lib/facter/util/plist/generator.rb
162
- - lib/facter/util/plist/parser.rb
163
76
  - lib/facter/util/posix.rb
164
- - lib/facter/util/processor.rb
77
+ - lib/facter/util/ip/windows.rb
165
78
  - lib/facter/util/registry.rb
166
- - lib/facter/util/resolution.rb
167
- - lib/facter/util/solaris_zones.rb
168
- - lib/facter/util/unix_root.rb
169
79
  - lib/facter/util/uptime.rb
170
- - lib/facter/util/values.rb
80
+ - lib/facter/util/resolution.rb
171
81
  - lib/facter/util/virtual.rb
82
+ - lib/facter/util/config.rb
83
+ - lib/facter/util/netmask.rb
172
84
  - lib/facter/util/vlans.rb
173
- - lib/facter/util/windows.rb
174
- - lib/facter/util/windows/api_types.rb
175
- - lib/facter/util/windows/dir.rb
85
+ - lib/facter/util/macosx.rb
86
+ - lib/facter/util/partitions/openbsd.rb
87
+ - lib/facter/util/partitions/linux.rb
88
+ - lib/facter/util/nothing_loader.rb
89
+ - lib/facter/util/xendomains.rb
90
+ - lib/facter/util/collection.rb
91
+ - lib/facter/util/architecture.rb
92
+ - lib/facter/util/normalization.rb
93
+ - lib/facter/util/confine.rb
94
+ - lib/facter/util/plist/parser.rb
95
+ - lib/facter/util/plist/generator.rb
96
+ - lib/facter/util/solaris_zones.rb
97
+ - lib/facter/util/memory.rb
98
+ - lib/facter/util/fact.rb
99
+ - lib/facter/util/wmi.rb
100
+ - lib/facter/util/directory_loader.rb
101
+ - lib/facter/util/ec2.rb
102
+ - lib/facter/util/file_read.rb
103
+ - lib/facter/util/ip.rb
104
+ - lib/facter/util/composite_loader.rb
176
105
  - lib/facter/util/windows/error.rb
177
106
  - lib/facter/util/windows/process.rb
107
+ - lib/facter/util/windows/api_types.rb
178
108
  - lib/facter/util/windows/user.rb
179
- - lib/facter/util/windows_root.rb
180
- - lib/facter/util/wmi.rb
181
- - lib/facter/util/xendomains.rb
182
- - lib/facter/version.rb
109
+ - lib/facter/util/windows/dir.rb
110
+ - lib/facter/util/manufacturer.rb
111
+ - lib/facter/util/processor.rb
112
+ - lib/facter/util/unix_root.rb
113
+ - lib/facter/ec2/rest.rb
114
+ - lib/facter/macaddress.rb
115
+ - lib/facter/rubyversion.rb
116
+ - lib/facter/hostname.rb
117
+ - lib/facter/operatingsystem.rb
118
+ - lib/facter/lsbdistrelease.rb
119
+ - lib/facter/timezone.rb
120
+ - lib/facter/facterversion.rb
121
+ - lib/facter/core/suitable.rb
122
+ - lib/facter/core/resolvable.rb
123
+ - lib/facter/core/directed_graph.rb
124
+ - lib/facter/core/execution/windows.rb
125
+ - lib/facter/core/execution/posix.rb
126
+ - lib/facter/core/execution/base.rb
127
+ - lib/facter/core/execution.rb
128
+ - lib/facter/core/aggregate.rb
129
+ - lib/facter/core/logging.rb
130
+ - lib/facter/processors/os.rb
131
+ - lib/facter/processors.rb
132
+ - lib/facter/zfs_version.rb
133
+ - lib/facter/uptime_seconds.rb
134
+ - lib/facter/uptime.rb
135
+ - lib/facter/ps.rb
136
+ - lib/facter/operatingsystemmajrelease.rb
137
+ - lib/facter/kernelversion.rb
183
138
  - lib/facter/virtual.rb
139
+ - lib/facter/lsbdistdescription.rb
140
+ - lib/facter/lsbrelease.rb
141
+ - lib/facter/fqdn.rb
142
+ - lib/facter/selinux.rb
143
+ - lib/facter/gce.rb
144
+ - lib/facter/netmask.rb
145
+ - lib/facter/interfaces.rb
184
146
  - lib/facter/vlans.rb
147
+ - lib/facter/macosx.rb
148
+ - lib/facter/Cfkey.rb
149
+ - lib/facter/application.rb
150
+ - lib/facter/ipaddress6.rb
151
+ - lib/facter/id.rb
152
+ - lib/facter/lsbdistcodename.rb
153
+ - lib/facter/zpool_version.rb
185
154
  - lib/facter/xendomains.rb
186
- - lib/facter/zfs_version.rb
155
+ - lib/facter/os.rb
156
+ - lib/facter/architecture.rb
157
+ - lib/facter/ldom.rb
158
+ - lib/facter/operatingsystemrelease.rb
187
159
  - lib/facter/zonename.rb
188
- - lib/facter/zones.rb
189
- - lib/facter/zpool_version.rb
190
- - spec/fixtures/cpuinfo/amd64dual
191
- - spec/fixtures/cpuinfo/amd64dual-grep
192
- - spec/fixtures/cpuinfo/amd64quad
193
- - spec/fixtures/cpuinfo/amd64solo
194
- - spec/fixtures/cpuinfo/amd64tri
195
- - spec/fixtures/cpuinfo/amd64twentyfour
196
- - spec/fixtures/cpuinfo/amd64twentyfour-grep
197
- - spec/fixtures/cpuinfo/bbg3-armel
198
- - spec/fixtures/cpuinfo/beaglexm-armel
199
- - spec/fixtures/cpuinfo/panda-armel
200
- - spec/fixtures/cpuinfo/ppc64
201
- - spec/fixtures/cpuinfo/ppc64le
202
- - spec/fixtures/cpuinfo/sparc
203
- - spec/fixtures/cpuinfo/two_multicore-grep
204
- - spec/fixtures/cpuinfo/two_singlecore-grep
205
- - spec/fixtures/hpux/machinfo/hppa-rp4440
206
- - spec/fixtures/hpux/machinfo/ia64-rx2620
207
- - spec/fixtures/hpux/machinfo/ia64-rx6600
208
- - spec/fixtures/hpux/machinfo/ia64-rx8640
209
- - spec/fixtures/hpux/machinfo/superdome-server-SD32B
210
- - spec/fixtures/hpux/machinfo/superdome2-16s
211
- - spec/fixtures/hpux/sched.models
212
- - spec/fixtures/hpux/unistd.h
213
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
214
- - spec/fixtures/ifconfig/centos_5_5
215
- - spec/fixtures/ifconfig/centos_5_5_eth0
216
- - spec/fixtures/ifconfig/darwin_10_3_0
217
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
218
- - spec/fixtures/ifconfig/darwin_10_6_4
219
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
220
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
221
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
222
- - spec/fixtures/ifconfig/darwin_9_8_0
223
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
224
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
225
- - spec/fixtures/ifconfig/fedora_10
226
- - spec/fixtures/ifconfig/fedora_10_eth0
227
- - spec/fixtures/ifconfig/fedora_13
228
- - spec/fixtures/ifconfig/fedora_13_eth0
229
- - spec/fixtures/ifconfig/fedora_8
230
- - spec/fixtures/ifconfig/fedora_8_eth0
231
- - spec/fixtures/ifconfig/freebsd_6_0
232
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
233
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
234
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
235
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
236
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
237
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
238
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
239
- - spec/fixtures/ifconfig/linux_ifconfig_venet
240
- - spec/fixtures/ifconfig/open_solaris_10
241
- - spec/fixtures/ifconfig/open_solaris_b132
242
- - spec/fixtures/ifconfig/openbsd_bridge_rules
243
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
244
- - spec/fixtures/ifconfig/ubuntu_7_04
245
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
246
- - spec/fixtures/ldom/ldom_v1
247
- - spec/fixtures/netstat/centos_5_5
248
- - spec/fixtures/netstat/darwin_10_3_0
249
- - spec/fixtures/netstat/darwin_10_6_4
250
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
251
- - spec/fixtures/netstat/darwin_9_8_0
252
- - spec/fixtures/netstat/fedora_10
253
- - spec/fixtures/netstat/open_solaris_10
254
- - spec/fixtures/netstat/open_solaris_b132
255
- - spec/fixtures/netstat/ubuntu_7_04
256
- - spec/fixtures/processorcount/solaris-psrinfo
257
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
160
+ - lib/facter/osfamily.rb
161
+ - lib/facter/lsbdistid.rb
162
+ - lib/facter/rubysitedir.rb
163
+ - lib/facter/network.rb
164
+ - lib/facter/lsbminordistrelease.rb
165
+ - lib/facter/iphostnumber.rb
166
+ - lib/facter/uptime_days.rb
167
+ - lib/facter/ipaddress.rb
168
+ - lib/facter/memory.rb
169
+ - lib/facter/filesystems.rb
170
+ - lib/facter/hardwareisa.rb
171
+ - lib/facter/gce/metadata.rb
172
+ - lib/facter/uniqueid.rb
173
+ - lib/facter/ssh.rb
174
+ - lib/facter/ec2.rb
175
+ - lib/facter/kernel.rb
176
+ - lib/facter/uptime_hours.rb
177
+ - lib/facter/rackspace.rb
178
+ - lib/facter/physicalprocessorcount.rb
179
+ - lib/facter/manufacturer.rb
180
+ - lib/facter/processor.rb
181
+ - lib/facter/operatingsystem/windows.rb
182
+ - lib/facter/operatingsystem/sunos.rb
183
+ - lib/facter/operatingsystem/implementation.rb
184
+ - lib/facter/operatingsystem/vmkernel.rb
185
+ - lib/facter/operatingsystem/cumuluslinux.rb
186
+ - lib/facter/operatingsystem/linux.rb
187
+ - lib/facter/operatingsystem/osreleaselinux.rb
188
+ - lib/facter/operatingsystem/base.rb
189
+ - lib/facter/kernelmajversion.rb
190
+ - lib/facter/domain.rb
191
+ - spec/lib/facter_spec/windows_network.rb
192
+ - spec/lib/facter_spec/cpuinfo.rb
193
+ - spec/fixtures/cpuinfo/amd64quad
194
+ - spec/fixtures/cpuinfo/panda-armel
195
+ - spec/fixtures/cpuinfo/ppc64
196
+ - spec/fixtures/cpuinfo/amd64tri
197
+ - spec/fixtures/cpuinfo/amd64twentyfour-grep
198
+ - spec/fixtures/cpuinfo/amd64solo
199
+ - spec/fixtures/cpuinfo/ppc64le
200
+ - spec/fixtures/cpuinfo/beaglexm-armel
201
+ - spec/fixtures/cpuinfo/amd64twentyfour
202
+ - spec/fixtures/cpuinfo/sparc
203
+ - spec/fixtures/cpuinfo/amd64dual
204
+ - spec/fixtures/cpuinfo/two_singlecore-grep
205
+ - spec/fixtures/cpuinfo/amd64dual-grep
206
+ - spec/fixtures/cpuinfo/bbg3-armel
207
+ - spec/fixtures/cpuinfo/two_multicore-grep
208
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_container
209
+ - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
210
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
211
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
212
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
213
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
214
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
215
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
216
+ - spec/fixtures/hpux/unistd.h
217
+ - spec/fixtures/hpux/sched.models
218
+ - spec/fixtures/hpux/machinfo/ia64-rx2620
219
+ - spec/fixtures/hpux/machinfo/superdome2-16s
220
+ - spec/fixtures/hpux/machinfo/hppa-rp4440
221
+ - spec/fixtures/hpux/machinfo/ia64-rx8640
222
+ - spec/fixtures/hpux/machinfo/ia64-rx6600
223
+ - spec/fixtures/hpux/machinfo/superdome-server-SD32B
258
224
  - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
259
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
260
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
261
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
262
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
263
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
264
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
265
- - spec/fixtures/unit/dhcp_servers/route
266
- - spec/fixtures/unit/dhcp_servers/route_nogw
267
- - spec/fixtures/unit/ec2/rest/meta-data/root
268
- - spec/fixtures/unit/filesystems/linux
269
- - spec/fixtures/unit/gce/metadata/metadata.json
270
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
271
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
272
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
273
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
274
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
275
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
276
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
277
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
278
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
279
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
280
- - spec/fixtures/unit/memory/aix-svmon
281
- - spec/fixtures/unit/memory/aix-swap_l
282
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
283
- - spec/fixtures/unit/memory/darwin-swapinfo-single
284
- - spec/fixtures/unit/memory/darwin-vm_stat
285
- - spec/fixtures/unit/memory/dragonfly-vmstat
286
- - spec/fixtures/unit/memory/freebsd-vmstat
287
- - spec/fixtures/unit/memory/linux-proc_meminfo
288
- - spec/fixtures/unit/memory/openbsd-vmstat
289
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
290
- - spec/fixtures/unit/memory/solaris-prtconf
291
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
292
- - spec/fixtures/unit/memory/solaris-swap_l-single
293
- - spec/fixtures/unit/memory/solaris-vmstat
294
- - spec/fixtures/unit/netmask/darwin_10_8_5.txt
295
- - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
296
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
225
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
226
+ - spec/fixtures/processorcount/solaris-psrinfo
297
227
  - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
298
- - spec/fixtures/unit/processors/os/darwin-system-profiler
299
- - spec/fixtures/unit/selinux/selinux_sestatus
228
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
229
+ - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
230
+ - spec/fixtures/unit/netmask/darwin_10_8_5.txt
300
231
  - spec/fixtures/unit/selinux/selinux_sestatus2
301
- - spec/fixtures/unit/util/dhcp_servers/route
302
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
303
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
232
+ - spec/fixtures/unit/selinux/selinux_sestatus
233
+ - spec/fixtures/unit/filesystems/linux
234
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
235
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
236
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
304
237
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
305
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
306
238
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
307
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
308
239
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
309
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
310
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
311
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
312
- - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
313
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
314
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
315
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
240
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
241
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
242
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
243
+ - spec/fixtures/unit/util/processor/x86-pentium2
244
+ - spec/fixtures/unit/util/processor/solaris-sun4u
245
+ - spec/fixtures/unit/util/processor/solaris-i86pc
316
246
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
317
- - spec/fixtures/unit/util/ip/hpux_1111_lanscan
318
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
319
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
320
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
321
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
247
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
248
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
249
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
250
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
322
251
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
252
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
253
+ - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
254
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
323
255
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
324
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
325
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
256
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
257
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
258
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
259
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
260
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
261
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
262
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
263
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
264
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
326
265
  - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
327
- - spec/fixtures/unit/util/ip/hpux_1131_lanscan
328
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
266
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
267
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
268
+ - spec/fixtures/unit/util/ip/hpux_1111_lanscan
329
269
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
270
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
271
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
272
+ - spec/fixtures/unit/util/ip/hpux_1131_lanscan
273
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
274
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
330
275
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
331
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
332
276
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
333
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
334
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
335
277
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
336
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
337
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
338
- - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
278
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
279
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
339
280
  - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
340
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
341
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
342
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
343
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
344
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
345
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
281
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
282
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
283
+ - spec/fixtures/unit/util/vlans/centos-5-no-vlans
284
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
346
285
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
286
+ - spec/fixtures/unit/util/manufacturer/smartos_smbios
287
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
347
288
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
348
289
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
349
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
350
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
351
290
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
352
291
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
353
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
354
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
355
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
356
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
357
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
358
292
  - spec/fixtures/unit/util/partitions/partitions/mount
359
- - spec/fixtures/unit/util/processor/solaris-i86pc
360
- - spec/fixtures/unit/util/processor/solaris-sun4u
361
- - spec/fixtures/unit/util/processor/x86-pentium2
362
- - spec/fixtures/unit/util/uptime/kstat_boot_time
363
293
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
364
294
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
365
295
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
366
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
367
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
368
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
369
- - spec/fixtures/unit/util/vlans/linux_vlan_config
296
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
370
297
  - spec/fixtures/unit/util/xendomains/xendomains
371
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
372
- - spec/fixtures/unit/zfs_version/freebsd_8.2
298
+ - spec/fixtures/unit/util/dhcp_servers/route
299
+ - spec/fixtures/unit/util/dhcp_servers/route_nogw
300
+ - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
301
+ - spec/fixtures/unit/util/operatingsystem/sabayon.txt
302
+ - spec/fixtures/unit/util/operatingsystem/wheezy.txt
303
+ - spec/fixtures/unit/util/operatingsystem/coreos.txt
304
+ - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
305
+ - spec/fixtures/unit/ec2/rest/meta-data/root
306
+ - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
307
+ - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
308
+ - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
309
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
310
+ - spec/fixtures/unit/processors/os/darwin-system-profiler
311
+ - spec/fixtures/unit/zfs_version/zfs_new
312
+ - spec/fixtures/unit/zfs_version/solaris_11
373
313
  - spec/fixtures/unit/zfs_version/freebsd_9.0
374
314
  - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
375
- - spec/fixtures/unit/zfs_version/solaris_10
376
- - spec/fixtures/unit/zfs_version/solaris_11
377
- - spec/fixtures/unit/zfs_version/zfs_new
378
315
  - spec/fixtures/unit/zfs_version/zfs_old
379
316
  - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
380
- - spec/fixtures/unit/zpool_version/freebsd_8.2
381
- - spec/fixtures/unit/zpool_version/freebsd_9.0
382
- - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
383
- - spec/fixtures/unit/zpool_version/solaris_10
317
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
318
+ - spec/fixtures/unit/zfs_version/solaris_10
319
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
320
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3
321
+ - spec/fixtures/unit/memory/solaris-vmstat
322
+ - spec/fixtures/unit/memory/dragonfly-vmstat
323
+ - spec/fixtures/unit/memory/solaris-prtconf
324
+ - spec/fixtures/unit/memory/solaris-swap_l-multiple
325
+ - spec/fixtures/unit/memory/aix-swap_l
326
+ - spec/fixtures/unit/memory/solaris-swap_l-single
327
+ - spec/fixtures/unit/memory/smartos_zone_swap_l-single
328
+ - spec/fixtures/unit/memory/linux-proc_meminfo
329
+ - spec/fixtures/unit/memory/darwin-swapinfo-multiple
330
+ - spec/fixtures/unit/memory/darwin-vm_stat
331
+ - spec/fixtures/unit/memory/aix-svmon
332
+ - spec/fixtures/unit/memory/freebsd-vmstat
333
+ - spec/fixtures/unit/memory/darwin-swapinfo-single
334
+ - spec/fixtures/unit/memory/openbsd-vmstat
335
+ - spec/fixtures/unit/gce/metadata/metadata.json
336
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
337
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
338
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices
339
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
340
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
341
+ - spec/fixtures/unit/dhcp_servers/route
342
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
343
+ - spec/fixtures/unit/dhcp_servers/route_nogw
344
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
345
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
346
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
347
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
384
348
  - spec/fixtures/unit/zpool_version/solaris_11
349
+ - spec/fixtures/unit/zpool_version/freebsd_9.0
350
+ - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
385
351
  - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
386
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
387
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
388
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
389
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
390
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
391
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
392
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
393
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
394
- - spec/integration/facter_spec.rb
352
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
353
+ - spec/fixtures/unit/zpool_version/solaris_10
354
+ - spec/fixtures/ifconfig/open_solaris_b132
355
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
356
+ - spec/fixtures/ifconfig/freebsd_6_0
357
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
358
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
359
+ - spec/fixtures/ifconfig/openbsd_bridge_rules
360
+ - spec/fixtures/ifconfig/darwin_10_3_0
361
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
362
+ - spec/fixtures/ifconfig/centos_5_5_eth0
363
+ - spec/fixtures/ifconfig/fedora_8
364
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
365
+ - spec/fixtures/ifconfig/centos_5_5
366
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
367
+ - spec/fixtures/ifconfig/fedora_13
368
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
369
+ - spec/fixtures/ifconfig/fedora_13_eth0
370
+ - spec/fixtures/ifconfig/darwin_9_8_0
371
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
372
+ - spec/fixtures/ifconfig/ubuntu_7_04
373
+ - spec/fixtures/ifconfig/darwin_10_6_4
374
+ - spec/fixtures/ifconfig/fedora_10_eth0
375
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
376
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
377
+ - spec/fixtures/ifconfig/open_solaris_10
378
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
379
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
380
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
381
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
382
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
383
+ - spec/fixtures/ifconfig/fedora_8_eth0
384
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
385
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
386
+ - spec/fixtures/ifconfig/fedora_10
387
+ - spec/fixtures/netstat/open_solaris_b132
388
+ - spec/fixtures/netstat/darwin_10_3_0
389
+ - spec/fixtures/netstat/centos_5_5
390
+ - spec/fixtures/netstat/darwin_9_8_0
391
+ - spec/fixtures/netstat/ubuntu_7_04
392
+ - spec/fixtures/netstat/darwin_10_6_4
393
+ - spec/fixtures/netstat/open_solaris_10
394
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
395
+ - spec/fixtures/netstat/fedora_10
396
+ - spec/fixtures/ldom/ldom_v1
397
+ - spec/puppetlabs_spec_helper.rb
395
398
  - spec/integration/util/windows/user_spec.rb
396
- - spec/lib/facter_spec/cpuinfo.rb
397
- - spec/lib/facter_spec/windows_network.rb
398
- - spec/puppetlabs_spec/files.rb
399
+ - spec/integration/facter_spec.rb
399
400
  - spec/puppetlabs_spec/fixtures.rb
400
401
  - spec/puppetlabs_spec/matchers.rb
402
+ - spec/puppetlabs_spec/files.rb
401
403
  - spec/puppetlabs_spec/verbose.rb
402
- - spec/puppetlabs_spec_helper.rb
403
404
  - spec/schema/validate_facter_schema.rb
404
- - spec/shared_contexts/platform.rb
405
405
  - spec/shared_formats/parses.rb
406
- - spec/spec_helper.rb
406
+ - spec/unit/physicalprocessorcount_spec.rb
407
+ - spec/unit/fqdn_spec.rb
408
+ - spec/unit/uniqueid_spec.rb
407
409
  - spec/unit/application_spec.rb
410
+ - spec/unit/kernelmajversion_spec.rb
408
411
  - spec/unit/architecture_spec.rb
409
412
  - spec/unit/blockdevices_spec.rb
410
- - spec/unit/core/aggregate_spec.rb
411
- - spec/unit/core/directed_graph_spec.rb
412
- - spec/unit/core/execution/base_spec.rb
413
- - spec/unit/core/execution/posix_spec.rb
414
- - spec/unit/core/execution/windows_spec.rb
415
- - spec/unit/core/execution_spec.rb
416
- - spec/unit/core/logging_spec.rb
417
- - spec/unit/core/resolvable_spec.rb
418
- - spec/unit/core/suitable_spec.rb
419
- - spec/unit/dhcp_servers_spec.rb
420
- - spec/unit/domain_spec.rb
421
- - spec/unit/ec2/rest_spec.rb
422
- - spec/unit/ec2_spec.rb
423
- - spec/unit/facter_spec.rb
424
- - spec/unit/filesystems_spec.rb
425
- - spec/unit/fqdn_spec.rb
426
- - spec/unit/gce/metadata_spec.rb
427
- - spec/unit/gce_spec.rb
428
- - spec/unit/gid_spec.rb
429
- - spec/unit/hardwareisa_spec.rb
430
- - spec/unit/hardwaremodel_spec.rb
431
- - spec/unit/hostname_spec.rb
432
- - spec/unit/id_spec.rb
433
- - spec/unit/interfaces_spec.rb
434
- - spec/unit/ipaddress6_spec.rb
435
- - spec/unit/ipaddress_spec.rb
436
- - spec/unit/kernel_spec.rb
437
- - spec/unit/kernelmajversion_spec.rb
438
- - spec/unit/kernelrelease_spec.rb
439
- - spec/unit/kernelversion_spec.rb
440
- - spec/unit/ldom_spec.rb
441
- - spec/unit/lsbdistcodename_spec.rb
442
- - spec/unit/lsbdistdescription_spec.rb
443
- - spec/unit/lsbdistid_spec.rb
444
- - spec/unit/lsbdistrelease_spec.rb
445
- - spec/unit/lsbmajdistrelease_spec.rb
446
- - spec/unit/lsbminordistrelease_spec.rb
447
- - spec/unit/lsbrelease_spec.rb
448
- - spec/unit/macaddress_spec.rb
449
- - spec/unit/manufacturer_spec.rb
450
- - spec/unit/memory_spec.rb
451
- - spec/unit/netmask_spec.rb
452
- - spec/unit/operatingsystem/base_spec.rb
453
- - spec/unit/operatingsystem/cumuluslinux_spec.rb
454
- - spec/unit/operatingsystem/implementation_spec.rb
455
- - spec/unit/operatingsystem/linux_spec.rb
456
- - spec/unit/operatingsystem/sunos_spec.rb
457
- - spec/unit/operatingsystem/vmkernel_spec.rb
458
- - spec/unit/operatingsystem/windows_spec.rb
459
- - spec/unit/operatingsystem_spec.rb
460
- - spec/unit/operatingsystemmajrelease_spec.rb
461
- - spec/unit/operatingsystemrelease_spec.rb
462
- - spec/unit/os_spec.rb
463
- - spec/unit/osfamily_spec.rb
464
- - spec/unit/partitions_spec.rb
465
- - spec/unit/physicalprocessorcount_spec.rb
466
- - spec/unit/processor_spec.rb
467
- - spec/unit/processors/os_spec.rb
468
413
  - spec/unit/processors_spec.rb
469
- - spec/unit/ps_spec.rb
470
- - spec/unit/rackspace_spec.rb
471
414
  - spec/unit/rubyplatform_spec.rb
472
- - spec/unit/selinux_spec.rb
473
- - spec/unit/ssh_spec.rb
474
- - spec/unit/system32_spec.rb
475
- - spec/unit/system_uptime_spec.rb
476
- - spec/unit/uniqueid_spec.rb
477
- - spec/unit/uptime_spec.rb
478
- - spec/unit/util/collection_spec.rb
479
- - spec/unit/util/config_spec.rb
480
- - spec/unit/util/confine_spec.rb
481
- - spec/unit/util/dhcp_servers_spec.rb
482
- - spec/unit/util/directory_loader_spec.rb
483
- - spec/unit/util/ec2_spec.rb
484
- - spec/unit/util/fact_spec.rb
485
415
  - spec/unit/util/file_read_spec.rb
416
+ - spec/unit/util/normalization_spec.rb
417
+ - spec/unit/util/partitions_spec.rb
418
+ - spec/unit/util/confine_spec.rb
419
+ - spec/unit/util/manufacturer_spec.rb
420
+ - spec/unit/util/vlans_spec.rb
421
+ - spec/unit/util/collection_spec.rb
486
422
  - spec/unit/util/formatter_spec.rb
487
423
  - spec/unit/util/ip/windows_spec.rb
488
- - spec/unit/util/ip_spec.rb
489
- - spec/unit/util/loader_spec.rb
490
- - spec/unit/util/macaddress_spec.rb
424
+ - spec/unit/util/posix_spec.rb
425
+ - spec/unit/util/fact_spec.rb
426
+ - spec/unit/util/config_spec.rb
427
+ - spec/unit/util/resolution_spec.rb
428
+ - spec/unit/util/virtual_spec.rb
491
429
  - spec/unit/util/macosx_spec.rb
492
- - spec/unit/util/manufacturer_spec.rb
493
- - spec/unit/util/normalization_spec.rb
494
- - spec/unit/util/operatingsystem_spec.rb
430
+ - spec/unit/util/directory_loader_spec.rb
495
431
  - spec/unit/util/parser_spec.rb
496
432
  - spec/unit/util/partitions/partitions_spec.rb
497
- - spec/unit/util/partitions_spec.rb
498
- - spec/unit/util/posix_spec.rb
499
- - spec/unit/util/processor_spec.rb
433
+ - spec/unit/util/values_spec.rb
434
+ - spec/unit/util/ip_spec.rb
500
435
  - spec/unit/util/registry_spec.rb
501
- - spec/unit/util/resolution_spec.rb
502
436
  - spec/unit/util/solaris_zones_spec.rb
437
+ - spec/unit/util/dhcp_servers_spec.rb
503
438
  - spec/unit/util/uptime_spec.rb
504
- - spec/unit/util/values_spec.rb
505
- - spec/unit/util/virtual_spec.rb
506
- - spec/unit/util/vlans_spec.rb
507
- - spec/unit/util/wmi_spec.rb
508
439
  - spec/unit/util/xendomains_spec.rb
509
- - spec/unit/version_spec.rb
440
+ - spec/unit/util/processor_spec.rb
441
+ - spec/unit/util/wmi_spec.rb
442
+ - spec/unit/util/macaddress_spec.rb
443
+ - spec/unit/util/ec2_spec.rb
444
+ - spec/unit/util/operatingsystem_spec.rb
445
+ - spec/unit/util/loader_spec.rb
446
+ - spec/unit/ec2/rest_spec.rb
447
+ - spec/unit/operatingsystemmajrelease_spec.rb
448
+ - spec/unit/operatingsystemrelease_spec.rb
449
+ - spec/unit/partitions_spec.rb
450
+ - spec/unit/ps_spec.rb
451
+ - spec/unit/filesystems_spec.rb
452
+ - spec/unit/lsbdistrelease_spec.rb
453
+ - spec/unit/manufacturer_spec.rb
454
+ - spec/unit/id_spec.rb
455
+ - spec/unit/core/logging_spec.rb
456
+ - spec/unit/core/directed_graph_spec.rb
457
+ - spec/unit/core/execution/windows_spec.rb
458
+ - spec/unit/core/execution/base_spec.rb
459
+ - spec/unit/core/execution/posix_spec.rb
460
+ - spec/unit/core/suitable_spec.rb
461
+ - spec/unit/core/resolvable_spec.rb
462
+ - spec/unit/core/aggregate_spec.rb
463
+ - spec/unit/core/execution_spec.rb
464
+ - spec/unit/processors/os_spec.rb
465
+ - spec/unit/ipaddress_spec.rb
466
+ - spec/unit/ssh_spec.rb
467
+ - spec/unit/system_uptime_spec.rb
468
+ - spec/unit/hardwareisa_spec.rb
469
+ - spec/unit/lsbminordistrelease_spec.rb
510
470
  - spec/unit/virtual_spec.rb
471
+ - spec/unit/zpool_version_spec.rb
472
+ - spec/unit/zones_spec.rb
473
+ - spec/unit/ipaddress6_spec.rb
474
+ - spec/unit/selinux_spec.rb
475
+ - spec/unit/lsbdistdescription_spec.rb
476
+ - spec/unit/kernelversion_spec.rb
477
+ - spec/unit/lsbdistcodename_spec.rb
478
+ - spec/unit/interfaces_spec.rb
479
+ - spec/unit/kernel_spec.rb
480
+ - spec/unit/memory_spec.rb
481
+ - spec/unit/ldom_spec.rb
511
482
  - spec/unit/zfs_version_spec.rb
483
+ - spec/unit/hardwaremodel_spec.rb
484
+ - spec/unit/version_spec.rb
485
+ - spec/unit/gce_spec.rb
486
+ - spec/unit/netmask_spec.rb
487
+ - spec/unit/kernelrelease_spec.rb
488
+ - spec/unit/lsbrelease_spec.rb
489
+ - spec/unit/dhcp_servers_spec.rb
490
+ - spec/unit/os_spec.rb
491
+ - spec/unit/lsbmajdistrelease_spec.rb
492
+ - spec/unit/uptime_spec.rb
493
+ - spec/unit/rackspace_spec.rb
494
+ - spec/unit/processor_spec.rb
495
+ - spec/unit/facter_spec.rb
496
+ - spec/unit/gid_spec.rb
512
497
  - spec/unit/zonename_spec.rb
513
- - spec/unit/zones_spec.rb
514
- - spec/unit/zpool_version_spec.rb
498
+ - spec/unit/hostname_spec.rb
499
+ - spec/unit/gce/metadata_spec.rb
500
+ - spec/unit/lsbdistid_spec.rb
501
+ - spec/unit/macaddress_spec.rb
502
+ - spec/unit/domain_spec.rb
503
+ - spec/unit/ec2_spec.rb
504
+ - spec/unit/operatingsystem_spec.rb
505
+ - spec/unit/operatingsystem/windows_spec.rb
506
+ - spec/unit/operatingsystem/base_spec.rb
507
+ - spec/unit/operatingsystem/linux_spec.rb
508
+ - spec/unit/operatingsystem/cumuluslinux_spec.rb
509
+ - spec/unit/operatingsystem/sunos_spec.rb
510
+ - spec/unit/operatingsystem/vmkernel_spec.rb
511
+ - spec/unit/operatingsystem/implementation_spec.rb
512
+ - spec/unit/system32_spec.rb
513
+ - spec/unit/osfamily_spec.rb
514
+ - spec/spec_helper.rb
515
515
  - spec/watchr.rb
516
+ - spec/shared_contexts/platform.rb
516
517
  homepage: https://github.com/puppetlabs/facter
517
518
  licenses: []
518
- metadata: {}
519
519
  post_install_message:
520
520
  rdoc_options: []
521
521
  require_paths:
522
522
  - lib
523
523
  required_ruby_version: !ruby/object:Gem::Requirement
524
+ none: false
524
525
  requirements:
525
- - - ">="
526
+ - - ! '>='
526
527
  - !ruby/object:Gem::Version
527
528
  version: '0'
528
529
  required_rubygems_version: !ruby/object:Gem::Requirement
530
+ none: false
529
531
  requirements:
530
- - - ">="
532
+ - - ! '>='
531
533
  - !ruby/object:Gem::Version
532
534
  version: '0'
533
535
  requirements: []
534
536
  rubyforge_project:
535
- rubygems_version: 2.4.8
537
+ rubygems_version: 1.8.23
536
538
  signing_key:
537
- specification_version: 4
539
+ specification_version: 3
538
540
  summary: Facter, a system inventory tool
539
541
  test_files:
540
- - spec/fixtures/cpuinfo/amd64dual
541
- - spec/fixtures/cpuinfo/amd64dual-grep
542
- - spec/fixtures/cpuinfo/amd64quad
543
- - spec/fixtures/cpuinfo/amd64solo
544
- - spec/fixtures/cpuinfo/amd64tri
545
- - spec/fixtures/cpuinfo/amd64twentyfour
546
- - spec/fixtures/cpuinfo/amd64twentyfour-grep
547
- - spec/fixtures/cpuinfo/bbg3-armel
548
- - spec/fixtures/cpuinfo/beaglexm-armel
542
+ - spec/lib/facter_spec/windows_network.rb
543
+ - spec/lib/facter_spec/cpuinfo.rb
544
+ - spec/fixtures/cpuinfo/amd64quad
549
545
  - spec/fixtures/cpuinfo/panda-armel
550
546
  - spec/fixtures/cpuinfo/ppc64
547
+ - spec/fixtures/cpuinfo/amd64tri
548
+ - spec/fixtures/cpuinfo/amd64twentyfour-grep
549
+ - spec/fixtures/cpuinfo/amd64solo
551
550
  - spec/fixtures/cpuinfo/ppc64le
551
+ - spec/fixtures/cpuinfo/beaglexm-armel
552
+ - spec/fixtures/cpuinfo/amd64twentyfour
552
553
  - spec/fixtures/cpuinfo/sparc
553
- - spec/fixtures/cpuinfo/two_multicore-grep
554
+ - spec/fixtures/cpuinfo/amd64dual
554
555
  - spec/fixtures/cpuinfo/two_singlecore-grep
555
- - spec/fixtures/hpux/machinfo/hppa-rp4440
556
+ - spec/fixtures/cpuinfo/amd64dual-grep
557
+ - spec/fixtures/cpuinfo/bbg3-armel
558
+ - spec/fixtures/cpuinfo/two_multicore-grep
559
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_container
560
+ - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
561
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
562
+ - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
563
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
564
+ - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
565
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
566
+ - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
567
+ - spec/fixtures/hpux/unistd.h
568
+ - spec/fixtures/hpux/sched.models
556
569
  - spec/fixtures/hpux/machinfo/ia64-rx2620
557
- - spec/fixtures/hpux/machinfo/ia64-rx6600
570
+ - spec/fixtures/hpux/machinfo/superdome2-16s
571
+ - spec/fixtures/hpux/machinfo/hppa-rp4440
558
572
  - spec/fixtures/hpux/machinfo/ia64-rx8640
573
+ - spec/fixtures/hpux/machinfo/ia64-rx6600
559
574
  - spec/fixtures/hpux/machinfo/superdome-server-SD32B
560
- - spec/fixtures/hpux/machinfo/superdome2-16s
561
- - spec/fixtures/hpux/sched.models
562
- - spec/fixtures/hpux/unistd.h
563
- - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
564
- - spec/fixtures/ifconfig/centos_5_5
565
- - spec/fixtures/ifconfig/centos_5_5_eth0
566
- - spec/fixtures/ifconfig/darwin_10_3_0
567
- - spec/fixtures/ifconfig/darwin_10_3_0_en0
568
- - spec/fixtures/ifconfig/darwin_10_6_4
569
- - spec/fixtures/ifconfig/darwin_10_6_4_en1
570
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
571
- - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
572
- - spec/fixtures/ifconfig/darwin_9_8_0
573
- - spec/fixtures/ifconfig/darwin_9_8_0_en0
574
- - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
575
- - spec/fixtures/ifconfig/fedora_10
576
- - spec/fixtures/ifconfig/fedora_10_eth0
577
- - spec/fixtures/ifconfig/fedora_13
578
- - spec/fixtures/ifconfig/fedora_13_eth0
579
- - spec/fixtures/ifconfig/fedora_8
580
- - spec/fixtures/ifconfig/fedora_8_eth0
581
- - spec/fixtures/ifconfig/freebsd_6_0
582
- - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
583
- - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
584
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
585
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
586
- - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
587
- - spec/fixtures/ifconfig/linux_ifconfig_no_addr
588
- - spec/fixtures/ifconfig/linux_ifconfig_no_mac
589
- - spec/fixtures/ifconfig/linux_ifconfig_venet
590
- - spec/fixtures/ifconfig/open_solaris_10
591
- - spec/fixtures/ifconfig/open_solaris_b132
592
- - spec/fixtures/ifconfig/openbsd_bridge_rules
593
- - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
594
- - spec/fixtures/ifconfig/ubuntu_7_04
595
- - spec/fixtures/ifconfig/ubuntu_7_04_eth0
596
- - spec/fixtures/ldom/ldom_v1
597
- - spec/fixtures/netstat/centos_5_5
598
- - spec/fixtures/netstat/darwin_10_3_0
599
- - spec/fixtures/netstat/darwin_10_6_4
600
- - spec/fixtures/netstat/darwin_10_6_6_dualstack
601
- - spec/fixtures/netstat/darwin_9_8_0
602
- - spec/fixtures/netstat/fedora_10
603
- - spec/fixtures/netstat/open_solaris_10
604
- - spec/fixtures/netstat/open_solaris_b132
605
- - spec/fixtures/netstat/ubuntu_7_04
606
- - spec/fixtures/processorcount/solaris-psrinfo
607
- - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
608
575
  - spec/fixtures/processorcount/solaris-x86_64-kstat-cpu-info
609
- - spec/fixtures/unit/dhcp_servers/nmcli_devices
610
- - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
611
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
612
- - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
613
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
614
- - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
615
- - spec/fixtures/unit/dhcp_servers/route
616
- - spec/fixtures/unit/dhcp_servers/route_nogw
617
- - spec/fixtures/unit/ec2/rest/meta-data/root
618
- - spec/fixtures/unit/filesystems/linux
619
- - spec/fixtures/unit/gce/metadata/metadata.json
620
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
621
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
622
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
623
- - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
624
- - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
625
- - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
626
- - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
627
- - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
628
- - spec/fixtures/unit/kernelrelease/openbsd-5.3
629
- - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
630
- - spec/fixtures/unit/memory/aix-svmon
631
- - spec/fixtures/unit/memory/aix-swap_l
632
- - spec/fixtures/unit/memory/darwin-swapinfo-multiple
633
- - spec/fixtures/unit/memory/darwin-swapinfo-single
634
- - spec/fixtures/unit/memory/darwin-vm_stat
635
- - spec/fixtures/unit/memory/dragonfly-vmstat
636
- - spec/fixtures/unit/memory/freebsd-vmstat
637
- - spec/fixtures/unit/memory/linux-proc_meminfo
638
- - spec/fixtures/unit/memory/openbsd-vmstat
639
- - spec/fixtures/unit/memory/smartos_zone_swap_l-single
640
- - spec/fixtures/unit/memory/solaris-prtconf
641
- - spec/fixtures/unit/memory/solaris-swap_l-multiple
642
- - spec/fixtures/unit/memory/solaris-swap_l-single
643
- - spec/fixtures/unit/memory/solaris-vmstat
644
- - spec/fixtures/unit/netmask/darwin_10_8_5.txt
645
- - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
646
- - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
576
+ - spec/fixtures/processorcount/solaris-sparc-kstat-cpu-info
577
+ - spec/fixtures/processorcount/solaris-psrinfo
647
578
  - spec/fixtures/unit/netmask/ifconfig_ubuntu_1204.txt
648
- - spec/fixtures/unit/processors/os/darwin-system-profiler
649
- - spec/fixtures/unit/selinux/selinux_sestatus
579
+ - spec/fixtures/unit/netmask/ifconfig_net_tools_1.60.txt
580
+ - spec/fixtures/unit/netmask/ifconfig_aix_7.txt
581
+ - spec/fixtures/unit/netmask/darwin_10_8_5.txt
650
582
  - spec/fixtures/unit/selinux/selinux_sestatus2
651
- - spec/fixtures/unit/util/dhcp_servers/route
652
- - spec/fixtures/unit/util/dhcp_servers/route_nogw
653
- - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
583
+ - spec/fixtures/unit/selinux/selinux_sestatus
584
+ - spec/fixtures/unit/filesystems/linux
585
+ - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
586
+ - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
587
+ - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
654
588
  - spec/fixtures/unit/util/ec2/linux-arp-ec2.out
655
- - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
656
589
  - spec/fixtures/unit/util/ec2/solaris8_arp_a_not_ec2.out
657
- - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
658
590
  - spec/fixtures/unit/util/ec2/windows-2008-arp-a.out
659
- - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
660
- - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
661
- - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
662
- - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
663
- - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
664
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
665
- - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
591
+ - spec/fixtures/unit/util/ec2/windows-2008-arp-a-not-ec2.out
592
+ - spec/fixtures/unit/util/ec2/linux-arp-not-ec2.out
593
+ - spec/fixtures/unit/util/ec2/centos-arp-ec2.out
594
+ - spec/fixtures/unit/util/processor/x86-pentium2
595
+ - spec/fixtures/unit/util/processor/solaris-sun4u
596
+ - spec/fixtures/unit/util/processor/solaris-i86pc
666
597
  - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lo0
667
- - spec/fixtures/unit/util/ip/hpux_1111_lanscan
668
- - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
669
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
670
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
671
- - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
598
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan1
599
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
600
+ - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
601
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
672
602
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_lanscan
603
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan1
604
+ - spec/fixtures/unit/util/ip/hpux_1111_netstat_in
605
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
673
606
  - spec/fixtures/unit/util/ip/hpux_1131_asterisk_netstat_in
674
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan0
675
- - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lan1
607
+ - spec/fixtures/unit/util/ip/Mac_OS_X_10.5.5_ifconfig
608
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
609
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
610
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
611
+ - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
612
+ - spec/fixtures/unit/util/ip/debian_kfreebsd_ifconfig
613
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_single_interface
614
+ - spec/fixtures/unit/util/ip/hpux_1111_ifconfig_lan0
615
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
676
616
  - spec/fixtures/unit/util/ip/hpux_1131_ifconfig_lo0
677
- - spec/fixtures/unit/util/ip/hpux_1131_lanscan
678
- - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
617
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lo0
618
+ - spec/fixtures/unit/util/ip/hpux_1131_asterisk_ifconfig_lan0
619
+ - spec/fixtures/unit/util/ip/hpux_1111_lanscan
679
620
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan1
621
+ - spec/fixtures/unit/util/ip/darwin_ifconfig_all_with_multiple_interfaces
622
+ - spec/fixtures/unit/util/ip/windows_netsh_single_interface
623
+ - spec/fixtures/unit/util/ip/hpux_1131_lanscan
624
+ - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
625
+ - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
680
626
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4
681
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
682
627
  - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lo0
683
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_lanscan
684
- - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_netstat_in
685
628
  - spec/fixtures/unit/util/ip/linux_2_6_35_proc_net_bonding_bond0
686
- - spec/fixtures/unit/util/ip/linux_get_single_interface_eth0
687
- - spec/fixtures/unit/util/ip/linux_get_single_interface_ib0
688
- - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
629
+ - spec/fixtures/unit/util/ip/6.0-STABLE_FreeBSD_ifconfig
630
+ - spec/fixtures/unit/util/ip/hpux_1131_nic_bonding_ifconfig_lan4_1
689
631
  - spec/fixtures/unit/util/ip/linux_ifconfig_all_with_single_interface
690
- - spec/fixtures/unit/util/ip/linux_ifconfig_ib0
691
- - spec/fixtures/unit/util/ip/solaris_ifconfig_all_with_multiple_interfaces
692
- - spec/fixtures/unit/util/ip/solaris_ifconfig_single_interface
693
- - spec/fixtures/unit/util/ip/windows_netsh_all_interfaces
694
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface
695
- - spec/fixtures/unit/util/ip/windows_netsh_single_interface6
632
+ - spec/fixtures/unit/util/ip/hpux_1131_netstat_in
633
+ - spec/fixtures/unit/util/ip/linux_get_single_interface_lo
634
+ - spec/fixtures/unit/util/vlans/centos-5-no-vlans
635
+ - spec/fixtures/unit/util/vlans/linux_vlan_config
696
636
  - spec/fixtures/unit/util/manufacturer/freebsd_dmidecode
637
+ - spec/fixtures/unit/util/manufacturer/smartos_smbios
638
+ - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
697
639
  - spec/fixtures/unit/util/manufacturer/intel_linux_dmidecode
698
640
  - spec/fixtures/unit/util/manufacturer/linux_dmidecode_with_spaces
699
- - spec/fixtures/unit/util/manufacturer/opensolaris_smbios
700
- - spec/fixtures/unit/util/manufacturer/smartos_smbios
701
641
  - spec/fixtures/unit/util/manufacturer/solaris_sunfire_v120_prtdiag
702
642
  - spec/fixtures/unit/util/manufacturer/solaris_t5220_prtdiag
703
- - spec/fixtures/unit/util/operatingsystem/coreos.txt
704
- - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
705
- - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
706
- - spec/fixtures/unit/util/operatingsystem/sabayon.txt
707
- - spec/fixtures/unit/util/operatingsystem/wheezy.txt
708
643
  - spec/fixtures/unit/util/partitions/partitions/mount
709
- - spec/fixtures/unit/util/processor/solaris-i86pc
710
- - spec/fixtures/unit/util/processor/solaris-sun4u
711
- - spec/fixtures/unit/util/processor/x86-pentium2
712
- - spec/fixtures/unit/util/uptime/kstat_boot_time
713
644
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_darwin
714
645
  - spec/fixtures/unit/util/uptime/sysctl_kern_boottime_openbsd
715
646
  - spec/fixtures/unit/util/uptime/ubuntu_proc_uptime
716
- - spec/fixtures/unit/util/virtual/invalid_unicode_dmi_entries
717
- - spec/fixtures/unit/util/virtual/solaris10_proc_self_status1
718
- - spec/fixtures/unit/util/vlans/centos-5-no-vlans
719
- - spec/fixtures/unit/util/vlans/linux_vlan_config
647
+ - spec/fixtures/unit/util/uptime/kstat_boot_time
720
648
  - spec/fixtures/unit/util/xendomains/xendomains
721
- - spec/fixtures/unit/virtual/sysfs_dmi_entries_raw.txt
722
- - spec/fixtures/unit/zfs_version/freebsd_8.2
649
+ - spec/fixtures/unit/util/dhcp_servers/route
650
+ - spec/fixtures/unit/util/dhcp_servers/route_nogw
651
+ - spec/fixtures/unit/util/operatingsystem/cumuluslinux.txt
652
+ - spec/fixtures/unit/util/operatingsystem/sabayon.txt
653
+ - spec/fixtures/unit/util/operatingsystem/wheezy.txt
654
+ - spec/fixtures/unit/util/operatingsystem/coreos.txt
655
+ - spec/fixtures/unit/util/operatingsystem/redhat-7.txt
656
+ - spec/fixtures/unit/ec2/rest/meta-data/root
657
+ - spec/fixtures/unit/ipaddress/ifconfig_ubuntu_1204.txt
658
+ - spec/fixtures/unit/ipaddress/ifconfig_net_tools_1.60.txt
659
+ - spec/fixtures/unit/ipaddress/ifconfig_non_english_locale.txt
660
+ - spec/fixtures/unit/ipaddress/ifconfig_multiple_127_addresses.txt
661
+ - spec/fixtures/unit/processors/os/darwin-system-profiler
662
+ - spec/fixtures/unit/zfs_version/zfs_new
663
+ - spec/fixtures/unit/zfs_version/solaris_11
723
664
  - spec/fixtures/unit/zfs_version/freebsd_9.0
724
665
  - spec/fixtures/unit/zfs_version/linux-fuse_0.6.9
725
- - spec/fixtures/unit/zfs_version/solaris_10
726
- - spec/fixtures/unit/zfs_version/solaris_11
727
- - spec/fixtures/unit/zfs_version/zfs_new
728
666
  - spec/fixtures/unit/zfs_version/zfs_old
729
667
  - spec/fixtures/unit/zfs_version/zfsonlinux_0.6.1
730
- - spec/fixtures/unit/zpool_version/freebsd_8.2
668
+ - spec/fixtures/unit/zfs_version/freebsd_8.2
669
+ - spec/fixtures/unit/zfs_version/solaris_10
670
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3-current
671
+ - spec/fixtures/unit/kernelrelease/openbsd-5.3
672
+ - spec/fixtures/unit/memory/solaris-vmstat
673
+ - spec/fixtures/unit/memory/dragonfly-vmstat
674
+ - spec/fixtures/unit/memory/solaris-prtconf
675
+ - spec/fixtures/unit/memory/solaris-swap_l-multiple
676
+ - spec/fixtures/unit/memory/aix-swap_l
677
+ - spec/fixtures/unit/memory/solaris-swap_l-single
678
+ - spec/fixtures/unit/memory/smartos_zone_swap_l-single
679
+ - spec/fixtures/unit/memory/linux-proc_meminfo
680
+ - spec/fixtures/unit/memory/darwin-swapinfo-multiple
681
+ - spec/fixtures/unit/memory/darwin-vm_stat
682
+ - spec/fixtures/unit/memory/aix-svmon
683
+ - spec/fixtures/unit/memory/freebsd-vmstat
684
+ - spec/fixtures/unit/memory/darwin-swapinfo-single
685
+ - spec/fixtures/unit/memory/openbsd-vmstat
686
+ - spec/fixtures/unit/gce/metadata/metadata.json
687
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_static
688
+ - spec/fixtures/unit/dhcp_servers/nmcli_eth0_dhcp
689
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices
690
+ - spec/fixtures/unit/dhcp_servers/nmcli_devices_disconnected
691
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_dhcp
692
+ - spec/fixtures/unit/dhcp_servers/route
693
+ - spec/fixtures/unit/dhcp_servers/nmcli_wlan0_static
694
+ - spec/fixtures/unit/dhcp_servers/route_nogw
695
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt
696
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.lo
697
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60.txt.em1
698
+ - spec/fixtures/unit/interfaces/ifconfig_net_tools_1.60_v6.txt
699
+ - spec/fixtures/unit/zpool_version/solaris_11
731
700
  - spec/fixtures/unit/zpool_version/freebsd_9.0
732
701
  - spec/fixtures/unit/zpool_version/linux-fuse_0.6.9
733
- - spec/fixtures/unit/zpool_version/solaris_10
734
- - spec/fixtures/unit/zpool_version/solaris_11
735
702
  - spec/fixtures/unit/zpool_version/zfsonlinux_0.6.1
736
- - spec/fixtures/virtual/proc_1_cgroup/in_a_container
737
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container
738
- - spec/fixtures/virtual/proc_1_cgroup/in_a_docker_container_with_systemd_slices
739
- - spec/fixtures/virtual/proc_1_cgroup/not_in_a_container
740
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/guest
741
- - spec/fixtures/virtual/proc_self_status/vserver_2_1/host
742
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/guest
743
- - spec/fixtures/virtual/proc_self_status/vserver_2_3/host
744
- - spec/integration/facter_spec.rb
703
+ - spec/fixtures/unit/zpool_version/freebsd_8.2
704
+ - spec/fixtures/unit/zpool_version/solaris_10
705
+ - spec/fixtures/ifconfig/open_solaris_b132
706
+ - spec/fixtures/ifconfig/ifconfig_ubuntu_1204.txt
707
+ - spec/fixtures/ifconfig/freebsd_6_0
708
+ - spec/fixtures/ifconfig/linux_ifconfig_venet
709
+ - spec/fixtures/ifconfig/ifconfig_net_tools_1.60.txt
710
+ - spec/fixtures/ifconfig/openbsd_bridge_rules
711
+ - spec/fixtures/ifconfig/darwin_10_3_0
712
+ - spec/fixtures/ifconfig/bsd_ifconfig_all_with_multiple_interfaces
713
+ - spec/fixtures/ifconfig/centos_5_5_eth0
714
+ - spec/fixtures/ifconfig/fedora_8
715
+ - spec/fixtures/ifconfig/darwin_9_8_0_en0
716
+ - spec/fixtures/ifconfig/centos_5_5
717
+ - spec/fixtures/ifconfig/darwin_10_6_4_en1
718
+ - spec/fixtures/ifconfig/fedora_13
719
+ - spec/fixtures/ifconfig/linux_ifconfig_no_addr
720
+ - spec/fixtures/ifconfig/fedora_13_eth0
721
+ - spec/fixtures/ifconfig/darwin_9_8_0
722
+ - spec/fixtures/ifconfig/sunos_ifconfig_all_with_multiple_interfaces
723
+ - spec/fixtures/ifconfig/ubuntu_7_04
724
+ - spec/fixtures/ifconfig/darwin_10_6_4
725
+ - spec/fixtures/ifconfig/fedora_10_eth0
726
+ - spec/fixtures/ifconfig/darwin_10_3_0_en0
727
+ - spec/fixtures/ifconfig/darwin_ifconfig_all_with_multiple_interfaces
728
+ - spec/fixtures/ifconfig/open_solaris_10
729
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack_en1
730
+ - spec/fixtures/ifconfig/darwin_10_6_6_dualstack
731
+ - spec/fixtures/ifconfig/ubuntu_7_04_eth0
732
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces
733
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_no_public_ipv6
734
+ - spec/fixtures/ifconfig/fedora_8_eth0
735
+ - spec/fixtures/ifconfig/linux_ifconfig_no_mac
736
+ - spec/fixtures/ifconfig/linux_ifconfig_all_with_multiple_interfaces_and_fe80
737
+ - spec/fixtures/ifconfig/fedora_10
738
+ - spec/fixtures/netstat/open_solaris_b132
739
+ - spec/fixtures/netstat/darwin_10_3_0
740
+ - spec/fixtures/netstat/centos_5_5
741
+ - spec/fixtures/netstat/darwin_9_8_0
742
+ - spec/fixtures/netstat/ubuntu_7_04
743
+ - spec/fixtures/netstat/darwin_10_6_4
744
+ - spec/fixtures/netstat/open_solaris_10
745
+ - spec/fixtures/netstat/darwin_10_6_6_dualstack
746
+ - spec/fixtures/netstat/fedora_10
747
+ - spec/fixtures/ldom/ldom_v1
748
+ - spec/puppetlabs_spec_helper.rb
745
749
  - spec/integration/util/windows/user_spec.rb
746
- - spec/lib/facter_spec/cpuinfo.rb
747
- - spec/lib/facter_spec/windows_network.rb
748
- - spec/puppetlabs_spec/files.rb
750
+ - spec/integration/facter_spec.rb
749
751
  - spec/puppetlabs_spec/fixtures.rb
750
752
  - spec/puppetlabs_spec/matchers.rb
753
+ - spec/puppetlabs_spec/files.rb
751
754
  - spec/puppetlabs_spec/verbose.rb
752
- - spec/puppetlabs_spec_helper.rb
753
755
  - spec/schema/validate_facter_schema.rb
754
- - spec/shared_contexts/platform.rb
755
756
  - spec/shared_formats/parses.rb
756
- - spec/spec_helper.rb
757
+ - spec/unit/physicalprocessorcount_spec.rb
758
+ - spec/unit/fqdn_spec.rb
759
+ - spec/unit/uniqueid_spec.rb
757
760
  - spec/unit/application_spec.rb
761
+ - spec/unit/kernelmajversion_spec.rb
758
762
  - spec/unit/architecture_spec.rb
759
763
  - spec/unit/blockdevices_spec.rb
760
- - spec/unit/core/aggregate_spec.rb
761
- - spec/unit/core/directed_graph_spec.rb
762
- - spec/unit/core/execution/base_spec.rb
763
- - spec/unit/core/execution/posix_spec.rb
764
- - spec/unit/core/execution/windows_spec.rb
765
- - spec/unit/core/execution_spec.rb
766
- - spec/unit/core/logging_spec.rb
767
- - spec/unit/core/resolvable_spec.rb
768
- - spec/unit/core/suitable_spec.rb
769
- - spec/unit/dhcp_servers_spec.rb
770
- - spec/unit/domain_spec.rb
771
- - spec/unit/ec2/rest_spec.rb
772
- - spec/unit/ec2_spec.rb
773
- - spec/unit/facter_spec.rb
774
- - spec/unit/filesystems_spec.rb
775
- - spec/unit/fqdn_spec.rb
776
- - spec/unit/gce/metadata_spec.rb
777
- - spec/unit/gce_spec.rb
778
- - spec/unit/gid_spec.rb
779
- - spec/unit/hardwareisa_spec.rb
780
- - spec/unit/hardwaremodel_spec.rb
781
- - spec/unit/hostname_spec.rb
782
- - spec/unit/id_spec.rb
783
- - spec/unit/interfaces_spec.rb
784
- - spec/unit/ipaddress6_spec.rb
785
- - spec/unit/ipaddress_spec.rb
786
- - spec/unit/kernel_spec.rb
787
- - spec/unit/kernelmajversion_spec.rb
788
- - spec/unit/kernelrelease_spec.rb
789
- - spec/unit/kernelversion_spec.rb
790
- - spec/unit/ldom_spec.rb
791
- - spec/unit/lsbdistcodename_spec.rb
792
- - spec/unit/lsbdistdescription_spec.rb
793
- - spec/unit/lsbdistid_spec.rb
794
- - spec/unit/lsbdistrelease_spec.rb
795
- - spec/unit/lsbmajdistrelease_spec.rb
796
- - spec/unit/lsbminordistrelease_spec.rb
797
- - spec/unit/lsbrelease_spec.rb
798
- - spec/unit/macaddress_spec.rb
799
- - spec/unit/manufacturer_spec.rb
800
- - spec/unit/memory_spec.rb
801
- - spec/unit/netmask_spec.rb
802
- - spec/unit/operatingsystem/base_spec.rb
803
- - spec/unit/operatingsystem/cumuluslinux_spec.rb
804
- - spec/unit/operatingsystem/implementation_spec.rb
805
- - spec/unit/operatingsystem/linux_spec.rb
806
- - spec/unit/operatingsystem/sunos_spec.rb
807
- - spec/unit/operatingsystem/vmkernel_spec.rb
808
- - spec/unit/operatingsystem/windows_spec.rb
809
- - spec/unit/operatingsystem_spec.rb
810
- - spec/unit/operatingsystemmajrelease_spec.rb
811
- - spec/unit/operatingsystemrelease_spec.rb
812
- - spec/unit/os_spec.rb
813
- - spec/unit/osfamily_spec.rb
814
- - spec/unit/partitions_spec.rb
815
- - spec/unit/physicalprocessorcount_spec.rb
816
- - spec/unit/processor_spec.rb
817
- - spec/unit/processors/os_spec.rb
818
764
  - spec/unit/processors_spec.rb
819
- - spec/unit/ps_spec.rb
820
- - spec/unit/rackspace_spec.rb
821
765
  - spec/unit/rubyplatform_spec.rb
822
- - spec/unit/selinux_spec.rb
823
- - spec/unit/ssh_spec.rb
824
- - spec/unit/system32_spec.rb
825
- - spec/unit/system_uptime_spec.rb
826
- - spec/unit/uniqueid_spec.rb
827
- - spec/unit/uptime_spec.rb
828
- - spec/unit/util/collection_spec.rb
829
- - spec/unit/util/config_spec.rb
830
- - spec/unit/util/confine_spec.rb
831
- - spec/unit/util/dhcp_servers_spec.rb
832
- - spec/unit/util/directory_loader_spec.rb
833
- - spec/unit/util/ec2_spec.rb
834
- - spec/unit/util/fact_spec.rb
835
766
  - spec/unit/util/file_read_spec.rb
767
+ - spec/unit/util/normalization_spec.rb
768
+ - spec/unit/util/partitions_spec.rb
769
+ - spec/unit/util/confine_spec.rb
770
+ - spec/unit/util/manufacturer_spec.rb
771
+ - spec/unit/util/vlans_spec.rb
772
+ - spec/unit/util/collection_spec.rb
836
773
  - spec/unit/util/formatter_spec.rb
837
774
  - spec/unit/util/ip/windows_spec.rb
838
- - spec/unit/util/ip_spec.rb
839
- - spec/unit/util/loader_spec.rb
840
- - spec/unit/util/macaddress_spec.rb
775
+ - spec/unit/util/posix_spec.rb
776
+ - spec/unit/util/fact_spec.rb
777
+ - spec/unit/util/config_spec.rb
778
+ - spec/unit/util/resolution_spec.rb
779
+ - spec/unit/util/virtual_spec.rb
841
780
  - spec/unit/util/macosx_spec.rb
842
- - spec/unit/util/manufacturer_spec.rb
843
- - spec/unit/util/normalization_spec.rb
844
- - spec/unit/util/operatingsystem_spec.rb
781
+ - spec/unit/util/directory_loader_spec.rb
845
782
  - spec/unit/util/parser_spec.rb
846
783
  - spec/unit/util/partitions/partitions_spec.rb
847
- - spec/unit/util/partitions_spec.rb
848
- - spec/unit/util/posix_spec.rb
849
- - spec/unit/util/processor_spec.rb
784
+ - spec/unit/util/values_spec.rb
785
+ - spec/unit/util/ip_spec.rb
850
786
  - spec/unit/util/registry_spec.rb
851
- - spec/unit/util/resolution_spec.rb
852
787
  - spec/unit/util/solaris_zones_spec.rb
788
+ - spec/unit/util/dhcp_servers_spec.rb
853
789
  - spec/unit/util/uptime_spec.rb
854
- - spec/unit/util/values_spec.rb
855
- - spec/unit/util/virtual_spec.rb
856
- - spec/unit/util/vlans_spec.rb
857
- - spec/unit/util/wmi_spec.rb
858
790
  - spec/unit/util/xendomains_spec.rb
859
- - spec/unit/version_spec.rb
791
+ - spec/unit/util/processor_spec.rb
792
+ - spec/unit/util/wmi_spec.rb
793
+ - spec/unit/util/macaddress_spec.rb
794
+ - spec/unit/util/ec2_spec.rb
795
+ - spec/unit/util/operatingsystem_spec.rb
796
+ - spec/unit/util/loader_spec.rb
797
+ - spec/unit/ec2/rest_spec.rb
798
+ - spec/unit/operatingsystemmajrelease_spec.rb
799
+ - spec/unit/operatingsystemrelease_spec.rb
800
+ - spec/unit/partitions_spec.rb
801
+ - spec/unit/ps_spec.rb
802
+ - spec/unit/filesystems_spec.rb
803
+ - spec/unit/lsbdistrelease_spec.rb
804
+ - spec/unit/manufacturer_spec.rb
805
+ - spec/unit/id_spec.rb
806
+ - spec/unit/core/logging_spec.rb
807
+ - spec/unit/core/directed_graph_spec.rb
808
+ - spec/unit/core/execution/windows_spec.rb
809
+ - spec/unit/core/execution/base_spec.rb
810
+ - spec/unit/core/execution/posix_spec.rb
811
+ - spec/unit/core/suitable_spec.rb
812
+ - spec/unit/core/resolvable_spec.rb
813
+ - spec/unit/core/aggregate_spec.rb
814
+ - spec/unit/core/execution_spec.rb
815
+ - spec/unit/processors/os_spec.rb
816
+ - spec/unit/ipaddress_spec.rb
817
+ - spec/unit/ssh_spec.rb
818
+ - spec/unit/system_uptime_spec.rb
819
+ - spec/unit/hardwareisa_spec.rb
820
+ - spec/unit/lsbminordistrelease_spec.rb
860
821
  - spec/unit/virtual_spec.rb
822
+ - spec/unit/zpool_version_spec.rb
823
+ - spec/unit/zones_spec.rb
824
+ - spec/unit/ipaddress6_spec.rb
825
+ - spec/unit/selinux_spec.rb
826
+ - spec/unit/lsbdistdescription_spec.rb
827
+ - spec/unit/kernelversion_spec.rb
828
+ - spec/unit/lsbdistcodename_spec.rb
829
+ - spec/unit/interfaces_spec.rb
830
+ - spec/unit/kernel_spec.rb
831
+ - spec/unit/memory_spec.rb
832
+ - spec/unit/ldom_spec.rb
861
833
  - spec/unit/zfs_version_spec.rb
834
+ - spec/unit/hardwaremodel_spec.rb
835
+ - spec/unit/version_spec.rb
836
+ - spec/unit/gce_spec.rb
837
+ - spec/unit/netmask_spec.rb
838
+ - spec/unit/kernelrelease_spec.rb
839
+ - spec/unit/lsbrelease_spec.rb
840
+ - spec/unit/dhcp_servers_spec.rb
841
+ - spec/unit/os_spec.rb
842
+ - spec/unit/lsbmajdistrelease_spec.rb
843
+ - spec/unit/uptime_spec.rb
844
+ - spec/unit/rackspace_spec.rb
845
+ - spec/unit/processor_spec.rb
846
+ - spec/unit/facter_spec.rb
847
+ - spec/unit/gid_spec.rb
862
848
  - spec/unit/zonename_spec.rb
863
- - spec/unit/zones_spec.rb
864
- - spec/unit/zpool_version_spec.rb
849
+ - spec/unit/hostname_spec.rb
850
+ - spec/unit/gce/metadata_spec.rb
851
+ - spec/unit/lsbdistid_spec.rb
852
+ - spec/unit/macaddress_spec.rb
853
+ - spec/unit/domain_spec.rb
854
+ - spec/unit/ec2_spec.rb
855
+ - spec/unit/operatingsystem_spec.rb
856
+ - spec/unit/operatingsystem/windows_spec.rb
857
+ - spec/unit/operatingsystem/base_spec.rb
858
+ - spec/unit/operatingsystem/linux_spec.rb
859
+ - spec/unit/operatingsystem/cumuluslinux_spec.rb
860
+ - spec/unit/operatingsystem/sunos_spec.rb
861
+ - spec/unit/operatingsystem/vmkernel_spec.rb
862
+ - spec/unit/operatingsystem/implementation_spec.rb
863
+ - spec/unit/system32_spec.rb
864
+ - spec/unit/osfamily_spec.rb
865
+ - spec/spec_helper.rb
865
866
  - spec/watchr.rb
867
+ - spec/shared_contexts/platform.rb