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

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.0.0
    • Types and Providers
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support