Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1208 md5lite, mtime not honoured for file type/provider
  3. PUP-3898

Fix writing content to file with non-md5 checksum type

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Template:
    • Sprint:
      Platform Client 2015-01-07, Platform Client 2015-01-21, Client 2015-02-04, Client 2015-02-18

      Description

      Simple example for writing content

      file { "/tmp/foo.txt":
        ensure   => file,
        checksum => md5lite,
        content  => "xxxxxxxxxxxxx",
      }
      

      always compared the file "/tmp/foo.txt" using md5lite and the content using md5.

      This problem is exposed using both puppet apply and puppet agent.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            michael.smith Michael Smith
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support