diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-10-28 14:48:11 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-10-28 14:49:02 +1100 |
commit | 6ab4f1b0e2a3f5881d865ca181c053c64d5026a7 (patch) | |
tree | 9cfbf9fe84330f5900a4716f8c9390675bd2a066 | |
parent | 2459106673f992df7f00be4d9f56957f4b6ba9e0 (diff) | |
download | puppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.tar.gz puppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.tar.xz puppet-6ab4f1b0e2a3f5881d865ca181c053c64d5026a7.zip |
Fixed #1661 - Type reference: tidy should specify manditory parameters
-rw-r--r-- | CHANGELOG | 2 | ||||
-rwxr-xr-x | lib/puppet/type/tidy.rb | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -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 |