summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-02-01 14:40:21 -0800
committerJacob Helwig <jacob@puppetlabs.com>2011-02-01 14:40:21 -0800
commit3398139f29d26c337476ee36c63d07080c442058 (patch)
tree530690ff04ef8a9d199784ea2534b6872c1e0acb
parent6c93eb2c142e346077c49ef78a5fcf675eeb2698 (diff)
downloadpuppet-3398139f29d26c337476ee36c63d07080c442058.tar.gz
puppet-3398139f29d26c337476ee36c63d07080c442058.tar.xz
puppet-3398139f29d26c337476ee36c63d07080c442058.zip
Remove invalid "timestamp" and "time", and add missing "ctime" File checksum types.
'timestamp', and 'time' have been invalid since well before 2.6.0, so do not add them to the list of valid checksum types. 'ctime' was missing from the list of valid checksum types, so add it. Paired-with: Jesse Wolfe <jesse@puppetlabs.com>
-rwxr-xr-xlib/puppet/type/file/checksum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/file/checksum.rb b/lib/puppet/type/file/checksum.rb
index 732460738..5586b1383 100755
--- a/lib/puppet/type/file/checksum.rb
+++ b/lib/puppet/type/file/checksum.rb
@@ -9,7 +9,7 @@ Puppet::Type.type(:file).newparam(:checksum) do
The default checksum parameter, if checksums are enabled, is md5."
- newvalues "md5", "md5lite", "timestamp", "mtime", "time", "none"
+ newvalues "md5", "md5lite", "mtime", "ctime", "none"
defaultto :md5