4 module Puppet::Parser::Functions
5 newfunction(:type, :type => :rvalue, :doc => <<-DOC
6 DEPRECATED: This function will cease to function on Puppet 4; please use type3x() before upgrading to Puppet 4 for backwards-compatibility, or migrate to the new parser's typing system.
10 warning("type() DEPRECATED: This function will cease to function on Puppet 4; please use type3x() before upgrading to puppet 4 for backwards-compatibility, or migrate to the new parser's typing system.") # rubocop:disable Metrics/LineLength : Cannot reduce line length
11 unless Puppet::Parser::Functions.autoloader.loaded?(:type3x)
12 Puppet::Parser::Functions.autoloader.load(:type3x)
18 # vim: set ts=2 sw=2 et :