facter 4.0.43 → 4.0.49
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 +32 -0
- data/lib/docs/template.erb +34 -0
- data/lib/facter.rb +65 -9
- data/lib/facter/config.rb +385 -0
- data/lib/facter/custom_facts/core/aggregate.rb +7 -0
- data/lib/facter/custom_facts/core/execution.rb +28 -4
- data/lib/facter/custom_facts/core/execution/base.rb +33 -33
- data/lib/facter/custom_facts/util/collection.rb +1 -2
- data/lib/facter/custom_facts/util/directory_loader.rb +1 -1
- data/lib/facter/custom_facts/util/fact.rb +39 -3
- data/lib/facter/custom_facts/util/loader.rb +1 -1
- data/lib/facter/custom_facts/util/parser.rb +17 -3
- data/lib/facter/custom_facts/util/resolution.rb +2 -2
- data/lib/facter/facts/aix/disks.rb +1 -1
- data/lib/facter/facts/aix/interfaces.rb +1 -0
- data/lib/facter/facts/aix/memory/swap/available.rb +1 -1
- data/lib/facter/facts/aix/memory/swap/available_bytes.rb +1 -1
- data/lib/facter/facts/aix/memory/swap/total.rb +1 -1
- data/lib/facter/facts/aix/memory/swap/total_bytes.rb +1 -1
- data/lib/facter/facts/aix/memory/swap/used.rb +1 -1
- data/lib/facter/facts/aix/memory/system/available.rb +1 -1
- data/lib/facter/facts/aix/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/aix/memory/system/total.rb +1 -1
- data/lib/facter/facts/aix/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/aix/memory/system/used.rb +1 -1
- data/lib/facter/facts/aix/processors/speed.rb +1 -1
- data/lib/facter/facts/aix/ssh.rb +1 -1
- data/lib/facter/facts/aix/sshalgorithmkey.rb +1 -1
- data/lib/facter/facts/aix/sshfp_algorithm.rb +1 -1
- data/lib/facter/facts/bsd/processors/speed.rb +1 -1
- data/lib/facter/facts/freebsd/is_virtual.rb +25 -0
- data/lib/facter/facts/freebsd/memory/swap/available.rb +1 -1
- data/lib/facter/facts/freebsd/memory/swap/available_bytes.rb +1 -1
- data/lib/facter/facts/freebsd/memory/swap/total.rb +1 -1
- data/lib/facter/facts/freebsd/memory/swap/total_bytes.rb +1 -1
- data/lib/facter/facts/freebsd/memory/swap/used.rb +1 -1
- data/lib/facter/facts/freebsd/memory/system/available.rb +1 -1
- data/lib/facter/facts/freebsd/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/freebsd/memory/system/total.rb +1 -1
- data/lib/facter/facts/freebsd/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/freebsd/memory/system/used.rb +1 -1
- data/lib/facter/facts/freebsd/processors/speed.rb +1 -1
- data/lib/facter/facts/freebsd/ssh.rb +1 -1
- data/lib/facter/facts/freebsd/sshalgorithmkey.rb +1 -1
- data/lib/facter/facts/freebsd/sshfp_algorithm.rb +1 -1
- data/lib/facter/facts/freebsd/virtual.rb +22 -0
- data/lib/facter/facts/linux/dhcp_servers.rb +1 -0
- data/lib/facter/facts/linux/disks.rb +1 -1
- data/lib/facter/facts/linux/ec2_metadata.rb +1 -1
- data/lib/facter/facts/linux/ec2_userdata.rb +1 -1
- data/lib/facter/facts/linux/hypervisors/kvm.rb +1 -1
- data/lib/facter/facts/linux/hypervisors/xen.rb +1 -1
- data/lib/facter/facts/linux/interfaces.rb +1 -0
- data/lib/facter/facts/linux/is_virtual.rb +2 -2
- data/lib/facter/facts/linux/memory/swap/available.rb +1 -1
- data/lib/facter/facts/linux/memory/swap/available_bytes.rb +1 -1
- data/lib/facter/facts/linux/memory/swap/total.rb +1 -1
- data/lib/facter/facts/linux/memory/swap/total_bytes.rb +1 -1
- data/lib/facter/facts/linux/memory/swap/used.rb +1 -1
- data/lib/facter/facts/linux/memory/system/available.rb +1 -1
- data/lib/facter/facts/linux/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/linux/memory/system/total.rb +1 -1
- data/lib/facter/facts/linux/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/linux/memory/system/used.rb +1 -1
- data/lib/facter/facts/linux/os/family.rb +4 -2
- data/lib/facter/facts/linux/processors/speed.rb +1 -1
- data/lib/facter/facts/linux/ssh.rb +1 -1
- data/lib/facter/facts/linux/sshalgorithmkey.rb +1 -1
- data/lib/facter/facts/linux/sshfp_algorithm.rb +1 -1
- data/lib/facter/facts/linux/virtual.rb +1 -1
- data/lib/facter/facts/macosx/dhcp_servers.rb +1 -0
- data/lib/facter/facts/macosx/interfaces.rb +1 -0
- data/lib/facter/facts/macosx/memory/swap/available.rb +1 -1
- data/lib/facter/facts/macosx/memory/swap/available_bytes.rb +1 -1
- data/lib/facter/facts/macosx/memory/swap/total.rb +1 -1
- data/lib/facter/facts/macosx/memory/swap/total_bytes.rb +1 -1
- data/lib/facter/facts/macosx/memory/swap/used.rb +1 -1
- data/lib/facter/facts/macosx/memory/system/available.rb +1 -1
- data/lib/facter/facts/macosx/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/macosx/memory/system/total.rb +1 -1
- data/lib/facter/facts/macosx/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/macosx/memory/system/used.rb +1 -1
- data/lib/facter/facts/macosx/processors/speed.rb +1 -1
- data/lib/facter/facts/macosx/ssh.rb +1 -1
- data/lib/facter/facts/macosx/sshalgorithmkey.rb +1 -1
- data/lib/facter/facts/macosx/sshfp_algorithm.rb +1 -1
- data/lib/facter/facts/rhel/os/release.rb +1 -1
- data/lib/facter/facts/solaris/dhcp_servers.rb +1 -0
- data/lib/facter/facts/solaris/disks.rb +1 -1
- data/lib/facter/facts/solaris/hypervisors/ldom.rb +3 -0
- data/lib/facter/facts/solaris/interfaces.rb +1 -0
- data/lib/facter/facts/solaris/is_virtual.rb +2 -2
- data/lib/facter/facts/solaris/ldom.rb +34 -4
- data/lib/facter/facts/solaris/memory/swap/available.rb +1 -1
- data/lib/facter/facts/solaris/memory/swap/available_bytes.rb +1 -1
- data/lib/facter/facts/solaris/memory/swap/total.rb +1 -1
- data/lib/facter/facts/solaris/memory/swap/total_bytes.rb +1 -1
- data/lib/facter/facts/solaris/memory/swap/used.rb +1 -1
- data/lib/facter/facts/solaris/memory/system/available.rb +1 -1
- data/lib/facter/facts/solaris/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/solaris/memory/system/total.rb +1 -1
- data/lib/facter/facts/solaris/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/solaris/memory/system/used.rb +1 -1
- data/lib/facter/facts/solaris/processors/speed.rb +1 -1
- data/lib/facter/facts/solaris/ssh.rb +1 -1
- data/lib/facter/facts/solaris/sshalgorithmkey.rb +1 -1
- data/lib/facter/facts/solaris/sshfp_algorithm.rb +1 -1
- data/lib/facter/facts/solaris/virtual.rb +1 -1
- data/lib/facter/facts/windows/dhcp_servers.rb +1 -0
- data/lib/facter/facts/windows/interfaces.rb +1 -0
- data/lib/facter/facts/windows/memory/system/available.rb +1 -1
- data/lib/facter/facts/windows/memory/system/available_bytes.rb +1 -1
- data/lib/facter/facts/windows/memory/system/total.rb +1 -1
- data/lib/facter/facts/windows/memory/system/total_bytes.rb +1 -1
- data/lib/facter/facts/windows/memory/system/used.rb +1 -1
- data/lib/facter/facts/windows/networking/fqdn.rb +1 -1
- data/lib/facter/facts/windows/os/release.rb +1 -1
- data/lib/facter/framework/benchmarking/timer.rb +4 -2
- data/lib/facter/framework/cli/cli.rb +20 -6
- data/lib/facter/framework/config/fact_groups.rb +10 -8
- data/lib/facter/framework/core/cache_manager.rb +62 -17
- data/lib/facter/framework/core/fact/internal/core_fact.rb +6 -1
- data/lib/facter/framework/core/fact/internal/internal_fact_manager.rb +38 -4
- data/lib/facter/framework/core/fact_augmenter.rb +1 -1
- data/lib/facter/framework/core/fact_loaders/external_fact_loader.rb +4 -2
- data/lib/facter/framework/core/fact_loaders/fact_loader.rb +17 -1
- data/lib/facter/framework/core/fact_manager.rb +15 -3
- data/lib/facter/framework/core/file_loader.rb +6 -2
- data/lib/facter/framework/core/options/config_file_options.rb +16 -5
- data/lib/facter/framework/core/options/option_store.rb +42 -20
- data/lib/facter/framework/detector/os_detector.rb +1 -0
- data/lib/facter/framework/detector/os_hierarchy.rb +5 -9
- data/lib/facter/framework/logging/logger.rb +3 -3
- data/lib/facter/models/fact_collection.rb +11 -1
- data/lib/facter/models/loaded_fact.rb +2 -1
- data/lib/facter/resolvers/aio_agent_version.rb +2 -2
- data/lib/facter/resolvers/aix/{architecture_resolver.rb → architecture.rb} +19 -4
- data/lib/facter/resolvers/aix/disks.rb +6 -5
- data/lib/facter/resolvers/aix/{filesystem_resolver.rb → filesystem.rb} +2 -2
- data/lib/facter/resolvers/aix/{hardware_resolver.rb → hardware.rb} +4 -3
- data/lib/facter/resolvers/aix/{load_averages_resolver.rb → load_averages.rb} +2 -1
- data/lib/facter/resolvers/aix/memory.rb +4 -3
- data/lib/facter/resolvers/aix/mountpoints.rb +6 -5
- data/lib/facter/resolvers/aix/{networking_resolver.rb → networking.rb} +4 -3
- data/lib/facter/resolvers/aix/nim.rb +1 -1
- data/lib/facter/resolvers/aix/os_level.rb +1 -1
- data/lib/facter/resolvers/aix/partitions.rb +7 -6
- data/lib/facter/resolvers/aix/processors.rb +5 -4
- data/lib/facter/resolvers/aix/serialnumber.rb +2 -2
- data/lib/facter/resolvers/{augeas_resolver.rb → augeas.rb} +8 -2
- data/lib/facter/resolvers/base_resolver.rb +14 -4
- data/lib/facter/resolvers/bsd/processors.rb +13 -8
- data/lib/facter/resolvers/cloud.rb +2 -2
- data/lib/facter/resolvers/containers.rb +5 -4
- data/lib/facter/resolvers/debian_version.rb +2 -2
- data/lib/facter/resolvers/{disk_resolver.rb → disk.rb} +17 -6
- data/lib/facter/resolvers/{dmi_resolver.rb → dmi.rb} +3 -2
- data/lib/facter/resolvers/dmi_decode.rb +1 -1
- data/lib/facter/resolvers/ec2.rb +5 -2
- data/lib/facter/resolvers/{eos_release_resolver.rb → eos_release.rb} +2 -2
- data/lib/facter/resolvers/{facterversion_resolver.rb → facterversion.rb} +1 -1
- data/lib/facter/resolvers/{filesystems_resolver.rb → filesystems.rb} +5 -2
- data/lib/facter/resolvers/{fips_enabled_resolver.rb → fips_enabled.rb} +5 -2
- data/lib/facter/resolvers/freebsd/{dmi_resolver.rb → dmi.rb} +1 -1
- data/lib/facter/resolvers/freebsd/{freebsd_version_resolver.rb → freebsd_version.rb} +9 -7
- data/lib/facter/resolvers/freebsd/{geom_resolver.rb → geom.rb} +15 -22
- data/lib/facter/resolvers/freebsd/processors.rb +13 -8
- data/lib/facter/resolvers/freebsd/{swap_memory_resolver.rb → swap_memory.rb} +5 -3
- data/lib/facter/resolvers/freebsd/{system_memory_resolver.rb → system_memory.rb} +4 -2
- data/lib/facter/resolvers/freebsd/virtual.rb +45 -0
- data/lib/facter/resolvers/gce.rb +3 -2
- data/lib/facter/resolvers/hostname.rb +92 -0
- data/lib/facter/resolvers/{identity_resolver.rb → identity.rb} +2 -1
- data/lib/facter/resolvers/linux/docker_uptime.rb +3 -2
- data/lib/facter/resolvers/linux/load_averages.rb +3 -2
- data/lib/facter/resolvers/load_averages.rb +5 -3
- data/lib/facter/resolvers/{lpar_resolver.rb → lpar.rb} +1 -1
- data/lib/facter/resolvers/{lsb_release_resolver.rb → lsb_release.rb} +1 -1
- data/lib/facter/resolvers/lspci.rb +1 -1
- data/lib/facter/resolvers/macosx/{dmi_resolver.rb → dmi.rb} +1 -1
- data/lib/facter/resolvers/macosx/{filesystems_resolver.rb → filesystems.rb} +1 -1
- data/lib/facter/resolvers/macosx/{load_averages_resolver.rb → load_averages.rb} +2 -1
- data/lib/facter/resolvers/macosx/{mountpoints_resolver.rb → mountpoints.rb} +9 -8
- data/lib/facter/resolvers/macosx/{processor_resolver.rb → processor.rb} +2 -1
- data/lib/facter/resolvers/macosx/{swap_memory_resolver.rb → swap_memory.rb} +2 -1
- data/lib/facter/resolvers/macosx/{system_memory_resolver.rb → system_memory.rb} +2 -1
- data/lib/facter/resolvers/macosx/{system_profiler_resolver.rb → system_profiler.rb} +4 -6
- data/lib/facter/resolvers/{memory_resolver.rb → memory.rb} +4 -2
- data/lib/facter/resolvers/mountpoints.rb +90 -0
- data/lib/facter/resolvers/{networking_resolver.rb → networking.rb} +9 -6
- data/lib/facter/resolvers/networking_linux.rb +296 -0
- data/lib/facter/resolvers/open_vz.rb +2 -4
- data/lib/facter/resolvers/{os_release_resolver.rb → os_release.rb} +2 -2
- data/lib/facter/resolvers/partitions.rb +67 -63
- data/lib/facter/resolvers/{path_resolver.rb → path.rb} +1 -1
- data/lib/facter/resolvers/{processors_resolver.rb → processors.rb} +6 -3
- data/lib/facter/resolvers/{redhat_release_resolver.rb → redhat_release.rb} +2 -2
- data/lib/facter/resolvers/{ruby_resolver.rb → ruby.rb} +1 -1
- data/lib/facter/resolvers/{selinux_resolver.rb → selinux.rb} +4 -4
- data/lib/facter/resolvers/solaris/disks.rb +2 -2
- data/lib/facter/resolvers/solaris/dmi.rb +3 -1
- data/lib/facter/resolvers/solaris/dmi_sparc.rb +1 -1
- data/lib/facter/resolvers/solaris/filesystems.rb +1 -1
- data/lib/facter/resolvers/solaris/ipaddress.rb +2 -1
- data/lib/facter/resolvers/solaris/ldom.rb +1 -3
- data/lib/facter/resolvers/solaris/memory.rb +4 -3
- data/lib/facter/resolvers/solaris/mountpoints.rb +13 -12
- data/lib/facter/resolvers/solaris/networking.rb +50 -43
- data/lib/facter/resolvers/solaris/os_release.rb +7 -5
- data/lib/facter/resolvers/solaris/processors.rb +2 -1
- data/lib/facter/resolvers/solaris/zone.rb +1 -1
- data/lib/facter/resolvers/solaris/zone_name.rb +1 -1
- data/lib/facter/resolvers/{ssh_resolver.rb → ssh.rb} +12 -8
- data/lib/facter/resolvers/{suse_release_resolver.rb → suse_release.rb} +2 -2
- data/lib/facter/resolvers/{sw_vers_resolver.rb → sw_vers.rb} +2 -2
- data/lib/facter/resolvers/{timezone_resolver.rb → timezone.rb} +1 -1
- data/lib/facter/resolvers/{uname_resolver.rb → uname.rb} +1 -1
- data/lib/facter/resolvers/{uptime_resolver.rb → uptime.rb} +3 -3
- data/lib/facter/resolvers/virt_what.rb +1 -1
- data/lib/facter/resolvers/vmware.rb +1 -1
- data/lib/facter/resolvers/windows/aio_agent_version.rb +2 -2
- data/lib/facter/resolvers/windows/{dmi_bios_resolver.rb → dmi_bios.rb} +2 -2
- data/lib/facter/resolvers/windows/{dmi_computersystem_resolver.rb → dmi_computersystem.rb} +2 -2
- data/lib/facter/resolvers/windows/{fips_resolver.rb → fips.rb} +2 -1
- data/lib/facter/resolvers/windows/{hardware_architecture_resolver.rb → hardware_architecture.rb} +2 -1
- data/lib/facter/resolvers/windows/{identity_resolver.rb → identity.rb} +2 -1
- data/lib/facter/resolvers/windows/{kernel_resolver.rb → kernel.rb} +3 -1
- data/lib/facter/resolvers/windows/{memory_resolver.rb → memory.rb} +7 -1
- data/lib/facter/resolvers/windows/{netkvm_resolver.rb → netkvm.rb} +2 -1
- data/lib/facter/resolvers/windows/{networking_resolver.rb → networking.rb} +18 -4
- data/lib/facter/resolvers/windows/{processors_resolver.rb → processors.rb} +3 -2
- data/lib/facter/resolvers/windows/{product_release_resolver.rb → product_release.rb} +2 -1
- data/lib/facter/resolvers/windows/ssh.rb +5 -3
- data/lib/facter/resolvers/windows/{system32_resolver.rb → system32.rb} +3 -1
- data/lib/facter/resolvers/windows/{uptime_resolver.rb → uptime.rb} +3 -2
- data/lib/facter/resolvers/windows/{virtualization_resolver.rb → virtualization.rb} +3 -2
- data/lib/facter/resolvers/windows/{win_os_description_resolver.rb → win_os_description.rb} +4 -2
- data/lib/facter/resolvers/{wpar_resolver.rb → wpar.rb} +1 -1
- data/lib/facter/resolvers/xen.rb +2 -2
- data/lib/facter/resolvers/zfs.rb +2 -1
- data/lib/facter/resolvers/zpool.rb +2 -1
- data/lib/facter/util/aix/info_extractor.rb +24 -0
- data/lib/facter/util/aix/odm_query.rb +46 -0
- data/lib/facter/util/api_debugger.rb +33 -29
- data/lib/facter/util/facts/facts_utils.rb +30 -0
- data/lib/facter/util/facts/unit_converter.rb +61 -0
- data/lib/facter/util/facts/uptime_parser.rb +128 -0
- data/lib/facter/util/facts/virtual_detector.rb +90 -0
- data/lib/facter/util/facts/windows_release_finder.rb +55 -0
- data/lib/facter/{resolvers/macosx/utils → util/macosx}/system_profile_executor.rb +1 -1
- data/lib/facter/util/resolvers/aws_token.rb +37 -0
- data/lib/facter/{resolvers/utils → util/resolvers}/ffi/load_averages.rb +2 -2
- data/lib/facter/util/resolvers/filesystem_helper.rb +47 -0
- data/lib/facter/util/resolvers/fingerprint.rb +15 -0
- data/lib/facter/{resolvers/utils → util/resolvers}/http.rb +17 -10
- data/lib/facter/util/resolvers/networking/dhcp.rb +21 -0
- data/lib/facter/util/resolvers/networking/networking.rb +109 -0
- data/lib/facter/util/resolvers/networking/primary_interface.rb +82 -0
- data/lib/facter/util/resolvers/ssh.rb +17 -0
- data/lib/facter/util/resolvers/ssh_helper.rb +31 -0
- data/lib/facter/{resolvers/utils → util/resolvers}/uptime_helper.rb +2 -2
- data/lib/facter/{framework/utils → util}/utils.rb +0 -0
- data/lib/facter/util/windows/win32ole.rb +30 -0
- data/lib/facter/version.rb +1 -1
- metadata +106 -119
- data/lib/facter/fact_groups.conf +0 -308
- data/lib/facter/facts/aix/puppet_version.rb +0 -15
- data/lib/facter/facts/freebsd/puppet_version.rb +0 -15
- data/lib/facter/facts/linux/puppet_version.rb +0 -15
- data/lib/facter/facts/macosx/puppet_version.rb +0 -15
- data/lib/facter/facts/solaris/puppet_version.rb +0 -15
- data/lib/facter/facts/windows/puppet_version.rb +0 -15
- data/lib/facter/facts_utils/facts_utils.rb +0 -12
- data/lib/facter/facts_utils/unit_converter.rb +0 -59
- data/lib/facter/facts_utils/uptime_parser.rb +0 -124
- data/lib/facter/facts_utils/virtual_detector.rb +0 -78
- data/lib/facter/facts_utils/windows_release_finder.rb +0 -51
- data/lib/facter/os_hierarchy.json +0 -36
- data/lib/facter/resolvers/aix/utils/info_extractor.rb +0 -20
- data/lib/facter/resolvers/aix/utils/odm_query.rb +0 -42
- data/lib/facter/resolvers/hostname_resolver.rb +0 -44
- data/lib/facter/resolvers/mountpoints_resolver.rb +0 -62
- data/lib/facter/resolvers/networking_linux_resolver.rb +0 -159
- data/lib/facter/resolvers/puppet_version_resolver.rb +0 -26
- data/lib/facter/resolvers/utils/filesystem_helper.rb +0 -43
- data/lib/facter/resolvers/utils/fingerprint.rb +0 -11
- data/lib/facter/resolvers/utils/networking.rb +0 -86
- data/lib/facter/resolvers/utils/ssh.rb +0 -13
- data/lib/facter/resolvers/utils/ssh_helper.rb +0 -27
- data/lib/facter/resolvers/windows/utils/win32ole.rb +0 -24
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Facter
|
4
|
+
module Util
|
5
|
+
module Resolvers
|
6
|
+
class Ssh
|
7
|
+
attr_accessor :fingerprint, :type, :key, :name
|
8
|
+
def initialize(fingerprint, type, key, name)
|
9
|
+
@fingerprint = fingerprint
|
10
|
+
@type = type
|
11
|
+
@key = key
|
12
|
+
@name = name
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'base64'
|
4
|
+
require 'digest/sha1'
|
5
|
+
|
6
|
+
module Facter
|
7
|
+
module Util
|
8
|
+
module Resolvers
|
9
|
+
class SshHelper
|
10
|
+
class << self
|
11
|
+
SSH_NAME = { 'ssh-dss' => 'dsa', 'ecdsa-sha2-nistp256' => 'ecdsa',
|
12
|
+
'ssh-ed25519' => 'ed25519', 'ssh-rsa' => 'rsa' }.freeze
|
13
|
+
SSH_FINGERPRINT = { 'rsa' => 1, 'dsa' => 2, 'ecdsa' => 3, 'ed25519' => 4 }.freeze
|
14
|
+
|
15
|
+
def create_ssh(key_type, key)
|
16
|
+
key_name = SSH_NAME[key_type]
|
17
|
+
return unless key_name
|
18
|
+
|
19
|
+
decoded_key = Base64.decode64(key)
|
20
|
+
ssh_fp = SSH_FINGERPRINT[key_name]
|
21
|
+
sha1 = "SSHFP #{ssh_fp} 1 #{Digest::SHA1.new.update(decoded_key)}"
|
22
|
+
sha256 = "SSHFP #{ssh_fp} 2 #{Digest::SHA2.new.update(decoded_key)}"
|
23
|
+
|
24
|
+
fingerprint = Facter::Util::Resolvers::FingerPrint.new(sha1, sha256)
|
25
|
+
Facter::Util::Resolvers::Ssh.new(fingerprint, key_type, key, key_name)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'win32ole'
|
4
|
+
|
5
|
+
module Facter
|
6
|
+
module Util
|
7
|
+
module Windows
|
8
|
+
class Win32Ole
|
9
|
+
RPC_C_IMP_LEVEL_IMPERSONATE = 3
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
locator = WIN32OLE.new('WbemScripting.SWbemLocator')
|
13
|
+
@conn = locator.ConnectServer('.', 'root\\cimv2')
|
14
|
+
@conn.Security_.ImpersonationLevel = RPC_C_IMP_LEVEL_IMPERSONATE
|
15
|
+
end
|
16
|
+
|
17
|
+
def return_first(query)
|
18
|
+
result = exec_query(query)
|
19
|
+
return result.to_enum.first if result
|
20
|
+
|
21
|
+
nil
|
22
|
+
end
|
23
|
+
|
24
|
+
def exec_query(query)
|
25
|
+
@conn.execquery(query)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/facter/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.49
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '2.0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '2.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: coveralls
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.8.23
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.8.23
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
14
|
name: rake
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +80,20 @@ dependencies:
|
|
108
80
|
- - "~>"
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '1.38'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.17.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.17.1
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: sys-filesystem
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,7 +165,10 @@ extensions: []
|
|
179
165
|
extra_rdoc_files: []
|
180
166
|
files:
|
181
167
|
- bin/facter
|
168
|
+
- lib/docs/generate.rb
|
169
|
+
- lib/docs/template.erb
|
182
170
|
- lib/facter.rb
|
171
|
+
- lib/facter/config.rb
|
183
172
|
- lib/facter/custom_facts/core/aggregate.rb
|
184
173
|
- lib/facter/custom_facts/core/directed_graph.rb
|
185
174
|
- lib/facter/custom_facts/core/execution.rb
|
@@ -205,7 +194,6 @@ files:
|
|
205
194
|
- lib/facter/custom_facts/util/unix_root.rb
|
206
195
|
- lib/facter/custom_facts/util/values.rb
|
207
196
|
- lib/facter/custom_facts/util/windows_root.rb
|
208
|
-
- lib/facter/fact_groups.conf
|
209
197
|
- lib/facter/facts/aix/aio_agent_version.rb
|
210
198
|
- lib/facter/facts/aix/augeas/version.rb
|
211
199
|
- lib/facter/facts/aix/disks.rb
|
@@ -274,7 +262,6 @@ files:
|
|
274
262
|
- lib/facter/facts/aix/processors/isa.rb
|
275
263
|
- lib/facter/facts/aix/processors/models.rb
|
276
264
|
- lib/facter/facts/aix/processors/speed.rb
|
277
|
-
- lib/facter/facts/aix/puppet_version.rb
|
278
265
|
- lib/facter/facts/aix/ruby/platform.rb
|
279
266
|
- lib/facter/facts/aix/ruby/sitedir.rb
|
280
267
|
- lib/facter/facts/aix/ruby/version.rb
|
@@ -319,6 +306,7 @@ files:
|
|
319
306
|
- lib/facter/facts/freebsd/identity/privileged.rb
|
320
307
|
- lib/facter/facts/freebsd/identity/uid.rb
|
321
308
|
- lib/facter/facts/freebsd/identity/user.rb
|
309
|
+
- lib/facter/facts/freebsd/is_virtual.rb
|
322
310
|
- lib/facter/facts/freebsd/kernel.rb
|
323
311
|
- lib/facter/facts/freebsd/kernelrelease.rb
|
324
312
|
- lib/facter/facts/freebsd/memory/swap/available.rb
|
@@ -366,7 +354,6 @@ files:
|
|
366
354
|
- lib/facter/facts/freebsd/processors/isa.rb
|
367
355
|
- lib/facter/facts/freebsd/processors/models.rb
|
368
356
|
- lib/facter/facts/freebsd/processors/speed.rb
|
369
|
-
- lib/facter/facts/freebsd/puppet_version.rb
|
370
357
|
- lib/facter/facts/freebsd/ruby/platform.rb
|
371
358
|
- lib/facter/facts/freebsd/ruby/sitedir.rb
|
372
359
|
- lib/facter/facts/freebsd/ruby/version.rb
|
@@ -378,6 +365,7 @@ files:
|
|
378
365
|
- lib/facter/facts/freebsd/system_uptime/seconds.rb
|
379
366
|
- lib/facter/facts/freebsd/system_uptime/uptime.rb
|
380
367
|
- lib/facter/facts/freebsd/timezone.rb
|
368
|
+
- lib/facter/facts/freebsd/virtual.rb
|
381
369
|
- lib/facter/facts/freebsd/zfs_featurenumbers.rb
|
382
370
|
- lib/facter/facts/freebsd/zfs_version.rb
|
383
371
|
- lib/facter/facts/freebsd/zpool_featureflags.rb
|
@@ -491,7 +479,6 @@ files:
|
|
491
479
|
- lib/facter/facts/linux/processors/models.rb
|
492
480
|
- lib/facter/facts/linux/processors/physicalcount.rb
|
493
481
|
- lib/facter/facts/linux/processors/speed.rb
|
494
|
-
- lib/facter/facts/linux/puppet_version.rb
|
495
482
|
- lib/facter/facts/linux/ruby/platform.rb
|
496
483
|
- lib/facter/facts/linux/ruby/sitedir.rb
|
497
484
|
- lib/facter/facts/linux/ruby/version.rb
|
@@ -577,7 +564,6 @@ files:
|
|
577
564
|
- lib/facter/facts/macosx/processors/models.rb
|
578
565
|
- lib/facter/facts/macosx/processors/physicalcount.rb
|
579
566
|
- lib/facter/facts/macosx/processors/speed.rb
|
580
|
-
- lib/facter/facts/macosx/puppet_version.rb
|
581
567
|
- lib/facter/facts/macosx/ruby/platform.rb
|
582
568
|
- lib/facter/facts/macosx/ruby/sitedir.rb
|
583
569
|
- lib/facter/facts/macosx/ruby/version.rb
|
@@ -704,7 +690,6 @@ files:
|
|
704
690
|
- lib/facter/facts/solaris/processors/models.rb
|
705
691
|
- lib/facter/facts/solaris/processors/physicalcount.rb
|
706
692
|
- lib/facter/facts/solaris/processors/speed.rb
|
707
|
-
- lib/facter/facts/solaris/puppet_version.rb
|
708
693
|
- lib/facter/facts/solaris/ruby/platform.rb
|
709
694
|
- lib/facter/facts/solaris/ruby/sitedir.rb
|
710
695
|
- lib/facter/facts/solaris/ruby/version.rb
|
@@ -796,7 +781,6 @@ files:
|
|
796
781
|
- lib/facter/facts/windows/processors/isa.rb
|
797
782
|
- lib/facter/facts/windows/processors/models.rb
|
798
783
|
- lib/facter/facts/windows/processors/physicalcount.rb
|
799
|
-
- lib/facter/facts/windows/puppet_version.rb
|
800
784
|
- lib/facter/facts/windows/ruby/platform.rb
|
801
785
|
- lib/facter/facts/windows/ruby/sitedir.rb
|
802
786
|
- lib/facter/facts/windows/ruby/version.rb
|
@@ -811,11 +795,6 @@ files:
|
|
811
795
|
- lib/facter/facts/windows/timezone.rb
|
812
796
|
- lib/facter/facts/windows/virtualization/is_virtual.rb
|
813
797
|
- lib/facter/facts/windows/virtualization/virtual.rb
|
814
|
-
- lib/facter/facts_utils/facts_utils.rb
|
815
|
-
- lib/facter/facts_utils/unit_converter.rb
|
816
|
-
- lib/facter/facts_utils/uptime_parser.rb
|
817
|
-
- lib/facter/facts_utils/virtual_detector.rb
|
818
|
-
- lib/facter/facts_utils/windows_release_finder.rb
|
819
798
|
- lib/facter/framework/benchmarking/timer.rb
|
820
799
|
- lib/facter/framework/cli/cli.rb
|
821
800
|
- lib/facter/framework/cli/cli_launcher.rb
|
@@ -849,83 +828,78 @@ files:
|
|
849
828
|
- lib/facter/framework/logging/logger.rb
|
850
829
|
- lib/facter/framework/logging/logger_helper.rb
|
851
830
|
- lib/facter/framework/parsers/query_parser.rb
|
852
|
-
- lib/facter/framework/utils/utils.rb
|
853
831
|
- lib/facter/models/fact_collection.rb
|
854
832
|
- lib/facter/models/loaded_fact.rb
|
855
833
|
- lib/facter/models/resolved_fact.rb
|
856
834
|
- lib/facter/models/searched_fact.rb
|
857
|
-
- lib/facter/os_hierarchy.json
|
858
835
|
- lib/facter/patches/sysfilesystem/sys/statvfs.rb
|
859
836
|
- lib/facter/resolvers/aio_agent_version.rb
|
860
|
-
- lib/facter/resolvers/aix/
|
837
|
+
- lib/facter/resolvers/aix/architecture.rb
|
861
838
|
- lib/facter/resolvers/aix/disks.rb
|
862
839
|
- lib/facter/resolvers/aix/ffi/ffi_helper.rb
|
863
|
-
- lib/facter/resolvers/aix/
|
864
|
-
- lib/facter/resolvers/aix/
|
865
|
-
- lib/facter/resolvers/aix/
|
840
|
+
- lib/facter/resolvers/aix/filesystem.rb
|
841
|
+
- lib/facter/resolvers/aix/hardware.rb
|
842
|
+
- lib/facter/resolvers/aix/load_averages.rb
|
866
843
|
- lib/facter/resolvers/aix/memory.rb
|
867
844
|
- lib/facter/resolvers/aix/mountpoints.rb
|
868
|
-
- lib/facter/resolvers/aix/
|
845
|
+
- lib/facter/resolvers/aix/networking.rb
|
869
846
|
- lib/facter/resolvers/aix/nim.rb
|
870
847
|
- lib/facter/resolvers/aix/os_level.rb
|
871
848
|
- lib/facter/resolvers/aix/partitions.rb
|
872
849
|
- lib/facter/resolvers/aix/processors.rb
|
873
850
|
- lib/facter/resolvers/aix/serialnumber.rb
|
874
|
-
- lib/facter/resolvers/
|
875
|
-
- lib/facter/resolvers/aix/utils/odm_query.rb
|
876
|
-
- lib/facter/resolvers/augeas_resolver.rb
|
851
|
+
- lib/facter/resolvers/augeas.rb
|
877
852
|
- lib/facter/resolvers/base_resolver.rb
|
878
853
|
- lib/facter/resolvers/bsd/ffi/ffi_helper.rb
|
879
854
|
- lib/facter/resolvers/bsd/processors.rb
|
880
855
|
- lib/facter/resolvers/cloud.rb
|
881
856
|
- lib/facter/resolvers/containers.rb
|
882
857
|
- lib/facter/resolvers/debian_version.rb
|
883
|
-
- lib/facter/resolvers/
|
858
|
+
- lib/facter/resolvers/disk.rb
|
859
|
+
- lib/facter/resolvers/dmi.rb
|
884
860
|
- lib/facter/resolvers/dmi_decode.rb
|
885
|
-
- lib/facter/resolvers/dmi_resolver.rb
|
886
861
|
- lib/facter/resolvers/ec2.rb
|
887
|
-
- lib/facter/resolvers/
|
888
|
-
- lib/facter/resolvers/
|
889
|
-
- lib/facter/resolvers/
|
890
|
-
- lib/facter/resolvers/
|
891
|
-
- lib/facter/resolvers/freebsd/
|
862
|
+
- lib/facter/resolvers/eos_release.rb
|
863
|
+
- lib/facter/resolvers/facterversion.rb
|
864
|
+
- lib/facter/resolvers/filesystems.rb
|
865
|
+
- lib/facter/resolvers/fips_enabled.rb
|
866
|
+
- lib/facter/resolvers/freebsd/dmi.rb
|
892
867
|
- lib/facter/resolvers/freebsd/ffi/ffi_helper.rb
|
893
|
-
- lib/facter/resolvers/freebsd/
|
894
|
-
- lib/facter/resolvers/freebsd/
|
868
|
+
- lib/facter/resolvers/freebsd/freebsd_version.rb
|
869
|
+
- lib/facter/resolvers/freebsd/geom.rb
|
895
870
|
- lib/facter/resolvers/freebsd/processors.rb
|
896
|
-
- lib/facter/resolvers/freebsd/
|
897
|
-
- lib/facter/resolvers/freebsd/
|
871
|
+
- lib/facter/resolvers/freebsd/swap_memory.rb
|
872
|
+
- lib/facter/resolvers/freebsd/system_memory.rb
|
873
|
+
- lib/facter/resolvers/freebsd/virtual.rb
|
898
874
|
- lib/facter/resolvers/gce.rb
|
899
|
-
- lib/facter/resolvers/
|
900
|
-
- lib/facter/resolvers/
|
875
|
+
- lib/facter/resolvers/hostname.rb
|
876
|
+
- lib/facter/resolvers/identity.rb
|
901
877
|
- lib/facter/resolvers/linux/docker_uptime.rb
|
902
878
|
- lib/facter/resolvers/linux/load_averages.rb
|
903
879
|
- lib/facter/resolvers/load_averages.rb
|
904
|
-
- lib/facter/resolvers/
|
905
|
-
- lib/facter/resolvers/
|
880
|
+
- lib/facter/resolvers/lpar.rb
|
881
|
+
- lib/facter/resolvers/lsb_release.rb
|
906
882
|
- lib/facter/resolvers/lspci.rb
|
907
|
-
- lib/facter/resolvers/macosx/
|
908
|
-
- lib/facter/resolvers/macosx/
|
909
|
-
- lib/facter/resolvers/macosx/
|
910
|
-
- lib/facter/resolvers/macosx/
|
911
|
-
- lib/facter/resolvers/macosx/
|
912
|
-
- lib/facter/resolvers/macosx/
|
913
|
-
- lib/facter/resolvers/macosx/
|
914
|
-
- lib/facter/resolvers/macosx/
|
915
|
-
- lib/facter/resolvers/
|
916
|
-
- lib/facter/resolvers/
|
917
|
-
- lib/facter/resolvers/
|
918
|
-
- lib/facter/resolvers/
|
919
|
-
- lib/facter/resolvers/networking_resolver.rb
|
883
|
+
- lib/facter/resolvers/macosx/dmi.rb
|
884
|
+
- lib/facter/resolvers/macosx/filesystems.rb
|
885
|
+
- lib/facter/resolvers/macosx/load_averages.rb
|
886
|
+
- lib/facter/resolvers/macosx/mountpoints.rb
|
887
|
+
- lib/facter/resolvers/macosx/processor.rb
|
888
|
+
- lib/facter/resolvers/macosx/swap_memory.rb
|
889
|
+
- lib/facter/resolvers/macosx/system_memory.rb
|
890
|
+
- lib/facter/resolvers/macosx/system_profiler.rb
|
891
|
+
- lib/facter/resolvers/memory.rb
|
892
|
+
- lib/facter/resolvers/mountpoints.rb
|
893
|
+
- lib/facter/resolvers/networking.rb
|
894
|
+
- lib/facter/resolvers/networking_linux.rb
|
920
895
|
- lib/facter/resolvers/open_vz.rb
|
921
|
-
- lib/facter/resolvers/
|
896
|
+
- lib/facter/resolvers/os_release.rb
|
922
897
|
- lib/facter/resolvers/partitions.rb
|
923
|
-
- lib/facter/resolvers/
|
924
|
-
- lib/facter/resolvers/
|
925
|
-
- lib/facter/resolvers/
|
926
|
-
- lib/facter/resolvers/
|
927
|
-
- lib/facter/resolvers/
|
928
|
-
- lib/facter/resolvers/selinux_resolver.rb
|
898
|
+
- lib/facter/resolvers/path.rb
|
899
|
+
- lib/facter/resolvers/processors.rb
|
900
|
+
- lib/facter/resolvers/redhat_release.rb
|
901
|
+
- lib/facter/resolvers/ruby.rb
|
902
|
+
- lib/facter/resolvers/selinux.rb
|
929
903
|
- lib/facter/resolvers/solaris/disks.rb
|
930
904
|
- lib/facter/resolvers/solaris/dmi.rb
|
931
905
|
- lib/facter/resolvers/solaris/dmi_sparc.rb
|
@@ -942,25 +916,17 @@ files:
|
|
942
916
|
- lib/facter/resolvers/solaris/processors.rb
|
943
917
|
- lib/facter/resolvers/solaris/zone.rb
|
944
918
|
- lib/facter/resolvers/solaris/zone_name.rb
|
945
|
-
- lib/facter/resolvers/
|
946
|
-
- lib/facter/resolvers/
|
947
|
-
- lib/facter/resolvers/
|
948
|
-
- lib/facter/resolvers/
|
949
|
-
- lib/facter/resolvers/
|
950
|
-
- lib/facter/resolvers/
|
951
|
-
- lib/facter/resolvers/utils/ffi/load_averages.rb
|
952
|
-
- lib/facter/resolvers/utils/filesystem_helper.rb
|
953
|
-
- lib/facter/resolvers/utils/fingerprint.rb
|
954
|
-
- lib/facter/resolvers/utils/http.rb
|
955
|
-
- lib/facter/resolvers/utils/networking.rb
|
956
|
-
- lib/facter/resolvers/utils/ssh.rb
|
957
|
-
- lib/facter/resolvers/utils/ssh_helper.rb
|
958
|
-
- lib/facter/resolvers/utils/uptime_helper.rb
|
919
|
+
- lib/facter/resolvers/ssh.rb
|
920
|
+
- lib/facter/resolvers/suse_release.rb
|
921
|
+
- lib/facter/resolvers/sw_vers.rb
|
922
|
+
- lib/facter/resolvers/timezone.rb
|
923
|
+
- lib/facter/resolvers/uname.rb
|
924
|
+
- lib/facter/resolvers/uptime.rb
|
959
925
|
- lib/facter/resolvers/virt_what.rb
|
960
926
|
- lib/facter/resolvers/vmware.rb
|
961
927
|
- lib/facter/resolvers/windows/aio_agent_version.rb
|
962
|
-
- lib/facter/resolvers/windows/
|
963
|
-
- lib/facter/resolvers/windows/
|
928
|
+
- lib/facter/resolvers/windows/dmi_bios.rb
|
929
|
+
- lib/facter/resolvers/windows/dmi_computersystem.rb
|
964
930
|
- lib/facter/resolvers/windows/ffi/ffi.rb
|
965
931
|
- lib/facter/resolvers/windows/ffi/hardware_ffi.rb
|
966
932
|
- lib/facter/resolvers/windows/ffi/identity_ffi.rb
|
@@ -973,31 +939,52 @@ files:
|
|
973
939
|
- lib/facter/resolvers/windows/ffi/performance_information.rb
|
974
940
|
- lib/facter/resolvers/windows/ffi/system32_ffi.rb
|
975
941
|
- lib/facter/resolvers/windows/ffi/system_info.rb
|
976
|
-
- lib/facter/resolvers/windows/
|
977
|
-
- lib/facter/resolvers/windows/
|
978
|
-
- lib/facter/resolvers/windows/
|
979
|
-
- lib/facter/resolvers/windows/
|
980
|
-
- lib/facter/resolvers/windows/
|
981
|
-
- lib/facter/resolvers/windows/
|
982
|
-
- lib/facter/resolvers/windows/
|
983
|
-
- lib/facter/resolvers/windows/
|
984
|
-
- lib/facter/resolvers/windows/
|
942
|
+
- lib/facter/resolvers/windows/fips.rb
|
943
|
+
- lib/facter/resolvers/windows/hardware_architecture.rb
|
944
|
+
- lib/facter/resolvers/windows/identity.rb
|
945
|
+
- lib/facter/resolvers/windows/kernel.rb
|
946
|
+
- lib/facter/resolvers/windows/memory.rb
|
947
|
+
- lib/facter/resolvers/windows/netkvm.rb
|
948
|
+
- lib/facter/resolvers/windows/networking.rb
|
949
|
+
- lib/facter/resolvers/windows/processors.rb
|
950
|
+
- lib/facter/resolvers/windows/product_release.rb
|
985
951
|
- lib/facter/resolvers/windows/ssh.rb
|
986
|
-
- lib/facter/resolvers/windows/
|
987
|
-
- lib/facter/resolvers/windows/
|
988
|
-
- lib/facter/resolvers/windows/
|
989
|
-
- lib/facter/resolvers/windows/
|
990
|
-
- lib/facter/resolvers/
|
991
|
-
- lib/facter/resolvers/wpar_resolver.rb
|
952
|
+
- lib/facter/resolvers/windows/system32.rb
|
953
|
+
- lib/facter/resolvers/windows/uptime.rb
|
954
|
+
- lib/facter/resolvers/windows/virtualization.rb
|
955
|
+
- lib/facter/resolvers/windows/win_os_description.rb
|
956
|
+
- lib/facter/resolvers/wpar.rb
|
992
957
|
- lib/facter/resolvers/xen.rb
|
993
958
|
- lib/facter/resolvers/zfs.rb
|
994
959
|
- lib/facter/resolvers/zpool.rb
|
995
960
|
- lib/facter/templates/man.erb
|
961
|
+
- lib/facter/util/aix/info_extractor.rb
|
962
|
+
- lib/facter/util/aix/odm_query.rb
|
996
963
|
- lib/facter/util/api_debugger.rb
|
964
|
+
- lib/facter/util/facts/facts_utils.rb
|
965
|
+
- lib/facter/util/facts/unit_converter.rb
|
966
|
+
- lib/facter/util/facts/uptime_parser.rb
|
967
|
+
- lib/facter/util/facts/virtual_detector.rb
|
968
|
+
- lib/facter/util/facts/windows_release_finder.rb
|
997
969
|
- lib/facter/util/file_helper.rb
|
970
|
+
- lib/facter/util/macosx/system_profile_executor.rb
|
971
|
+
- lib/facter/util/resolvers/aws_token.rb
|
972
|
+
- lib/facter/util/resolvers/ffi/load_averages.rb
|
973
|
+
- lib/facter/util/resolvers/filesystem_helper.rb
|
974
|
+
- lib/facter/util/resolvers/fingerprint.rb
|
975
|
+
- lib/facter/util/resolvers/http.rb
|
976
|
+
- lib/facter/util/resolvers/networking/dhcp.rb
|
977
|
+
- lib/facter/util/resolvers/networking/networking.rb
|
978
|
+
- lib/facter/util/resolvers/networking/primary_interface.rb
|
979
|
+
- lib/facter/util/resolvers/ssh.rb
|
980
|
+
- lib/facter/util/resolvers/ssh_helper.rb
|
981
|
+
- lib/facter/util/resolvers/uptime_helper.rb
|
982
|
+
- lib/facter/util/utils.rb
|
983
|
+
- lib/facter/util/windows/win32ole.rb
|
998
984
|
- lib/facter/version.rb
|
999
985
|
homepage:
|
1000
|
-
licenses:
|
986
|
+
licenses:
|
987
|
+
- MIT
|
1001
988
|
metadata: {}
|
1002
989
|
post_install_message:
|
1003
990
|
rdoc_options: []
|