Uploaded image for project: 'Puppet Strings'
  1. Puppet Strings
  2. PDOC-305

Puppet docs for the file type are missing available checksum choices

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Needs Assessment
    • Needs Assessment

    Description

      The docs page for the file type lists the following allowed values for the checksum parameter:

      Allowed values:

      • Puppet::Util::Checksums.known_checksum_types

      https://puppet.com/docs/puppet/6/types/file.html#file-attribute-checksum
      https://puppet.com/docs/puppet/7/types/file.html#file-attribute-checksum

      Selecting the right checksum has a huge impact on the performance of file server operations and can be the difference between a Puppet Server handling agent load or getting pounded into dust by file metadata requests.

      Because of the extreme effect on performance, we must enumerate the available values in the docs:

      • sha256
      • sha256lite
      • md5
      • md5lite
      • sha1
      • sha1lite
      • sha512
      • sha384
      • sha224
      • mtime
      • ctime
      • none

      Attachments

        Activity

          People

            Unassigned Unassigned
            chuck Charlie Sharpsteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Zendesk Support