Are you working with binary content or a regular s...
# puppet
a
Are you working with binary content or a regular string? That example looks to be for encoding binary content, but
base64()
should work fine for a string.