summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/checksums.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix #2929 - Allow checksum to be "none"Brice Figureau2010-02-171-0/+5
| | | | | | | | | | | | | | | | File checksum is "md5" by default. When managing local files (not sourced or content) it might be desirable to not checksum files, especially when managing deep hierarchies containing many files. This patch allows to write such manifests: file { "/path/to/deep/hierarchy": owner => brice, recurse => true, checksum => none } Then puppet(d) won't checksum those files, just manage their ownership. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixing #2183 - checksum buffer size is now 4096bLuke Kanies2009-04-241-1/+2
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding a method to Checksums to extract the sum typeLuke Kanies2008-11-051-0/+9
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Quashed commit of my fixes for #1010.Luke Kanies2008-02-211-1/+1
|
* Refactoring the incremental checksum generationLuke Kanies2008-02-141-11/+12
| | | | slightly based on the code in type/file/checksum.rb.
* Enhancing the stand-alone checksums utility moduleLuke Kanies2008-02-141-10/+47
| | | | | | with the rest of the checksums we're likely to use, and adding tests, which I somehow missed when I wrote this file.
* Adding the first pass at modifying file servingLuke Kanies2007-10-171-0/+37
to work with indirection. I've split the fileserver handler into four pieces: Mount (which so far I've just copied wholesale), Configuration (responsible for reading the configuration file and determining what's allowed), Metadata (retrieves information about the files), and Content (retrieves the actual file content). I haven't added the indirection tests yet, and the configuration tests are still all stubs.