The sweet spot for the Puppet File Server is somet...
# puppet
c
The sweet spot for the Puppet File Server is something like a
.pfx
or keytab. Small, binary, sensitive to the point where mTLS auth provides protection, and probably not too many per node. Beyond that, the File Server really wasn't designed to handle large files (the entirety of file content is read into RAM and then sent to the socket) or large numbers of files (creating one
file
resource per entry in a deep directory tree is a horrific amount of overhead). Even if content is not requested, each metadata request results in a re-read of the file and re-computation of checksums because there's no caching. Using modification time as the "checksum" helps a bit by reducing that to just a
stat()
call, and the
-lite
versions of hash algorithms only read the first few blocks of the file.