HomePhorge

(#5566) Treat source only File checksums as syntax errors when used with content
76788f80aab1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5566) Treat source only File checksums as syntax errors when used with content

Certain checksum types (ctime, mtime) only make sense when used with the
'source' File parameter, since there is no way to check them on raw
strings.

Given the limitations of the current checksumming implementations, it is
likely to introduce unexpected behavior when using the 'none' checksum
type and either one of the 'source', and 'content' File parameters.
Because of this, it is now a syntax error to use a checksum of 'none' with
either parameter.

Paired-with: Jesse Wolfe <jesse@puppetlabs.com>

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd6572921832c: Rename variable used in File type validation to be more clear
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU76788f80aab1: (#5566) Treat source only File checksums as syntax errors when used with content (authored by Jacob Helwig <jacob@puppetlabs.com>).Feb 1 2011, 11:57 PM