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

Fix puppet apply writing source to file when using non-md5 checksum type

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • 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

      puppet apply with

      file { "/stuff.txt":
        ensure => file,
        purge => true,
        checksum => sha256,
        source => "/foo.txt",
      }
      

      always updates with the notice
      Notice: /Stage[main]/Main/File[/stuff.txt]/content: content changed '

      {sha256}

      36a34910c3f1f68c7fb53a8196c58de86d665c7b84d23a5b3052bca89bc28b1b' to '

      {md5}

      fe2df48f1f99a235ee97f2a5e0c3a464'

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support