summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-03-09 14:46:46 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-03-09 14:46:46 +1100
commit84d6637cfc47a14114493254ec8e68f2887a93d8 (patch)
treee6dcabbcd718b58139edbca5a43434b002cdd02d /lib/puppet
parenta3bb201bd4c964ab4f68e00895b692d9d9585407 (diff)
downloadpuppet-84d6637cfc47a14114493254ec8e68f2887a93d8.tar.gz
puppet-84d6637cfc47a14114493254ec8e68f2887a93d8.tar.xz
puppet-84d6637cfc47a14114493254ec8e68f2887a93d8.zip
Fixed #2000 - No default specified for checksum
Diffstat (limited to 'lib/puppet')
-rwxr-xr-xlib/puppet/type/file/checksum.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/puppet/type/file/checksum.rb b/lib/puppet/type/file/checksum.rb
index f681a8ebe..095c62f37 100755
--- a/lib/puppet/type/file/checksum.rb
+++ b/lib/puppet/type/file/checksum.rb
@@ -11,7 +11,13 @@ Puppet::Type.type(:file).newproperty(:checksum) do
like Tripwire without managing the file contents in any way. You can
specify that a file's checksum should be monitored and then subscribe to
the file from another object and receive events to signify
- checksum changes, for instance."
+ checksum changes, for instance.
+
+ There are a number of checksum types available including MD5 hashing (and
+ an md5lite variation that only hashes the first 500 characters of the
+ file.
+
+ The default checksum parameter, if checksums are enabled, is md5."
@event = :file_changed