+ Note: Since Puppet 4.8.0, the Binary data type can be used to produce base 64 encoded strings.
+ See the `new()` function for the Binary and String types for documentation. Also see `binary_file()`
+ function for reading a file with binary (non UTF-8) content.
+
+ # encode a string as if it was binary
+ $encodestring = String(Binary('thestring', '%s'))
+ # decode a Binary assuming it is an UTF-8 String
+ $decodestring = String(Binary("dGhlc3RyaW5n"), "%s")
+
+ DOC