facter 4.6.1 → 4.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/lib/docs/generate.rb +6 -1
  3. data/lib/facter/config.rb +3 -2
  4. data/lib/facter/custom_facts/core/aggregate.rb +5 -1
  5. data/lib/facter/custom_facts/util/confine.rb +4 -2
  6. data/lib/facter/facts/linux/cloud/provider.rb +6 -3
  7. data/lib/facter/facts/openbsd/augeas/version.rb +19 -0
  8. data/lib/facter/facts/openbsd/dmi/bios/vendor.rb +19 -0
  9. data/lib/facter/facts/openbsd/dmi/bios/version.rb +19 -0
  10. data/lib/facter/facts/openbsd/dmi/manufacturer.rb +17 -0
  11. data/lib/facter/facts/openbsd/dmi/product/name.rb +19 -0
  12. data/lib/facter/facts/openbsd/dmi/product/serial_number.rb +19 -0
  13. data/lib/facter/facts/openbsd/dmi/product/uuid.rb +19 -0
  14. data/lib/facter/facts/openbsd/ec2_metadata.rb +23 -0
  15. data/lib/facter/facts/openbsd/ec2_userdata.rb +23 -0
  16. data/lib/facter/facts/openbsd/facterversion.rb +14 -0
  17. data/lib/facter/facts/openbsd/identity/gid.rb +16 -0
  18. data/lib/facter/facts/openbsd/identity/group.rb +18 -0
  19. data/lib/facter/facts/openbsd/identity/privileged.rb +16 -0
  20. data/lib/facter/facts/openbsd/identity/uid.rb +16 -0
  21. data/lib/facter/facts/openbsd/identity/user.rb +17 -0
  22. data/lib/facter/facts/openbsd/ipaddress6_interfaces.rb +20 -0
  23. data/lib/facter/facts/openbsd/ipaddress_interfaces.rb +20 -0
  24. data/lib/facter/facts/openbsd/is_virtual.rb +21 -0
  25. data/lib/facter/facts/openbsd/kernel.rb +14 -0
  26. data/lib/facter/facts/openbsd/kernelrelease.rb +14 -0
  27. data/lib/facter/facts/openbsd/mountpoints.rb +21 -0
  28. data/lib/facter/facts/openbsd/netmask6_interfaces.rb +20 -0
  29. data/lib/facter/facts/openbsd/netmask_interfaces.rb +20 -0
  30. data/lib/facter/facts/openbsd/network6_interfaces.rb +20 -0
  31. data/lib/facter/facts/openbsd/network_interfaces.rb +20 -0
  32. data/lib/facter/facts/openbsd/networking/dhcp.rb +17 -0
  33. data/lib/facter/facts/openbsd/networking/domain.rb +18 -0
  34. data/lib/facter/facts/openbsd/networking/fqdn.rb +18 -0
  35. data/lib/facter/facts/openbsd/networking/hostname.rb +18 -0
  36. data/lib/facter/facts/openbsd/networking/interfaces.rb +17 -0
  37. data/lib/facter/facts/openbsd/networking/ip.rb +18 -0
  38. data/lib/facter/facts/openbsd/networking/ip6.rb +18 -0
  39. data/lib/facter/facts/openbsd/networking/mac.rb +18 -0
  40. data/lib/facter/facts/openbsd/networking/mtu.rb +17 -0
  41. data/lib/facter/facts/openbsd/networking/netmask.rb +18 -0
  42. data/lib/facter/facts/openbsd/networking/netmask6.rb +18 -0
  43. data/lib/facter/facts/openbsd/networking/network.rb +18 -0
  44. data/lib/facter/facts/openbsd/networking/network6.rb +18 -0
  45. data/lib/facter/facts/openbsd/networking/primary.rb +17 -0
  46. data/lib/facter/facts/openbsd/networking/scope6.rb +17 -0
  47. data/lib/facter/facts/openbsd/os/architecture.rb +18 -0
  48. data/lib/facter/facts/openbsd/os/hardware.rb +18 -0
  49. data/lib/facter/facts/openbsd/os/name.rb +18 -0
  50. data/lib/facter/facts/openbsd/os/release.rb +23 -0
  51. data/lib/facter/facts/openbsd/path.rb +15 -0
  52. data/lib/facter/facts/openbsd/processors/isa.rb +17 -0
  53. data/lib/facter/facts/openbsd/ruby/platform.rb +18 -0
  54. data/lib/facter/facts/openbsd/ruby/sitedir.rb +18 -0
  55. data/lib/facter/facts/openbsd/ruby/version.rb +18 -0
  56. data/lib/facter/facts/openbsd/ssh.rb +26 -0
  57. data/lib/facter/facts/openbsd/sshalgorithmkey.rb +17 -0
  58. data/lib/facter/facts/openbsd/sshfp_algorithm.rb +20 -0
  59. data/lib/facter/facts/openbsd/system_uptime/days.rb +18 -0
  60. data/lib/facter/facts/openbsd/system_uptime/hours.rb +18 -0
  61. data/lib/facter/facts/openbsd/system_uptime/seconds.rb +18 -0
  62. data/lib/facter/facts/openbsd/system_uptime/uptime.rb +18 -0
  63. data/lib/facter/facts/openbsd/timezone.rb +15 -0
  64. data/lib/facter/facts/openbsd/virtual.rb +15 -0
  65. data/lib/facter/facts/solaris/ldom.rb +1 -1
  66. data/lib/facter/facts/windows/cloud/provider.rb +6 -3
  67. data/lib/facter/framework/cli/cli.rb +3 -3
  68. data/lib/facter/framework/core/file_loader.rb +59 -0
  69. data/lib/facter/framework/detector/os_detector.rb +2 -0
  70. data/lib/facter/framework/logging/logger.rb +3 -2
  71. data/lib/facter/resolvers/aix/serialnumber.rb +1 -1
  72. data/lib/facter/resolvers/az.rb +1 -1
  73. data/lib/facter/resolvers/base_resolver.rb +3 -2
  74. data/lib/facter/resolvers/bsd/processors.rb +0 -1
  75. data/lib/facter/resolvers/disks.rb +0 -2
  76. data/lib/facter/resolvers/dmi.rb +0 -2
  77. data/lib/facter/resolvers/ec2.rb +1 -1
  78. data/lib/facter/resolvers/filesystems.rb +0 -2
  79. data/lib/facter/resolvers/fips_enabled.rb +0 -2
  80. data/lib/facter/resolvers/freebsd/processors.rb +0 -1
  81. data/lib/facter/resolvers/freebsd/swap_memory.rb +1 -1
  82. data/lib/facter/resolvers/gce.rb +1 -1
  83. data/lib/facter/resolvers/hostname.rb +5 -0
  84. data/lib/facter/resolvers/identity.rb +0 -2
  85. data/lib/facter/resolvers/macosx/mountpoints.rb +0 -2
  86. data/lib/facter/resolvers/memory.rb +0 -2
  87. data/lib/facter/resolvers/mountpoints.rb +0 -2
  88. data/lib/facter/resolvers/networking.rb +1 -1
  89. data/lib/facter/resolvers/openbsd/dhcp.rb +21 -0
  90. data/lib/facter/resolvers/openbsd/dmi.rb +41 -0
  91. data/lib/facter/resolvers/openbsd/mountpoints.rb +72 -0
  92. data/lib/facter/resolvers/openbsd/virtual.rb +45 -0
  93. data/lib/facter/resolvers/partitions.rb +2 -2
  94. data/lib/facter/resolvers/processors.rb +0 -2
  95. data/lib/facter/resolvers/solaris/mountpoints.rb +0 -2
  96. data/lib/facter/resolvers/solaris/networking.rb +0 -1
  97. data/lib/facter/resolvers/ssh.rb +0 -2
  98. data/lib/facter/resolvers/windows/dmi_bios.rb +0 -1
  99. data/lib/facter/resolvers/windows/dmi_computersystem.rb +0 -1
  100. data/lib/facter/resolvers/windows/hardware_architecture.rb +0 -1
  101. data/lib/facter/resolvers/windows/identity.rb +0 -1
  102. data/lib/facter/resolvers/windows/kernel.rb +0 -2
  103. data/lib/facter/resolvers/windows/memory.rb +0 -2
  104. data/lib/facter/resolvers/windows/networking.rb +0 -1
  105. data/lib/facter/resolvers/windows/ssh.rb +0 -2
  106. data/lib/facter/resolvers/windows/system32.rb +0 -2
  107. data/lib/facter/resolvers/windows/timezone.rb +0 -1
  108. data/lib/facter/resolvers/windows/uptime.rb +0 -2
  109. data/lib/facter/resolvers/windows/virtualization.rb +9 -4
  110. data/lib/facter/resolvers/windows/win_os_description.rb +0 -2
  111. data/lib/facter/resolvers/xen.rb +2 -0
  112. data/lib/facter/templates/man.erb +5 -2
  113. data/lib/facter/util/api_debugger.rb +2 -2
  114. data/lib/facter/util/facts/posix/virtual_detector.rb +7 -1
  115. data/lib/facter/util/resolvers/http.rb +31 -20
  116. data/lib/facter/version.rb +1 -1
  117. metadata +99 -13
@@ -3,8 +3,6 @@
3
3
  module Facter
4
4
  module Resolvers
5
5
  class WinOsDescription < BaseResolver
6
- @log = Facter::Log.new(self)
7
-
8
6
  init_resolver
9
7
 
10
8
  class << self
@@ -66,6 +66,8 @@ module Facter
66
66
  return XEN_TOOLSTACK if num_stacks > 1 && File.exist?(XEN_TOOLSTACK)
67
67
 
68
68
  XEN_COMMANDS.each { |command| return command if File.exist?(command) }
69
+
70
+ nil
69
71
  end
70
72
  end
71
73
  end
@@ -1,11 +1,14 @@
1
1
  <%# encoding: UTF-8%>
2
+ facter - collect and display facts about the current system
3
+ ===========================================================
4
+
2
5
  SYNOPSIS
3
6
  --------
4
- facter [options] [query] [query] [...]
7
+ <b>facter</b> [options] [query] [query] [...]
5
8
 
6
9
  DESCRIPTION
7
10
  -----------
8
- Collect and display facts about the current system. The library behind Facter is easy to extend, making Facter an easy way to collect information about a system.
11
+ <b>facter</b> is a command-line tool that gathers basic facts about nodes (systems) such as hardware details, network settings, OS type and version, and more. These facts are made available as variables in your Puppet manifests and can be used to inform conditional expressions in Puppet.
9
12
 
10
13
  If no queries are given, then all facts will be returned.
11
14
 
@@ -34,9 +34,9 @@ module Facter
34
34
 
35
35
  options.split(',').each do |option|
36
36
  if option.start_with?('-')
37
- exclude << option[1..].to_sym
37
+ exclude << option[1..-1].to_sym
38
38
  elsif option.start_with?('+')
39
- print_caller << option[1..].to_sym
39
+ print_caller << option[1..-1].to_sym
40
40
  end
41
41
  end
42
42
 
@@ -8,7 +8,7 @@ module Facter
8
8
  class << self
9
9
  def platform
10
10
  @fact_value ||= # rubocop:disable Naming/MemoizedInstanceVariableName
11
- check_docker_lxc || check_freebsd || check_gce || check_illumos_lx || \
11
+ check_docker_lxc || check_freebsd || check_openbsd || check_gce || check_illumos_lx || \
12
12
  retrieve_from_virt_what || check_vmware || check_open_vz || check_vserver || \
13
13
  check_xen || check_other_facts || check_lspci || 'physical'
14
14
  end
@@ -54,6 +54,12 @@ module Facter
54
54
  Facter::Resolvers::Freebsd::Virtual.resolve(:vm)
55
55
  end
56
56
 
57
+ def check_openbsd
58
+ return unless Object.const_defined?('Facter::Resolvers::Openbsd::Virtual')
59
+
60
+ Facter::Resolvers::Openbsd::Virtual.resolve(:vm)
61
+ end
62
+
57
63
  def check_other_facts
58
64
  bios_vendor = Facter::Resolvers::Linux::DmiBios.resolve(:bios_vendor)
59
65
  return 'kvm' if bios_vendor&.include?('Amazon EC2')
@@ -10,34 +10,37 @@ module Facter
10
10
  CONNECTION_TIMEOUT = 0.6
11
11
  SESSION_TIMEOUT = 5
12
12
 
13
- # Makes a GET http request and returns its response.
13
+ # Makes a GET HTTP request and returns its response.
14
14
  #
15
- # Params:
16
- # url: String which contains the address to which the request will be made
17
- # headers: Hash which contains the headers you need to add to your request.
18
- # Default headers is an empty hash
19
- # Example: { "Accept": 'application/json' }
20
- # timeouts: Hash that includes the values for the session and connection timeouts.
21
- # Example: { session: 2.4. connection: 5 }
22
- #
23
- # Return value:
24
- # is a string with the response body if the response code is 200.
25
- # If the response code is not 200, an empty string is returned.
26
- def get_request(url, headers = {}, timeouts = {})
27
- make_request(url, headers, timeouts, 'GET')
15
+ # @param url [String] the address to which the request will be made.
16
+ # @param headers [Hash] the headers you need to add to your request.
17
+ # Defaults to an empty hash.
18
+ # @param timeouts [Hash] Values for the session and connection
19
+ # timeouts.
20
+ # @param proxy [Boolean] Whether to use proxy settings when calling
21
+ # Net::HTTP.new. Defaults to true.
22
+ # @returns [String] the response body if the response code is 200.
23
+ # If the response code is not 200, an empty string is returned.
24
+ # @example
25
+ # get_request('https://example.com', { "Accept": 'application/json' }, { session: 2.4, connection: 5 })
26
+ def get_request(url, headers = {}, timeouts = {}, proxy = true)
27
+ make_request(url, headers, timeouts, 'GET', proxy)
28
28
  end
29
29
 
30
- def put_request(url, headers = {}, timeouts = {})
31
- make_request(url, headers, timeouts, 'PUT')
30
+ # Makes a PUT HTTP request and returns its response
31
+ # @param (see #get_request)
32
+ # @return (see #get_request)
33
+ def put_request(url, headers = {}, timeouts = {}, proxy = true)
34
+ make_request(url, headers, timeouts, 'PUT', proxy)
32
35
  end
33
36
 
34
37
  private
35
38
 
36
- def make_request(url, headers, timeouts, request_type)
39
+ def make_request(url, headers, timeouts, request_type, proxy)
37
40
  require 'net/http'
38
41
 
39
42
  uri = URI.parse(url)
40
- http = http_obj(uri, timeouts)
43
+ http = http_obj(uri, timeouts, proxy)
41
44
  request = request_obj(headers, uri, request_type)
42
45
 
43
46
  # The Windows implementation of sockets does not respect net/http
@@ -56,8 +59,16 @@ module Facter
56
59
  ''
57
60
  end
58
61
 
59
- def http_obj(parsed_url, timeouts)
60
- http = Net::HTTP.new(parsed_url.host)
62
+ def http_obj(parsed_url, timeouts, proxy)
63
+ # If get_request or put_request are called and set proxy to false,
64
+ # manually set Net::HTTP.new's p_addr (proxy address) positional
65
+ # argument to nil to override anywhere else a proxy may be set
66
+ # (e.g. the http_proxy environment variable).
67
+ http = if proxy
68
+ Net::HTTP.new(parsed_url.host)
69
+ else
70
+ Net::HTTP.new(parsed_url.host, 80, nil)
71
+ end
61
72
  http.read_timeout = timeouts[:session] || SESSION_TIMEOUT
62
73
  http.open_timeout = timeouts[:connection] || CONNECTION_TIMEOUT
63
74
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Facter
4
- VERSION = '4.6.1' unless defined?(VERSION)
4
+ VERSION = '4.7.1' unless defined?(VERSION)
5
5
  end
metadata CHANGED
@@ -1,29 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facter
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.1
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-01 00:00:00.000000000 Z
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.15.5
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.17.0
23
+ - - "!="
24
+ - !ruby/object:Gem::Version
25
+ version: 1.16.0
26
+ - - "!="
27
+ - !ruby/object:Gem::Version
28
+ version: 1.16.1
29
+ - - "!="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.16.2
20
32
  type: :development
21
33
  prerelease: false
22
34
  version_requirements: !ruby/object:Gem::Requirement
23
35
  requirements:
24
- - - '='
36
+ - - ">="
25
37
  - !ruby/object:Gem::Version
26
38
  version: 1.15.5
39
+ - - "<"
40
+ - !ruby/object:Gem::Version
41
+ version: 1.17.0
42
+ - - "!="
43
+ - !ruby/object:Gem::Version
44
+ version: 1.16.0
45
+ - - "!="
46
+ - !ruby/object:Gem::Version
47
+ version: 1.16.1
48
+ - - "!="
49
+ - !ruby/object:Gem::Version
50
+ version: 1.16.2
27
51
  - !ruby/object:Gem::Dependency
28
52
  name: rake
29
53
  requirement: !ruby/object:Gem::Requirement
@@ -64,42 +88,42 @@ dependencies:
64
88
  requirements:
65
89
  - - "~>"
66
90
  - !ruby/object:Gem::Version
67
- version: '1.50'
91
+ version: '1.28'
68
92
  type: :development
69
93
  prerelease: false
70
94
  version_requirements: !ruby/object:Gem::Requirement
71
95
  requirements:
72
96
  - - "~>"
73
97
  - !ruby/object:Gem::Version
74
- version: '1.50'
98
+ version: '1.28'
75
99
  - !ruby/object:Gem::Dependency
76
100
  name: rubocop-performance
77
101
  requirement: !ruby/object:Gem::Requirement
78
102
  requirements:
79
103
  - - "~>"
80
104
  - !ruby/object:Gem::Version
81
- version: '1.17'
105
+ version: 1.5.2
82
106
  type: :development
83
107
  prerelease: false
84
108
  version_requirements: !ruby/object:Gem::Requirement
85
109
  requirements:
86
110
  - - "~>"
87
111
  - !ruby/object:Gem::Version
88
- version: '1.17'
112
+ version: 1.5.2
89
113
  - !ruby/object:Gem::Dependency
90
114
  name: rubocop-rspec
91
115
  requirement: !ruby/object:Gem::Requirement
92
116
  requirements:
93
117
  - - "~>"
94
118
  - !ruby/object:Gem::Version
95
- version: '2.20'
119
+ version: '2.10'
96
120
  type: :development
97
121
  prerelease: false
98
122
  version_requirements: !ruby/object:Gem::Requirement
99
123
  requirements:
100
124
  - - "~>"
101
125
  - !ruby/object:Gem::Version
102
- version: '2.20'
126
+ version: '2.10'
103
127
  - !ruby/object:Gem::Dependency
104
128
  name: simplecov
105
129
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +203,7 @@ dependencies:
179
203
  version: 1.0.1
180
204
  - - "<"
181
205
  - !ruby/object:Gem::Version
182
- version: '2.0'
206
+ version: '1.3'
183
207
  type: :runtime
184
208
  prerelease: false
185
209
  version_requirements: !ruby/object:Gem::Requirement
@@ -189,7 +213,7 @@ dependencies:
189
213
  version: 1.0.1
190
214
  - - "<"
191
215
  - !ruby/object:Gem::Version
192
- version: '2.0'
216
+ version: '1.3'
193
217
  description: You can prove anything with facts!
194
218
  email:
195
219
  - team-nw@puppet.com
@@ -669,6 +693,64 @@ files:
669
693
  - lib/facter/facts/ol/os/distro/description.rb
670
694
  - lib/facter/facts/ol/os/distro/id.rb
671
695
  - lib/facter/facts/ol/os/release.rb
696
+ - lib/facter/facts/openbsd/augeas/version.rb
697
+ - lib/facter/facts/openbsd/dmi/bios/vendor.rb
698
+ - lib/facter/facts/openbsd/dmi/bios/version.rb
699
+ - lib/facter/facts/openbsd/dmi/manufacturer.rb
700
+ - lib/facter/facts/openbsd/dmi/product/name.rb
701
+ - lib/facter/facts/openbsd/dmi/product/serial_number.rb
702
+ - lib/facter/facts/openbsd/dmi/product/uuid.rb
703
+ - lib/facter/facts/openbsd/ec2_metadata.rb
704
+ - lib/facter/facts/openbsd/ec2_userdata.rb
705
+ - lib/facter/facts/openbsd/facterversion.rb
706
+ - lib/facter/facts/openbsd/identity/gid.rb
707
+ - lib/facter/facts/openbsd/identity/group.rb
708
+ - lib/facter/facts/openbsd/identity/privileged.rb
709
+ - lib/facter/facts/openbsd/identity/uid.rb
710
+ - lib/facter/facts/openbsd/identity/user.rb
711
+ - lib/facter/facts/openbsd/ipaddress6_interfaces.rb
712
+ - lib/facter/facts/openbsd/ipaddress_interfaces.rb
713
+ - lib/facter/facts/openbsd/is_virtual.rb
714
+ - lib/facter/facts/openbsd/kernel.rb
715
+ - lib/facter/facts/openbsd/kernelrelease.rb
716
+ - lib/facter/facts/openbsd/mountpoints.rb
717
+ - lib/facter/facts/openbsd/netmask6_interfaces.rb
718
+ - lib/facter/facts/openbsd/netmask_interfaces.rb
719
+ - lib/facter/facts/openbsd/network6_interfaces.rb
720
+ - lib/facter/facts/openbsd/network_interfaces.rb
721
+ - lib/facter/facts/openbsd/networking/dhcp.rb
722
+ - lib/facter/facts/openbsd/networking/domain.rb
723
+ - lib/facter/facts/openbsd/networking/fqdn.rb
724
+ - lib/facter/facts/openbsd/networking/hostname.rb
725
+ - lib/facter/facts/openbsd/networking/interfaces.rb
726
+ - lib/facter/facts/openbsd/networking/ip.rb
727
+ - lib/facter/facts/openbsd/networking/ip6.rb
728
+ - lib/facter/facts/openbsd/networking/mac.rb
729
+ - lib/facter/facts/openbsd/networking/mtu.rb
730
+ - lib/facter/facts/openbsd/networking/netmask.rb
731
+ - lib/facter/facts/openbsd/networking/netmask6.rb
732
+ - lib/facter/facts/openbsd/networking/network.rb
733
+ - lib/facter/facts/openbsd/networking/network6.rb
734
+ - lib/facter/facts/openbsd/networking/primary.rb
735
+ - lib/facter/facts/openbsd/networking/scope6.rb
736
+ - lib/facter/facts/openbsd/os/architecture.rb
737
+ - lib/facter/facts/openbsd/os/hardware.rb
738
+ - lib/facter/facts/openbsd/os/name.rb
739
+ - lib/facter/facts/openbsd/os/release.rb
740
+ - lib/facter/facts/openbsd/path.rb
741
+ - lib/facter/facts/openbsd/processors/isa.rb
742
+ - lib/facter/facts/openbsd/ruby/platform.rb
743
+ - lib/facter/facts/openbsd/ruby/sitedir.rb
744
+ - lib/facter/facts/openbsd/ruby/version.rb
745
+ - lib/facter/facts/openbsd/ssh.rb
746
+ - lib/facter/facts/openbsd/sshalgorithmkey.rb
747
+ - lib/facter/facts/openbsd/sshfp_algorithm.rb
748
+ - lib/facter/facts/openbsd/system_uptime/days.rb
749
+ - lib/facter/facts/openbsd/system_uptime/hours.rb
750
+ - lib/facter/facts/openbsd/system_uptime/seconds.rb
751
+ - lib/facter/facts/openbsd/system_uptime/uptime.rb
752
+ - lib/facter/facts/openbsd/timezone.rb
753
+ - lib/facter/facts/openbsd/virtual.rb
672
754
  - lib/facter/facts/openwrt/os/release.rb
673
755
  - lib/facter/facts/ovs/os/release.rb
674
756
  - lib/facter/facts/photon/os/release.rb
@@ -982,6 +1064,10 @@ files:
982
1064
  - lib/facter/resolvers/mountpoints.rb
983
1065
  - lib/facter/resolvers/networking.rb
984
1066
  - lib/facter/resolvers/open_vz.rb
1067
+ - lib/facter/resolvers/openbsd/dhcp.rb
1068
+ - lib/facter/resolvers/openbsd/dmi.rb
1069
+ - lib/facter/resolvers/openbsd/mountpoints.rb
1070
+ - lib/facter/resolvers/openbsd/virtual.rb
985
1071
  - lib/facter/resolvers/os_release.rb
986
1072
  - lib/facter/resolvers/partitions.rb
987
1073
  - lib/facter/resolvers/path.rb
@@ -1093,7 +1179,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1093
1179
  requirements:
1094
1180
  - - ">="
1095
1181
  - !ruby/object:Gem::Version
1096
- version: '2.6'
1182
+ version: '2.5'
1097
1183
  - - "<"
1098
1184
  - !ruby/object:Gem::Version
1099
1185
  version: '4.0'