I find myself needing to manage a file that has content that to Puppet looks like a checksum. It isn't, but because Puppet sees any file content line beginning with "{", 3 to 5 characters, "}", as a checksum, it doesn't accept the content but instead tries to find the file in a filebucket...
I actually need to store "{CRYPT}$..." which isn't one of Puppet's recognised types.
It seems there's no way to work around this in pure Puppet code, so I can't manage those files without doing something hackish, like putting a modified form of the content in a file alongside then having a script on the machine that puts it in the correct place without the modifications, but the issue for removing this behaviour was last updated in 2018:
It says it will now target Puppet 7, which came and went some time ago. Does anyone know if there will be a new target for this?
Thanks,
Iain Hallam.