- newfunction(:parsejson, :type => :rvalue, :doc => <<-EOS
-This function accepts JSON as a string and converts it into the correct
-Puppet structure.
+ newfunction(:parsejson, :type => :rvalue, :doc => <<-DOC
+ @summary
+ This function accepts JSON as a string and converts it into the correct
+ Puppet structure.
+
+ @return
+ convert JSON into Puppet structure