summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-10-28 14:48:11 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-10-28 14:49:02 +1100
commit6ab4f1b0e2a3f5881d865ca181c053c64d5026a7 (patch)
tree9cfbf9fe84330f5900a4716f8c9390675bd2a066
parent2459106673f992df7f00be4d9f56957f4b6ba9e0 (diff)
downloadpuppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.tar.gz
puppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.tar.xz
puppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.zip
Fixed #1661 - Type reference: tidy should specify manditory parameters
-rw-r--r--CHANGELOG2
-rwxr-xr-xlib/puppet/type/tidy.rb5
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3b496c5d8..accacc9e1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
0.24.x
+ Fixed #1661 - Type reference: tidy should specify manditory parameters
+
Fixed #1104 - Classes and nodes should set $name variables
Updated Red Hat spec file for 0.24.6
diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb
index fe8bde9ab..7a464323f 100755
--- a/lib/puppet/type/tidy.rb
+++ b/lib/puppet/type/tidy.rb
@@ -2,7 +2,10 @@ module Puppet
newtype(:tidy, :parent => Puppet.type(:file)) do
@doc = "Remove unwanted files based on specific criteria. Multiple
criteria are OR'd together, so a file that is too large but is not
- old enough will still get tidied."
+ old enough will still get tidied.
+
+ You must specify either the size or age of the file (or both) for
+ files to be tidied."
newparam(:path) do
desc "The path to the file or directory to manage. Must be fully