vendored/puppet/lib/puppet/pops/loader/loader_paths.rb in bolt-0.23.0 vs vendored/puppet/lib/puppet/pops/loader/loader_paths.rb in bolt-0.24.0
- old
+ new
@@ -23,10 +23,12 @@
result << FunctionPath4x.new(loader)
end
if loader.loadables.include?(:func_4xpp)
result << FunctionPathPP.new(loader)
end
- # When wanted also add FunctionPath3x to load 3x functions
+ if loader.loadables.include?(:func_3x)
+ result << FunctionPath3x.new(loader)
+ end
when :plan
result << PlanPathPP.new(loader)
when :task
result << TaskPath.new(loader) if Puppet[:tasks] && loader.loadables.include?(:task)
when :type