Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9140

File resource checksum => mtime fails with empty mtime

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • PUP 5.3.7
    • None
    • None
    • This server is a CentOS 7.4.1708 machine running Puppet Server 5.3.7 with Ruby 2.4.4.

      The client is Puppet 5.5.2.

    • Needs Assessment

    Description

      In order to improve performance for large binary files I have been using File resources with the checksum type set to 'mtime' for a while and I was satisfied with it . But apparently, this does not always work. On a different system, I keep getting :

      Error: File written to disk did not match checksum; discarding changes ({mtime} vs {mtime}Thu Sep 13 16:19:24 -0400 2018)
      

      As if the mtime on the server could not be compute.

      This seemed like a bug.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Francozen Francois Isabelle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support