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