facter 4.6.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docs/generate.rb +6 -1
- data/lib/facter/config.rb +3 -2
- data/lib/facter/facts/linux/cloud/provider.rb +6 -3
- data/lib/facter/facts/openbsd/augeas/version.rb +19 -0
- data/lib/facter/facts/openbsd/dmi/bios/vendor.rb +19 -0
- data/lib/facter/facts/openbsd/dmi/bios/version.rb +19 -0
- data/lib/facter/facts/openbsd/dmi/manufacturer.rb +17 -0
- data/lib/facter/facts/openbsd/dmi/product/name.rb +19 -0
- data/lib/facter/facts/openbsd/dmi/product/serial_number.rb +19 -0
- data/lib/facter/facts/openbsd/dmi/product/uuid.rb +19 -0
- data/lib/facter/facts/openbsd/ec2_metadata.rb +23 -0
- data/lib/facter/facts/openbsd/ec2_userdata.rb +23 -0
- data/lib/facter/facts/openbsd/facterversion.rb +14 -0
- data/lib/facter/facts/openbsd/identity/gid.rb +16 -0
- data/lib/facter/facts/openbsd/identity/group.rb +18 -0
- data/lib/facter/facts/openbsd/identity/privileged.rb +16 -0
- data/lib/facter/facts/openbsd/identity/uid.rb +16 -0
- data/lib/facter/facts/openbsd/identity/user.rb +17 -0
- data/lib/facter/facts/openbsd/ipaddress6_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/ipaddress_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/is_virtual.rb +21 -0
- data/lib/facter/facts/openbsd/kernel.rb +14 -0
- data/lib/facter/facts/openbsd/kernelrelease.rb +14 -0
- data/lib/facter/facts/openbsd/mountpoints.rb +21 -0
- data/lib/facter/facts/openbsd/netmask6_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/netmask_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/network6_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/network_interfaces.rb +20 -0
- data/lib/facter/facts/openbsd/networking/dhcp.rb +17 -0
- data/lib/facter/facts/openbsd/networking/domain.rb +18 -0
- data/lib/facter/facts/openbsd/networking/fqdn.rb +18 -0
- data/lib/facter/facts/openbsd/networking/hostname.rb +18 -0
- data/lib/facter/facts/openbsd/networking/interfaces.rb +17 -0
- data/lib/facter/facts/openbsd/networking/ip.rb +18 -0
- data/lib/facter/facts/openbsd/networking/ip6.rb +18 -0
- data/lib/facter/facts/openbsd/networking/mac.rb +18 -0
- data/lib/facter/facts/openbsd/networking/mtu.rb +17 -0
- data/lib/facter/facts/openbsd/networking/netmask.rb +18 -0
- data/lib/facter/facts/openbsd/networking/netmask6.rb +18 -0
- data/lib/facter/facts/openbsd/networking/network.rb +18 -0
- data/lib/facter/facts/openbsd/networking/network6.rb +18 -0
- data/lib/facter/facts/openbsd/networking/primary.rb +17 -0
- data/lib/facter/facts/openbsd/networking/scope6.rb +17 -0
- data/lib/facter/facts/openbsd/os/architecture.rb +18 -0
- data/lib/facter/facts/openbsd/os/hardware.rb +18 -0
- data/lib/facter/facts/openbsd/os/name.rb +18 -0
- data/lib/facter/facts/openbsd/os/release.rb +23 -0
- data/lib/facter/facts/openbsd/path.rb +15 -0
- data/lib/facter/facts/openbsd/processors/isa.rb +17 -0
- data/lib/facter/facts/openbsd/ruby/platform.rb +18 -0
- data/lib/facter/facts/openbsd/ruby/sitedir.rb +18 -0
- data/lib/facter/facts/openbsd/ruby/version.rb +18 -0
- data/lib/facter/facts/openbsd/ssh.rb +26 -0
- data/lib/facter/facts/openbsd/sshalgorithmkey.rb +17 -0
- data/lib/facter/facts/openbsd/sshfp_algorithm.rb +20 -0
- data/lib/facter/facts/openbsd/system_uptime/days.rb +18 -0
- data/lib/facter/facts/openbsd/system_uptime/hours.rb +18 -0
- data/lib/facter/facts/openbsd/system_uptime/seconds.rb +18 -0
- data/lib/facter/facts/openbsd/system_uptime/uptime.rb +18 -0
- data/lib/facter/facts/openbsd/timezone.rb +15 -0
- data/lib/facter/facts/openbsd/virtual.rb +15 -0
- data/lib/facter/facts/solaris/ldom.rb +1 -1
- data/lib/facter/facts/windows/cloud/provider.rb +6 -3
- data/lib/facter/framework/cli/cli.rb +3 -3
- data/lib/facter/framework/core/file_loader.rb +59 -0
- data/lib/facter/framework/detector/os_detector.rb +2 -0
- data/lib/facter/resolvers/aix/serialnumber.rb +1 -1
- data/lib/facter/resolvers/freebsd/swap_memory.rb +1 -1
- data/lib/facter/resolvers/networking.rb +1 -1
- data/lib/facter/resolvers/openbsd/dhcp.rb +21 -0
- data/lib/facter/resolvers/openbsd/dmi.rb +41 -0
- data/lib/facter/resolvers/openbsd/mountpoints.rb +72 -0
- data/lib/facter/resolvers/openbsd/virtual.rb +45 -0
- data/lib/facter/resolvers/partitions.rb +2 -2
- data/lib/facter/resolvers/windows/product_release.rb +1 -1
- data/lib/facter/util/api_debugger.rb +2 -2
- data/lib/facter/util/facts/posix/virtual_detector.rb +7 -1
- data/lib/facter/version.rb +1 -1
- metadata +73 -11
@@ -15,7 +15,7 @@ module Facter
|
|
15
15
|
|
16
16
|
def read_swap_memory(fact_name)
|
17
17
|
output = Facter::Core::Execution.execute('swapinfo -k', logger: log)
|
18
|
-
data = output.split("\n")[1
|
18
|
+
data = output.split("\n")[1..-1].map { |line| line.split(/\s+/) }
|
19
19
|
|
20
20
|
unless data.empty?
|
21
21
|
@fact_list[:total_bytes] = kilobytes_to_bytes(data.map { |line| line[1].to_i }.inject(:+))
|
@@ -44,7 +44,7 @@ module Facter
|
|
44
44
|
|
45
45
|
def parse_interfaces_response(response)
|
46
46
|
parsed_interfaces_data = {}
|
47
|
-
interfaces_data = Hash[*response.split(/^([A-Za-z0-9_.]+): /)[1
|
47
|
+
interfaces_data = Hash[*response.split(/^([A-Za-z0-9_.]+): /)[1..-1]]
|
48
48
|
|
49
49
|
interfaces_data.each do |interface_name, raw_data|
|
50
50
|
parsed_interface_data = {}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../networking'
|
4
|
+
|
5
|
+
module Facter
|
6
|
+
module Resolvers
|
7
|
+
module Openbsd
|
8
|
+
class Dhcp < Facter::Resolvers::Networking
|
9
|
+
init_resolver
|
10
|
+
class << self
|
11
|
+
def extract_dhcp(interface_name, raw_data, parsed_interface_data)
|
12
|
+
return unless raw_data.match?(/status:\s+active/)
|
13
|
+
|
14
|
+
result = Facter::Core::Execution.execute("dhcpleasectl -l #{interface_name}", logger: log)
|
15
|
+
parsed_interface_data[:dhcp] = extract_values(result, /\sdhcp server (\S+)/).first unless result.empty?
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Facter
|
4
|
+
module Resolvers
|
5
|
+
module Openbsd
|
6
|
+
class DmiBios < BaseResolver
|
7
|
+
init_resolver
|
8
|
+
|
9
|
+
class << self
|
10
|
+
private
|
11
|
+
|
12
|
+
def post_resolve(fact_name, _options)
|
13
|
+
@fact_list.fetch(fact_name) { read_facts(fact_name) }
|
14
|
+
end
|
15
|
+
|
16
|
+
CTL_HW = 6
|
17
|
+
HW_VENDOR = 14
|
18
|
+
HW_PRODUCT = 15
|
19
|
+
HW_VERSION = 16
|
20
|
+
HW_SERIALNO = 17
|
21
|
+
HW_UUID = 18
|
22
|
+
|
23
|
+
def read_facts(fact_name)
|
24
|
+
require 'facter/resolvers/bsd/ffi/ffi_helper'
|
25
|
+
|
26
|
+
@fact_list[:bios_vendor] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_VENDOR])
|
27
|
+
@fact_list[:bios_version] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_VERSION])
|
28
|
+
|
29
|
+
@fact_list[:product_name] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_PRODUCT])
|
30
|
+
@fact_list[:product_serial] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_SERIALNO])
|
31
|
+
@fact_list[:product_uuid] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_UUID])
|
32
|
+
|
33
|
+
@fact_list[:sys_vendor] = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_VENDOR])
|
34
|
+
|
35
|
+
@fact_list[fact_name]
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Facter
|
4
|
+
module Resolvers
|
5
|
+
module Openbsd
|
6
|
+
class Mountpoints < BaseResolver
|
7
|
+
init_resolver
|
8
|
+
|
9
|
+
BLOCK_SIZE = 512
|
10
|
+
|
11
|
+
class << self
|
12
|
+
private
|
13
|
+
|
14
|
+
def post_resolve(fact_name, _options)
|
15
|
+
@fact_list.fetch(fact_name) { read_mount(fact_name) }
|
16
|
+
end
|
17
|
+
|
18
|
+
def read_mount(fact_name)
|
19
|
+
@fact_list[:mountpoints] = {}
|
20
|
+
output = Facter::Core::Execution.execute('mount', logger: log)
|
21
|
+
output.split("\n").map do |line|
|
22
|
+
add_mount_points_fact(line)
|
23
|
+
end
|
24
|
+
|
25
|
+
retrieve_sizes_for_mounts
|
26
|
+
@fact_list[fact_name]
|
27
|
+
end
|
28
|
+
|
29
|
+
def add_mount_points_fact(line)
|
30
|
+
elem = line.split("\s")
|
31
|
+
options = elem.drop(5)
|
32
|
+
options.each { |option| option.tr!('(),', '') }
|
33
|
+
@fact_list[:mountpoints][elem[2]] = { device: elem[0], filesystem: elem[4],
|
34
|
+
options: options }
|
35
|
+
end
|
36
|
+
|
37
|
+
def retrieve_sizes_for_mounts
|
38
|
+
output = Facter::Core::Execution.execute('df -P', logger: log)
|
39
|
+
output.split("\n").drop(1).map do |line|
|
40
|
+
next if line.match?(/-\s+-\s+-/)
|
41
|
+
|
42
|
+
mount_info = line.split("\s")
|
43
|
+
mount_info[3] = translate_to_bytes(mount_info[3])
|
44
|
+
mount_info[2] = translate_to_bytes(mount_info[2])
|
45
|
+
mount_info[1] = translate_to_bytes(mount_info[1])
|
46
|
+
compute_sizes(mount_info)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def translate_to_bytes(strin_size)
|
51
|
+
strin_size.to_i * BLOCK_SIZE
|
52
|
+
end
|
53
|
+
|
54
|
+
def compute_sizes(info)
|
55
|
+
available_bytes = info[3]
|
56
|
+
used_bytes = info[2]
|
57
|
+
size_bytes = info[1]
|
58
|
+
@fact_list[:mountpoints][info.last].merge!(
|
59
|
+
capacity: Facter::Util::Resolvers::FilesystemHelper.compute_capacity(used_bytes, size_bytes),
|
60
|
+
available_bytes: available_bytes,
|
61
|
+
used_bytes: used_bytes,
|
62
|
+
size_bytes: size_bytes,
|
63
|
+
available: Facter::Util::Facts::UnitConverter.bytes_to_human_readable(available_bytes),
|
64
|
+
used: Facter::Util::Facts::UnitConverter.bytes_to_human_readable(used_bytes),
|
65
|
+
size: Facter::Util::Facts::UnitConverter.bytes_to_human_readable(size_bytes)
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Facter
|
4
|
+
module Resolvers
|
5
|
+
module Openbsd
|
6
|
+
class Virtual < BaseResolver
|
7
|
+
init_resolver
|
8
|
+
|
9
|
+
class << self
|
10
|
+
# :model
|
11
|
+
|
12
|
+
VM_GUEST_SYSCTL_NAMES = {
|
13
|
+
'VMM' => 'vmm',
|
14
|
+
'vServer' => 'vserver',
|
15
|
+
'oracle' => 'virtualbox',
|
16
|
+
'xen' => 'xenu',
|
17
|
+
'none' => nil
|
18
|
+
}.freeze
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def post_resolve(fact_name, _options)
|
23
|
+
@fact_list.fetch(fact_name) { read_facts(fact_name) }
|
24
|
+
end
|
25
|
+
|
26
|
+
CTL_HW = 6
|
27
|
+
HW_PRODUCT = 15
|
28
|
+
|
29
|
+
def read_facts(fact_name)
|
30
|
+
require 'facter/resolvers/bsd/ffi/ffi_helper'
|
31
|
+
|
32
|
+
vm = Facter::Bsd::FfiHelper.sysctl(:string, [CTL_HW, HW_PRODUCT])
|
33
|
+
vm = if VM_GUEST_SYSCTL_NAMES.key?(vm)
|
34
|
+
VM_GUEST_SYSCTL_NAMES[vm]
|
35
|
+
else
|
36
|
+
'physical'
|
37
|
+
end
|
38
|
+
@fact_list[:vm] = vm
|
39
|
+
@fact_list[fact_name]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -112,9 +112,9 @@ module Facter
|
|
112
112
|
|
113
113
|
def execute_and_extract_blkid_info
|
114
114
|
stdout = Facter::Core::Execution.execute('blkid', logger: log)
|
115
|
-
output_hash = Hash[*stdout.split(/^([^:]+):/)[1
|
115
|
+
output_hash = Hash[*stdout.split(/^([^:]+):/)[1..-1]]
|
116
116
|
output_hash.each do |key, value|
|
117
|
-
output_hash[key] = Hash[*value.delete('"').chomp.rstrip.split(/ ([^= ]+)=/)[1
|
117
|
+
output_hash[key] = Hash[*value.delete('"').chomp.rstrip.split(/ ([^= ]+)=/)[1..-1]]
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
@@ -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
|
37
|
+
exclude << option[1..-1].to_sym
|
38
38
|
elsif option.start_with?('+')
|
39
|
-
print_caller << option[1
|
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')
|
data/lib/facter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -64,42 +64,42 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
67
|
+
version: '1.28'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '1.
|
74
|
+
version: '1.28'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rubocop-performance
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
81
|
+
version: 1.5.2
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
version: 1.5.2
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rubocop-rspec
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '2.
|
95
|
+
version: '2.10'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '2.
|
102
|
+
version: '2.10'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: simplecov
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
version: 1.0.1
|
180
180
|
- - "<"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: '
|
182
|
+
version: '1.3'
|
183
183
|
type: :runtime
|
184
184
|
prerelease: false
|
185
185
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ dependencies:
|
|
189
189
|
version: 1.0.1
|
190
190
|
- - "<"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '
|
192
|
+
version: '1.3'
|
193
193
|
description: You can prove anything with facts!
|
194
194
|
email:
|
195
195
|
- team-nw@puppet.com
|
@@ -669,6 +669,64 @@ files:
|
|
669
669
|
- lib/facter/facts/ol/os/distro/description.rb
|
670
670
|
- lib/facter/facts/ol/os/distro/id.rb
|
671
671
|
- lib/facter/facts/ol/os/release.rb
|
672
|
+
- lib/facter/facts/openbsd/augeas/version.rb
|
673
|
+
- lib/facter/facts/openbsd/dmi/bios/vendor.rb
|
674
|
+
- lib/facter/facts/openbsd/dmi/bios/version.rb
|
675
|
+
- lib/facter/facts/openbsd/dmi/manufacturer.rb
|
676
|
+
- lib/facter/facts/openbsd/dmi/product/name.rb
|
677
|
+
- lib/facter/facts/openbsd/dmi/product/serial_number.rb
|
678
|
+
- lib/facter/facts/openbsd/dmi/product/uuid.rb
|
679
|
+
- lib/facter/facts/openbsd/ec2_metadata.rb
|
680
|
+
- lib/facter/facts/openbsd/ec2_userdata.rb
|
681
|
+
- lib/facter/facts/openbsd/facterversion.rb
|
682
|
+
- lib/facter/facts/openbsd/identity/gid.rb
|
683
|
+
- lib/facter/facts/openbsd/identity/group.rb
|
684
|
+
- lib/facter/facts/openbsd/identity/privileged.rb
|
685
|
+
- lib/facter/facts/openbsd/identity/uid.rb
|
686
|
+
- lib/facter/facts/openbsd/identity/user.rb
|
687
|
+
- lib/facter/facts/openbsd/ipaddress6_interfaces.rb
|
688
|
+
- lib/facter/facts/openbsd/ipaddress_interfaces.rb
|
689
|
+
- lib/facter/facts/openbsd/is_virtual.rb
|
690
|
+
- lib/facter/facts/openbsd/kernel.rb
|
691
|
+
- lib/facter/facts/openbsd/kernelrelease.rb
|
692
|
+
- lib/facter/facts/openbsd/mountpoints.rb
|
693
|
+
- lib/facter/facts/openbsd/netmask6_interfaces.rb
|
694
|
+
- lib/facter/facts/openbsd/netmask_interfaces.rb
|
695
|
+
- lib/facter/facts/openbsd/network6_interfaces.rb
|
696
|
+
- lib/facter/facts/openbsd/network_interfaces.rb
|
697
|
+
- lib/facter/facts/openbsd/networking/dhcp.rb
|
698
|
+
- lib/facter/facts/openbsd/networking/domain.rb
|
699
|
+
- lib/facter/facts/openbsd/networking/fqdn.rb
|
700
|
+
- lib/facter/facts/openbsd/networking/hostname.rb
|
701
|
+
- lib/facter/facts/openbsd/networking/interfaces.rb
|
702
|
+
- lib/facter/facts/openbsd/networking/ip.rb
|
703
|
+
- lib/facter/facts/openbsd/networking/ip6.rb
|
704
|
+
- lib/facter/facts/openbsd/networking/mac.rb
|
705
|
+
- lib/facter/facts/openbsd/networking/mtu.rb
|
706
|
+
- lib/facter/facts/openbsd/networking/netmask.rb
|
707
|
+
- lib/facter/facts/openbsd/networking/netmask6.rb
|
708
|
+
- lib/facter/facts/openbsd/networking/network.rb
|
709
|
+
- lib/facter/facts/openbsd/networking/network6.rb
|
710
|
+
- lib/facter/facts/openbsd/networking/primary.rb
|
711
|
+
- lib/facter/facts/openbsd/networking/scope6.rb
|
712
|
+
- lib/facter/facts/openbsd/os/architecture.rb
|
713
|
+
- lib/facter/facts/openbsd/os/hardware.rb
|
714
|
+
- lib/facter/facts/openbsd/os/name.rb
|
715
|
+
- lib/facter/facts/openbsd/os/release.rb
|
716
|
+
- lib/facter/facts/openbsd/path.rb
|
717
|
+
- lib/facter/facts/openbsd/processors/isa.rb
|
718
|
+
- lib/facter/facts/openbsd/ruby/platform.rb
|
719
|
+
- lib/facter/facts/openbsd/ruby/sitedir.rb
|
720
|
+
- lib/facter/facts/openbsd/ruby/version.rb
|
721
|
+
- lib/facter/facts/openbsd/ssh.rb
|
722
|
+
- lib/facter/facts/openbsd/sshalgorithmkey.rb
|
723
|
+
- lib/facter/facts/openbsd/sshfp_algorithm.rb
|
724
|
+
- lib/facter/facts/openbsd/system_uptime/days.rb
|
725
|
+
- lib/facter/facts/openbsd/system_uptime/hours.rb
|
726
|
+
- lib/facter/facts/openbsd/system_uptime/seconds.rb
|
727
|
+
- lib/facter/facts/openbsd/system_uptime/uptime.rb
|
728
|
+
- lib/facter/facts/openbsd/timezone.rb
|
729
|
+
- lib/facter/facts/openbsd/virtual.rb
|
672
730
|
- lib/facter/facts/openwrt/os/release.rb
|
673
731
|
- lib/facter/facts/ovs/os/release.rb
|
674
732
|
- lib/facter/facts/photon/os/release.rb
|
@@ -982,6 +1040,10 @@ files:
|
|
982
1040
|
- lib/facter/resolvers/mountpoints.rb
|
983
1041
|
- lib/facter/resolvers/networking.rb
|
984
1042
|
- lib/facter/resolvers/open_vz.rb
|
1043
|
+
- lib/facter/resolvers/openbsd/dhcp.rb
|
1044
|
+
- lib/facter/resolvers/openbsd/dmi.rb
|
1045
|
+
- lib/facter/resolvers/openbsd/mountpoints.rb
|
1046
|
+
- lib/facter/resolvers/openbsd/virtual.rb
|
985
1047
|
- lib/facter/resolvers/os_release.rb
|
986
1048
|
- lib/facter/resolvers/partitions.rb
|
987
1049
|
- lib/facter/resolvers/path.rb
|
@@ -1093,7 +1155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1093
1155
|
requirements:
|
1094
1156
|
- - ">="
|
1095
1157
|
- !ruby/object:Gem::Version
|
1096
|
-
version: '2.
|
1158
|
+
version: '2.5'
|
1097
1159
|
- - "<"
|
1098
1160
|
- !ruby/object:Gem::Version
|
1099
1161
|
version: '4.0'
|