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

File resource checksum => mtime fails with empty mtime

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 5.3.7
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      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.

    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      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

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                Francozen Francois Isabelle
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: