facter 4.0.13 → 4.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +322 -38
- data/VERSION +1 -1
- data/lib/custom_facts/core/aggregate.rb +2 -2
- data/lib/custom_facts/core/execution.rb +2 -2
- data/lib/custom_facts/core/execution/base.rb +27 -13
- data/lib/custom_facts/core/execution/posix.rb +2 -2
- data/lib/custom_facts/core/execution/windows.rb +9 -2
- data/lib/custom_facts/core/legacy_facter.rb +3 -3
- data/lib/custom_facts/util/collection.rb +3 -3
- data/lib/custom_facts/util/fact.rb +2 -2
- data/lib/custom_facts/util/resolution.rb +2 -2
- data/lib/facter.rb +9 -6
- data/lib/facts/aix/mountpoints.rb +15 -0
- data/lib/facts/debian/os/distro/release.rb +17 -8
- data/lib/facts/debian/os/name.rb +1 -1
- data/lib/facts/debian/os/release.rb +14 -2
- data/lib/facts/debian/partitions.rb +26 -0
- data/lib/facts/el/partitions.rb +26 -0
- data/lib/facts/sles/partitions.rb +26 -0
- data/lib/facts/solaris/solaris_zones/zone.rb +2 -0
- data/lib/framework/core/fact_loaders/internal_fact_loader.rb +11 -7
- data/lib/framework/core/{cache_manager.rb → session_cache.rb} +1 -1
- data/lib/framework/detector/os_detector.rb +2 -0
- data/lib/framework/logging/logger.rb +1 -10
- data/lib/resolvers/aix/mountpoints.rb +69 -0
- data/lib/resolvers/base_resolver.rb +1 -1
- data/lib/resolvers/{debian_version_resolver.rb → debian_version.rb} +4 -6
- data/lib/resolvers/partitions.rb +101 -0
- data/lib/resolvers/solaris/solaris_zone_name.rb +2 -0
- data/lib/resolvers/solaris/zone_resolver.rb +2 -0
- data/lib/util/api_debugger.rb +43 -0
- metadata +11 -5
- data/lib/util/fact.rb +0 -14
data/lib/util/fact.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# This class represents a fact. Each fact has a name and multiple
|
4
|
-
# {Facter::Util::Resolution resolutions}.
|
5
|
-
#
|
6
|
-
# Create facts using {Facter.add}
|
7
|
-
#
|
8
|
-
# @api public
|
9
|
-
module Facter
|
10
|
-
module Util
|
11
|
-
class Fact < LegacyFacter::Util::Fact
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|