X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Flib%2Fpuppet%2Fparser%2Ffunctions%2Ftype.rb;h=6b0140827928a976be0491ad8c949a918a65b762;hb=30caaa85aed7015ca0d77216bff175eebd917eb7;hp=9fcae7a897fd1cc702c6f9dc7357b8b7a5616079;hpb=131e09855e065be940e104d9ab0f18940cc76257;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/stdlib/lib/puppet/parser/functions/type.rb b/3rdparty/modules/stdlib/lib/puppet/parser/functions/type.rb index 9fcae7a89..6b0140827 100644 --- a/3rdparty/modules/stdlib/lib/puppet/parser/functions/type.rb +++ b/3rdparty/modules/stdlib/lib/puppet/parser/functions/type.rb @@ -3,7 +3,18 @@ # module Puppet::Parser::Functions newfunction(:type, :type => :rvalue, :doc => <<-DOC - 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. + @summary + **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. + + @return the type when passed a value. Type can be one of: + + * string + * array + * hash + * float + * integer + * boolean DOC ) do |args|