- newfunction(:str2saltedsha512, :type => :rvalue, :doc => <<-EOS
-This converts a string to a salted-SHA512 password hash (which is used for
-OS X versions >= 10.7). Given any simple string, you will get a hex version
-of a salted-SHA512 password hash that can be inserted into your Puppet
-manifests as a valid password attribute.
- EOS
- ) do |arguments|
+ newfunction(:str2saltedsha512, :type => :rvalue, :doc => <<-DOC
+ @summary
+ This converts a string to a salted-SHA512 password hash (which is used for
+ OS X versions >= 10.7).
+
+ @return
+ converted string as a hex version of a salted-SHA512 password hash
+
+ Given any simple string, you will get a hex version
+ of a salted-SHA512 password hash that can be inserted into your Puppet
+ manifests as a valid password attribute.
+ DOC
+ ) do |arguments|