vendored/puppet/lib/hiera/puppet_function.rb in bolt-0.20.3 vs vendored/puppet/lib/hiera/puppet_function.rb in bolt-0.20.5
- old
+ new
@@ -60,10 +60,10 @@
def lookup(scope, key, default, has_default, override, &default_block)
unless Puppet[:strict] == :off
#TRANSLATORS 'lookup' is a puppet function and should not be translated
message = _("The function '%{class_name}' is deprecated in favor of using 'lookup'.") % { class_name: self.class.name }
- message += ' '+ _("See https://docs.puppet.com/puppet/%{minor_version}/reference/deprecated_language.html") %
+ message += ' '+ _("See https://puppet.com/docs/puppet/%{minor_version}/deprecated_language.html") %
{ minor_version: Puppet.minor_version }
Puppet.warn_once('deprecations', self.class.name, message)
end
lookup_invocation = Puppet::Pops::Lookup::Invocation.new(scope, {}, {})
adapter = lookup_invocation.lookup_adapter