facter 2.5.0-x64-mingw32 → 2.5.1-x64-mingw32

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