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...

https://github.com/puppetlabs/puppet/blob/2f14ddd269c26cba36771d9b3464c2c29422e46a/lib/puppet/type/file/content.rb#L49

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:

https://tickets.puppetlabs.com/browse/PUP-1043

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.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/72752c00-68db-4db2-98ff-b2d42ddeadedn%40googlegroups.com.

Reply via email to