lib/custom_facts/util/fact.rb in facter-4.0.13 vs lib/custom_facts/util/fact.rb in facter-4.0.14
- old
+ new
@@ -4,11 +4,11 @@
# {Facter::Util::Resolution resolutions}.
#
# Create facts using {Facter.add}
#
# @api public
-module LegacyFacter
+module Facter
module Util
class Fact
# The name of the fact
# @return [String]
attr_reader :name
@@ -199,10 +199,10 @@
else
case resolution_type
when :simple
resolve = Facter::Util::Resolution.new(resolution_name, self)
when :aggregate
- resolve = LegacyFacter::Core::Aggregate.new(resolution_name, self)
+ resolve = Facter::Core::Aggregate.new(resolution_name, self)
else
raise ArgumentError,
"Expected resolution type to be one of (:simple, :aggregate) but was #{resolution_type}"
end